# OKX

{% embed url="<https://youtu.be/msuJhSRgiX8>" %}
Configuring the OKX connection
{% endembed %}

1\. Register on the [OKX](https://www.okx.com/ru) website (if you have not already done so) and log in to your account.

2\. Activate Google two-factor authentication in the **Security** section. Then go to the **API** section and click **Create key**.

<figure><img src="https://s3-eu-central-1.amazonaws.com/euc-cdn.freshdesk.com/data/helpdesk/attachments/production/80138226467/original/TSiu5TVA7xQz-tqLihpdqbuRPrY9pzLmBA.png?1662653055" alt=""><figcaption></figcaption></figure>

3\. Fill out the fields andput a check mark in Withdrawal and Trading. Click **Confirm**.&#x20;

<figure><img src="https://s3-eu-central-1.amazonaws.com/euc-cdn.freshdesk.com/data/helpdesk/attachments/production/80138226587/original/kQnHpQG9VutHQS_tpmGsu58jjYOu43K5iw.png?1662653083" alt=""><figcaption></figcaption></figure>

4\. The page that opens will display the API keys. Save them.&#x20;

5\. Launch Tiger.com and select **File → Connections → Configure** from the main menu.

6\. In the window that opens, click **+ Create new connection** and select OKX in the list that appears.

7\. Then, in the window that opens, enter the API keys and the passphrase that you obtained on the OKX website:

<figure><img src="/files/eneF4UW4GbsWtEjHOOYa" alt=""><figcaption></figcaption></figure>

8. In the drop-down list, select the margin mode (**Cross** and **Isolated** margin modes are supported):<br>

   <figure><img src="/files/Ht9jI9NBKEvcFoRiizfj" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
There is an opportunity to create several connections with different margin modes
{% endhint %}

The connection has been set up. To set up a connection, select **File → Connections → OKX** in the main Tiger.com menu.


---

# 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://support.tiger.com/english/settings/connections/crypto-exchanges/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.
