# API Key

### Profile Menu > Account Settings > API Key

<figure><img src="/files/qg7kfaVOjlBUDmEFnsk4" alt="" width="302"><figcaption><p>Go to API Key in Account Settings</p></figcaption></figure>

### Confirm Environment

Before creating a new API Key, ensure the desired environment is selected in the header.

<figure><img src="/files/jhv5HglLEG1EhwYxjASK" alt=""><figcaption><p>Live/Test environment switch in header.</p></figcaption></figure>

### Create New API Key

Create New API Key to open the API modal.

<figure><img src="/files/AMn5L8OXpfk2mM7WbTr8" alt=""><figcaption><p>API Keys list</p></figcaption></figure>

### Name the New API Key

<figure><img src="/files/KXP8Fb4FA0C6UxcD7Phz" alt="" width="563"><figcaption><p>Create New API Key modal.</p></figcaption></figure>

### Create API Key

<figure><img src="/files/J7NdFCdhjO3jQBCJhUuq" alt="" width="563"><figcaption></figcaption></figure>

### Copy Secret Key

{% hint style="info" %}
Once the Secret Key is revealed, the only opportunity to copy it is now. ChangeUp will not save the Secret Key and it cannot be retrieved. Copy and store in a secure location. The Client ID will always be available on the API Keys page.
{% endhint %}

<figure><img src="/files/wsmSQmioAoCXsYFGZVDf" alt="" width="563"><figcaption><p>Copy the Secret Key.</p></figcaption></figure>

The new API Key is now ready for use:

<figure><img src="/files/446g6BVFqkm5huhlbmAC" alt=""><figcaption><p>New API Key present in API Keys list.</p></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.changeup.com/app/account-settings/api-key.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
