> For the complete documentation index, see [llms.txt](https://docs.thirddimension.exchange/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thirddimension.exchange/connections/connection-to-okx.md).

# Connection to OKX

In this guide, we will cover all the steps required to create a trading account on OKX and connect to the 3rd Dimension platform.

1- [How to Create an account on OKX exchange](#how-to-create-an-account-on-okx-exchange)\
2- [How to Create an API ](#how-to-create-an-api)\
3- [How to connect to 3rd Dimension ](#how-to-connect-to-3rd-dimension)

## How to Create an account on OKX exchange

Go to the [OKX ](https://okx.com/join/10584641)homepage and click on the [**Sign up**](https://okx.com/join/10584641) button located at the top right corner .

<figure><img src="/files/oqwVhZLJKSDkCBXwbl0F" alt=""><figcaption><p>OKX Home Page</p></figcaption></figure>

Enter your email address in the **Email** field and click on the **Sign up**.

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

* Check your email for the six-digit registration verification code that OKX sent you and enter it in the **Enter code** field within 10 .

<figure><img src="/files/4tVqgQYzvRnxMQ5yU2Cr" alt=""><figcaption></figcaption></figure>

* Enter the password you want to use for your account in the **Password** field and click on the **Next** button.

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

* You can now access your OKX account dashboard and choose to buy crypto with a card or deposit crypto from another platform or wallet.

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

That’s it! You have successfully created an account on OKX exchange.&#x20;

## How to Create an API

To generate an API key, please follow these steps:

1. Click **Manage** on the right of the project you wish to create an API key from.

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

2. Click **Create API key**.

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

3. Enter your **API key name** and **passphrase** for your new API key. Click **Create** to generate your API key.

<figure><img src="/files/6w9Wvk0cDhRytixxaTlZ" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
The passphrase will be needed to access the APIs. If the passphrase is lost, you will be unable to access the API key. Please write down and remember your passphrase.
{% endhint %}

Congrats! You have created an API key.

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

## How to connect to 3rd Dimension&#x20;

Note, that in the platform, you can connect to the exchange in two modes:

Info Mode — free and quick way to view charts and other data for cryptocurrencies on the OKX exchange without the need to enter keys

<figure><img src="/files/9FChENVE100Re4xoTfVQ" alt=""><figcaption></figcaption></figure>

Trading Mode — for trading on the OKX exchange in demo or real mode. API Keys are required. Below you will show how to get keys for trading.

<figure><img src="/files/bH42FaWOEfzGNIzAyfvP" alt="" width="524"><figcaption></figcaption></figure>

1- In this section we put the API key that we create before.\
2- In this section we put the security key .\
3- In this section we put the passphrase that we created it when we created the API.\
4- click connect to connect the API .

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