# 2e - Connect to Bitget

{% hint style="success" %}
Ensure you have **read and understood** the required prerequisites before continuing.\
Please refer to **the "Must-knows" page** in the left menu.
{% endhint %}

Follow the steps below to configure a [**Bitget** ](https://partner.bitget.com/bg/KGBM20)**account** and enable **automated management** of your funds.

### Before proceeding, ensure that your SPOT wallet contains <mark style="background-color:green;">only USDT.</mark>

## 1. Main Account Synchronization

1. **Log in to your** [**Bitget**](https://partner.bitget.com/bg/KGBM20) **account.**
2. [Click here](https://www.bitget.com/account/newapi) to access the page for generating **new API keys**.
3. Next, click on the **Create API Key** button, followed by **System Generated API Key.**
4. In the **Note** section, label your key by naming it **CryptoTrader**, then add **CryptoTrader100** for the **Passphrase (API token)**. Keep **Read-Write** in the Permissions settings:

<figure><img src="https://139071599-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoLzoLpI4GbFaDN6waLrV%2Fuploads%2FMvvCHyfaVCiK6ZWcBAuZ%2FEN1.png?alt=media&#x26;token=3cffa619-c82f-47e3-89ac-98140beb3c66" alt=""><figcaption></figcaption></figure>

5. Check only the **Trade** box in the **Spot section**, as well as the **Transfer** box in the **Wallet section**:

<figure><img src="https://139071599-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoLzoLpI4GbFaDN6waLrV%2Fuploads%2Fttv7MFgSsEuYlfq8a4eL%2FEN2.png?alt=media&#x26;token=c53f1f27-6557-4efc-8331-ea29f6222253" alt=""><figcaption></figcaption></figure>

6. Add the following **two IP addresses**, separating them with a comma. Then click on **Add**:
   * `35.195.13.37`
   * `89.184.13.176`

<figure><img src="https://139071599-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoLzoLpI4GbFaDN6waLrV%2Fuploads%2Fe8d6SvRq1VfxBGL882ZS%2Ftelegram-cloud-photo-size-4-5951797810456282704-x.jpg?alt=media&#x26;token=dac575bd-f01b-42a2-bbb9-46f66f367a97" alt=""><figcaption></figcaption></figure>

7. Click on **Next**.

Your API keys have been successfully generated. Before proceeding to the final step located in the left menu of this documentation under the section '**3 - Link to CryptoTrader', please make sure to keep the window containing the newly created public and private keys open, or copy them into a temporary file.**

## Synchronizing a Sub-Account

It is possible to connect a [Bitget](https://partner.bitget.com/bg/KGBM20) sub-account **instead of your main account**.

This will allow you to host our automated strategy while the main account is used for your own trading operations.

1. [Click here](https://www.bitget.com/account/sub-account) to access the page for generating a **new sub-account.**
2. Then click on the **Create** button, followed by **Virtual sub-account.**
3. Name the sub-account **CryptoTrader**, then click on **Create**.
4. In the **Sub-account Management** section, click on the **Transfer** button. Transfer the funds you wish to **allocate to our automated strategy** to your sub-account, then click **Confirm**:

<figure><img src="https://139071599-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoLzoLpI4GbFaDN6waLrV%2Fuploads%2FG968kKjqTnMYRuw7eqef%2FEN4.png?alt=media&#x26;token=3b0ddf4c-5803-474f-9ab0-da4876f9fcaa" alt=""><figcaption></figcaption></figure>

5. Click on the **API Management** button.
6. Next, click on the **Create API Key** button, followed by **System Generated API Key.**
7. In the **Note** section, label your key by naming it **CryptoTrader**, then add **CryptoTrader100** for the **Passphrase (API token)**. Keep **Read-Write** in the Permissions settings:

<figure><img src="https://139071599-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoLzoLpI4GbFaDN6waLrV%2Fuploads%2FMvvCHyfaVCiK6ZWcBAuZ%2FEN1.png?alt=media&#x26;token=3cffa619-c82f-47e3-89ac-98140beb3c66" alt=""><figcaption></figcaption></figure>

8. Check only the **Trade** box in the **Spot section**, as well as the **Transfer** box in the **Wallet section.**
9. Add the following **two IP addresses**, separating them with a comma. Then click on **Add**:
   * `35.195.13.37`
   * `89.184.13.176`

<figure><img src="https://139071599-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoLzoLpI4GbFaDN6waLrV%2Fuploads%2FzJodWwrYKqCcAfsQh5zN%2Ftelegram-cloud-photo-size-4-5951797810456282704-x.jpg?alt=media&#x26;token=12e64da2-93fa-496e-9919-bde3b9969911" alt=""><figcaption></figcaption></figure>

10. Click on **Next**.

Your API keys have been successfully generated. Before proceeding to the final step located in the left menu of this documentation under the section '**3 - Link to CryptoTrader', please make sure to keep the window containing the newly created public and private keys open, or copy them into a temporary file.**


---

# 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.cryptotrader.app/en/subscription/bitget.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.
