> For the complete documentation index, see [llms.txt](https://docs.tradetomato.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tradetomato.com/fundamentals/live-trading/bybit.md).

# Bybit

{% embed url="<https://www.youtube.com/watch?v=rQcGdZSAeWU>" fullWidth="true" %}

{% hint style="info" %}
For improved security and to maintain a clear distinction between your automated trading activities and other investments, we advise setting up a separate **sub-account** on Bybit dedicated to Tradetomato.
{% endhint %}

Unlock the power of automated trading on Bybit by establishing a live trading connection through the generation of essential API keys. Follow these steps to seamlessly integrate your Bybit account with Tradetomato's platform.

[**Navigate to Bybit**](https://www.bybit.com/en-US)

{% hint style="info" %}
*If you already have a Bybit account with funds on it* - skip to the API integration step.
{% endhint %}

* If you're new to Bybit, create an account or log in if you already have one.
* Craft a robust password for your trading account.
* Elevate security by activating 2-factor authentication.
* Verify your email and adhere to Bybit's identity verification protocols, enhancing overall security measures.

**API Key Creation**<br>

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

Within your Bybit account interface, locate the 'API Management' section to initiate API key creation.

Click 'Generate New Key' and opt for the 'System-Generated API Keys' option.

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

**Select Permissions**&#x20;

Provide a recognizable name to your API key, facilitating easy identification.

During API key generation, ensure that you select appropriate permissions. For live trading, you'll need to enable the following permissions:

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

**API Key Usage -** Tick off the following permissions:

* **API Key Permissions**
  * [x] Read-Write
  * [x] Only IPs with permissions granted are allowed to access the OpenAPI
* **Trade**
  * [x] Unified Trading
    * Spot
      * [x] Trade
* **Assets**
  * [x] Assets
    * Read-Write
      * [x] Convert, Exchange History

#### **Whitelist IP**

Strengthen security by whitelisting your IP address.

In the empty field under *API Key Permissions e*nter the IP addresses displayed to you on the Tradetomato platform, separating them with **commas**.

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

{% hint style="success" %}
Click ***Submit***
{% endhint %}

Proceed with a security verification, involving email verification and your 2FA code.

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

#### Generate Key

Once your API keys are generated, copy them. Return to Tradetomato's connection setup and paste the credentials into their respective fields.

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

#### Establish Connection

Congratulations! Your Bybit connection is now established. Explore your portfolio and begin automating your Bybit trades on the Tradetomato platform.
