> For the complete documentation index, see [llms.txt](https://hash7-gitbook.gitbook.io/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hash7-gitbook.gitbook.io/en/user-guide/1.3-api-binding-tutorial/1.3.3-bybit-api-binding-tutorial.md).

# 1.3.3 Bybit API Binding Tutorial

{% embed url="<https://www.youtube.com/watch?v=5b3cRYfAiVQ>" %}

For security reasons, the API key will be displayed only 1 time. After closing the window, the API will not be available. Make sure to save the key in a safe place.

<mark style="background-color:red;">**❗We strongly recommend switching to the Unified Trading Account (UTA), as the Standard account type stops supporting work through the API, which can affect the correct, stable operation of strategies and the frequency of errors in them❗**</mark>

<mark style="background-color:red;">**You can switch to the Unified Trading Account using the**</mark> [<mark style="background-color:red;">**this link.**</mark>](https://www.bybit.com/en/promo/events/unified-trading-account)

If you are already a registered user, then log in to your existing account on the exchange. If you don't have an account, you'll need to register first.

After successfully logging in or registering, you need to go to the search box at the very top of the app and type "API". The app will automatically bring up the section you need.

<div><figure><img src="/files/07W2f3qWWspXR1ioCj01" alt=""><figcaption></figcaption></figure> <figure><img src="/files/Y9L0eyv8Dg6yOwz6sUCp" alt="" width="375"><figcaption></figcaption></figure></div>

In the appeared page, click "Create an API Key", then swipe to the right and press "Create New Key".

<div><figure><img src="/files/lhLZ1YZNmcLvFxXec3wB" alt="" width="375"><figcaption></figcaption></figure> <figure><img src="/files/peGWVGwFIaSpV3q8jw5Y" alt="" width="375"><figcaption></figcaption></figure></div>

In the pop-up window choose "System-generated API Keys".

<figure><img src="/files/4eMpXtoBkG3K4BYIW8cm" alt="" width="375"><figcaption></figcaption></figure>

In the "Create New Key" window, follow these instructions:

1\) Select the ''API Transaction'' option;

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

3\) In "API Key Permissions" select the "Read-Write" and ''Only IPs with permissions granted are allowed to access the OpenAPI'' options;

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

Then, open the Hash7 app. In the upper left corner, click on ''Exchange''.

<figure><img src="/files/i8qNvB47XFex44Js1ZNk" alt="" width="375"><figcaption></figcaption></figure>

Choose Bybit exchange.&#x20;

<figure><img src="/files/Qch9S5vH1wIgkOq6STzh" alt="" width="375"><figcaption></figcaption></figure>

Copy the IP-addresses.

<figure><img src="/files/7Fvpz05VCbWvxTjRWRhR" alt="" width="375"><figcaption></figcaption></figure>

Return to the exchange app and paste the copied IP-addresses from the Hash7 app.

<figure><img src="/files/bFOgkWGf9FSp3BuRSvjl" alt="" width="375"><figcaption></figcaption></figure>

5\) In the settings below, select the ''Unified Trading'' section, which will automatically pull up the settings you need.

To conclude, press the ''Submit'' button;&#x20;

<figure><img src="/files/DwL1og7VKTj9QU1uMax3" alt="" width="375"><figcaption></figcaption></figure>

When you pass two-factor authentication from Google, in the appeared window copy the API key and the secret key to a safe place and click the "Understood" button.

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

Then reopen the Hash7 app and paste the copied keys into the appropriate fields. To complete the process, click on the "Done" button.

<figure><img src="/files/CzLFY6Tww2VV40lOv0P6" alt="" width="375"><figcaption></figcaption></figure>

❗️❗️**Please note that in order&#x20;**<mark style="color:purple;">**to provide an additional degree of security**</mark>**, after creating an API-key it is necessary to specify in the settings exactly those trading pairs on which trading will be performed❗️**❗️

👉 *Tutorial on how to add trading assets to whitelist is available* [*<mark style="color:purple;">**here.**</mark>*](/en/user-guide/1.3-api-binding-tutorial/1.3.3-bybit-api-binding-tutorial/bybit-whitelist-assets-adding.md)&#x20;
