# How to create and set up Bybit API key

Here, we show you how to generate and connect Bybit API key to the Doblox trading platform.

Doblox is a trading platform that allows you to trade and analyze in numerous cryptocurrency exchanges, monitor media and social media and use many other features in an all in one interface.

To do so, you should use an exchange API key. This is a safe and reliable way to use a trading platform because it does not give access to your confidential data as **Doblox** also **does not access any funds management (withdrawals & deposits).**

1. **API Key (Access Key):** This key authenticates users and specifies which account is connecting to the third-party service.
2. **Secret Key:** This key establishes an additional security layer by demanding a confidential token for request authentication.
3. **Passphrase:** Often generated by users, this passphrase acts as an extra security measure.
4. **IP Whitelist:** In late 2022, as a result of heightened security measures, exchanges started expiring API keys periodically. Consequently, platforms like Doblox now offer the ability to specify IP whitelist addresses, aiming to enhance security without burdening users with the need to frequently change API keys.

**Note:** You can connect several exchange accounts to your Doblox account to speed your trading and make it more sophisticated and smoother with less stress and exhaustion.

1. Login into your Bybit account.

{% hint style="info" %}
If you haven't created a Bybit account yet, you can start the process by following [this link](https://www.bybit.com/invite?ref=E1W1NW).
{% endhint %}

2. Click on profile (the dummy icon on the upper right-hand corner of the screen). When the drop-down menu is open, choose the “API” option.&#x20;

<figure><img src="/files/5ZGsnzu53MlhuRTB3Ewx" alt="Create Bybit API key " width="197"><figcaption></figcaption></figure>

3. On the newly opened page, click on the “Create New Key” button. In this step if you haven’t set the 2FA authentication so far, you should do it in this step.&#x20;

<figure><img src="/files/7thiy3XZ1gVDWvWOaOTx" alt=""><figcaption></figcaption></figure>

4. A new pane is open. Choose the “System-generated API Keys” option.

<figure><img src="/files/ubF5aKh3Qu1STF93a5KC" alt="" width="419"><figcaption></figcaption></figure>

5. Here choose the “Connect to Third-Party Applications” option and when the blank drop-down named “Application Name” appears, choose Doblox from it.&#x20;

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

6. Now you should edit your permissions. Choose the **“Read-write”** option and give permissions like the image below (pay attention that all the **“withdraw” and “transfer” permissions should be unchecked**). After turning on all the necessary options, click on the “Submit”.&#x20;

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

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

7. Do the verification process. The codes will be sent to your Email or/and 2FA authenticator might be needed. After filling the blanks, click on “Confirm”.

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

8. Your “Access API key” and "API Secret” are created. **Copy and record the keys** in a secure location to use them in further steps below (**We insist on recording them** somewhere else because the “Secret Key” might be shown just once and goes away as you close the pane or go to another page).  Fill in the "Name" blank and **Click on the “Understood”**.

<figure><img src="/files/3dif9Yby5HOSql5OJtnK" alt="Connect Bybit Secret key and API key" width="410"><figcaption></figcaption></figure>

9. Now go back to your account in Doblox and follow the instructions below.
10. When you enter your Doblox account, click on the profile (dummy icon) on the upper right-hand corner of the panel and choose the “Exchange Management” option.

<figure><img src="/files/jcSlARMiVCfrvq2U79lr" alt="Add Bitget API key to Doblox"><figcaption></figcaption></figure>

11. A pane is open, choose the “Exchanges/Wallets” tab.&#x20;
12. In this tab, click on the “+ Exchange” button on the right of the page.

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

13. Another pane is open which you should fill the fields with the information (Keys) you received from Bybit (You can fill the “Nickname” field with whatever name you like. Here we suggest filling it with “My Bybit”).

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

14. Choose Bybit from the first drop-down field (Exchange).

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

15. Fill the “API key” and “Secret key” Fields with the given keys that you took from Bybit.&#x20;

<mark style="color:red;">Important: You</mark> <mark style="color:red;"></mark><mark style="color:red;">**don't**</mark> <mark style="color:red;"></mark><mark style="color:red;">need to use the IP whitelisting code for Bybit.</mark>&#x20;

16. Now click on the “Add Exchange” button.&#x20;

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

17. Now your Bybit account is connected to Doblox and you can enjoy trading. Please check if the API is **synced** by going to \[profile > “Exchange Management'' > “Exchanges | Wallets'' tab].&#x20;

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

<mark style="color:red;">**Note:**</mark> <mark style="color:red;"></mark><mark style="color:red;">When generating the API keys, selecting Doblox as a “Third Party Application” automatically whitelists your API key by IP. Therefore, no additional steps are needed.</mark>


---

# 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://tutorial.doblox.com/how-to-create-and-set-up-bybit-api-key.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.
