> For the complete documentation index, see [llms.txt](https://docs.cdzv.com/code-zero-visual-trading_en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cdzv.com/code-zero-visual-trading_en/user-guide/how-to-create-api-keys-on-okx.md).

# How to create API keys on OKX

1. Go to the API key creation section: <https://www.okx.com/account/my-api><br>

2. Begin the key creation procedure.

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

3. Copy the list of IP addresses from the CDZV service user panel.

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

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

4. Enter the name of the key (any name).

   <figure><img src="/files/0wfBInwokXj1TTdSRZfl" alt=""><figcaption></figcaption></figure>

5. Select the key operation mode “API trding” and copy the IP addresses you copied from the CDZV service user panel.

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

6. Issue a trade authorization and enter a secret passphrase to further protect your API key (write it down). Your keys are ready to work!

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

7. Copy the Public and Secret keys, we will need them in CDZV.

   <figure><img src="/files/5o3XvpialQ7tidKl5Fd6" alt=""><figcaption><p><br></p></figcaption></figure>

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

8. Create a new connection to the exchange in the user panel of the CDZV service and enter the previously saved Public and Secret keys and API Password (Passphrase) in the user panel of the CDZV service. After clicking the “OK” button, the system will check the connection to the exchange and, if successful, create a connection.

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