# Creating API Key - OKX

* On the [OKX](https://www.okx.com/) exchange, go to the **API** section;
* Click **+ Create APIs**;
* In the **API name** field, enter a name for the API key;
* In the **IP address allowlist** field, you can specify your IP address (optional). If you specify your current IP, access to this API key will only be available from this IP. If your IP changes, the key will stop working until you edit it on the exchange and add the new IP address to the allowlist;
* In the **Permissions** field, select **Withdraw** and **Trade**;
* In the **Passphrase** field, enter the API key password. Be sure to write down this password;
* Click **Submit all**;
* Complete the necessary checks and enter the verification codes;
* After creating the key, in the modal window, click **Show info** and save the **API** and **Secret key**. You can also view the API key details by clicking **View** in the general list of all API keys;
* Enter the API key details into Combine.

<figure><img src="/files/YulqDLrLEpPvSR3SMinT" alt=""><figcaption><p>Creating an API Key on the OKX Exchange.</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://nfd-gg.gitbook.io/main/eng-combine-software/section-settings/adding-api-key-from-exchanges/creating-api-key-okx.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.
