> For the complete documentation index, see [llms.txt](https://mind-expression-docs.gitbook.io/home/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mind-expression-docs.gitbook.io/home/how-to-guides/manage-global-keys.md).

# Manage global keys

Keys are used in Subjects to hold a specific value for a Component or for webhook result mapping. A Subject can have local keys used only in the current Subject or keys used across the Scope shared with all other Subjects in the Scope, which are called global keys.\
\
You can add and manage global keys on the Scope details page. While local keys are available for both binding keys and webhook result mapping, global keys are only available for binding keys used in Component settings.

### How to add global keys

{% embed url="<https://mind-expression.s3.ap-northeast-2.amazonaws.com/dev/static/docs/media/how-to-guides/03-add_global_keys.mp4>" %}

1. In Scopes, select a Scope that you want to add a global key to.
2. Click **Global Keys.**
3. Enter global key names.
4. Click **Submit.**

### How to delete global keys

{% embed url="<https://mind-expression.s3.ap-northeast-2.amazonaws.com/dev/static/docs/media/how-to-guides/03-delete_global_keys.mp4>" %}

1. Open the more actions menu of the global key.
2. Click **Delete**.

### How to use global keys in Subject

As mentioned above, global keys are only available for binding keys of Components. To use a global binding key, choose the Global tab and select a key from the dropdown menu.

![](https://mind-expression.s3.ap-northeast-2.amazonaws.com/dev/static/docs/media/how-to-guides/03-binding_key.png)

### Key List

The key list shows the keys used in the current Subject. If there is a global key used in the Subject, it will also show in the list with the global key icon.\
\
To see where in the Subject the keys are used, click the key details button. Note that it shows where the keys are used in the current Subject for the global keys as well.

![](https://mind-expression.s3.ap-northeast-2.amazonaws.com/dev/static/docs/media/how-to-guides/03-key_list.png)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://mind-expression-docs.gitbook.io/home/how-to-guides/manage-global-keys.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
