# Creating API keys for Bybit

{% hint style="warning" %}
Before creating new API, please make sure that you have switched to Bybit in your Tiger.com Broker account:
{% endhint %}

<figure><img src="https://3857619824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fyw4jlbyXBiRSgCIsu0tg%2Fuploads%2FjeI7XwR8H9on0Nn4jE1m%2FScreen%20Shot%202024-12-06%20at%2012.34.23.png?alt=media&#x26;token=cf28b3d6-a0b2-497b-86b6-33053f997dbe" alt=""><figcaption><p>The selected exchange name will be displayed in the upper left corner of your Tiger.com Broker account</p></figcaption></figure>

1\) Click on the **Create API Key** button on [the main page of your personal account:](https://account.tiger.com/)

<figure><img src="https://3857619824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fyw4jlbyXBiRSgCIsu0tg%2Fuploads%2F6l7mCdMDxi8v4IyMnAyT%2FScreen%20Shot%202024-12-06%20at%2012.35.26.png?alt=media&#x26;token=3f9960f7-9976-4915-8a71-c7d6f2c20612" alt=""><figcaption><p>Creating API keys from the account main page</p></figcaption></figure>

Alternatively, you can go to the[ API page](https://account.tiger.trade/api?exchangeType=BINANCE_BROKER_FUTURE) and click on the **New API Key** button:

<figure><img src="https://3857619824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fyw4jlbyXBiRSgCIsu0tg%2Fuploads%2FMvAYq5WTeszsZVxjhVZz%2FScreen%20Shot%202024-12-06%20at%2012.39.26.png?alt=media&#x26;token=ef0d7b74-6727-4f05-965d-31159f41a446" alt=""><figcaption><p>Creating API keys from the API page</p></figcaption></figure>

2\) Specify the name of the key and select the necessary permissions:

<figure><img src="https://3857619824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fyw4jlbyXBiRSgCIsu0tg%2Fuploads%2FrNpntn4rtBuySlNRpZCF%2FScreen%20Shot%202024-12-06%20at%2012.20.47.png?alt=media&#x26;token=c68bc55f-389d-47f9-8e3a-709a78055119" alt="" width="375"><figcaption><p>Here you can name the API key and select the permissions for it</p></figcaption></figure>

**Read access** - a permission to receive information on open positions, orders and account balances. This option is enabled by default.

**Trade** - a permission to trade (place/cancel orders, open/close positions, etc.). This permission should be activated to be able to trade using the API key.

3\) Optionally, you can add your trusted IP addresses in the **IP addresses** field to create a whitelist. In that case, the access to exchange from the API key will be only available from the mentioned IP addresses; trading operations from other IP addresses will be rejected by the exchange.&#x20;

4\) Enter the 6-digit code from Google Authenticator app intended for Tiger.com Broker account (account.tiger.com) and click **Create API** to complete the action.

{% hint style="warning" %}
The secret key will only be shown once at the time the API key is generated. If you forget or lose the secret key, you will need to create a new API key.
{% endhint %}

5\) Copy the API key and Secret Key and keep them in a safe place, and click **Done**. After that, you will see the API Management page, which contains the information about the generated keys:

<figure><img src="https://3857619824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fyw4jlbyXBiRSgCIsu0tg%2Fuploads%2FcrSMqF9LlpKo4XP1bJy6%2Fimage.png?alt=media&#x26;token=e6496c33-1164-4896-a458-2bffd34f516d" alt=""><figcaption><p>Here you can see the key list and the corresponding permissions</p></figcaption></figure>

{% hint style="info" %}
Tiger.com Broker uses Unified Trading Account (UTA Pro) for Bybit. The created API keys can be used in [Tiger.com Window](https://www.tiger.com/terminal)s or in any other app that supports connecting to Bybit with a UTA account.
{% endhint %}

The keys will need to be inserted into the appropriate fields when setting up a connection to Bybit exchange. To establish a connection to Bybit within Tiger.com Windows app, [follow the instruction.](https://support.tiger.com/english/settings/connections/crypto-exchanges/bybit-via-tiger.trade-broker)

## Editing an API key

The previously created API key can be edited. The following actions can be applied:

* Change trading permissions (enable/disable trade access)
* Add or remove IP addresses from the whitelist.&#x20;
