# Як створити API-ключі на OKX

1. Перейдіть у розділ створення API-ключів: <https://www.okx.com/account/my-api><br>

2. Почніть процедуру створення ключів.

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

3. Скопіюйте список IP-адрес з панелі користувача сервісу CDZV.

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

   <br>

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

4. Задайте ім'я ключа (будь-яка назва).

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

5. Виберіть режим роботи ключа «API trding» і пропишіть IP адреси, які Ви скопіювали з панелі користувача сервісу CDZV.

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

6. Видайте дозвіл на торгівлю і введіть секретну фразу-пароль для додаткового захисту Вашого API-ключа (запишіть її). Ваші ключі готові до роботи!

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

7. Скопіюйте Public і Secret ключі, вони знадобляться нам у CDZV.

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

   <br>

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

8. Створіть нове з'єднання з біржею в панелі користувача сервісу CDZV і введіть раніше збережені Public і Secret ключі та API Password (Passphrase) в панелі користувача сервісу CDZV. Після натискання кнопки «OK» система перевірить підключення до біржі та, в разі успіху, створить з'єднання.

   <figure><img src="/files/7CMoynLWv0jPVyQecA9r" alt="" width="563"><figcaption></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://docs.cdzv.com/code-zero-visual-trading_ua/posibnik-koristuvacha/yak-stvoriti-api-klyuchi-na-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.
