> For the complete documentation index, see [llms.txt](https://docs.volven.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.volven.io/getting-started/how-to-add-your-api-key/how-to-create-okx-api-key.md).

# How to create OKX API Key

1. Go to the [OKX API Key Management](https://www.okx.com/account/my-api) page.
2. Click **"Create V5 API Key"**
3. Name the API Key. For example: **Volven API**
4. Enter your own passphrase, **and remember it!** It's needed for later.
5. Copy the below Volven IPs and paste into the **"IP address (optional)"** box

```
54.150.136.230,3.115.44.38,52.193.136.158,52.194.199.49
```

6. Check **"Read"** *(checked by default)*
7. Check **"Trade"**&#x20;

<figure><img src="/files/77Frql5YsRwtIeS6tngf" alt="Add API Key OKX"><figcaption></figcaption></figure>

8. Click **"Confirm"** and complete the Security Verification.&#x20;

Go to your [Volven account dashboard](https://volven.io/my-account/#exchange_links). Click **"Link Exchange"**, name your key (F.ex. "John Doe - OKX"), copy/paste the API Key & Secret Key, and type in your passphrase into OKX.

{% content-ref url="/pages/A1nlAJwOBsjLnyviRrYW" %}
[How to add your API Key](/getting-started/how-to-add-your-api-key.md)
{% endcontent-ref %}


---

# 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://docs.volven.io/getting-started/how-to-add-your-api-key/how-to-create-okx-api-key.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.
