# Connecting Bitget API

> Learn how to connect the Veles platform to the Bitget exchange — using a Fast connection or manually creating an API key.

A Fast connection is available for the **main account**.
**Subaccounts** are connected only manually.

:::caution[Attention!]
Before starting, make sure that your exchange account is fully verified and has access to **Futures trading**. 
The required account type is **"Classic"**. It is not possible to bind a "Unified Trading" account.
:::

## Fast connection to Bitget

To use Fast connection to Bitget, follow these steps:

1. Go to the website https://www.bitget.com and log in to your account.

2. In the Veles cabinet, open the [API Key management page ](https://veles.finance/cabinet/account/api) and click **"Add API Key"**.

3. In the **"Exchange"** field, select **"Bitget Futures"** and select **"One-click connection"**.

4. Read the warning from the exchange and click **"Next"**.

5. Enter the verification codes received via SMS and email, then confirm the action.

6. After successful activation, the **Bitget Futures BG_0** link will appear in the Veles profile.

7. In Bitget's personal account, the created key will be displayed in the **"API Keys"** section.

8. It's done! Now you can select this Binding in the bot configurator and trade on Bitget.

:::caution[Important!]
By adding the Binding, be sure to set up **lock "By position"**.
:::

If the Fast connection does not work, use the manual method.

## Manually creating an API key on Bitget and binding it to Veles

1. Log in to [bitget.com ](https://www.bitget.com) and go to profile → **"API Keys"**. 

   Click **"+ Create an API key"**.

2. Select the type **"System-generated API key"**.

3. Fill in the key parameters and save them in a safe place:
    - **Note** is a label for the key.
    - **Passphrase** is the password (letters and numbers only).
    - Mark **"Read-write"**.
    - In the **"Permission type"** row, check **"Name"** to select all permissions.

4. At the bottom of the window, add the IP addresses, listed [in our instructions](https://help.veles.finance/en/exchange/general/api/), and click **"Next"**.

5. Go through a security check: enter the codes or confirm via Passkey.

6. The exchange will show a window with the API key data. Copy them and don't close the window until the Binding is created.

7. In the Veles account, open the section **"API Keys"** and click **"Add API Key"**.

8. Select **"Bitget Futures"**, tab **"Manual connection"** and fill in the data:
    - **API key name** — for example *Bitget Futures Main 1*
    - **API key** — value from the "API Key Access" field
    - **Secret** — a string from the "Secret Key"
    - **The secret phrase** is the passphrase used when you created the key.
    - **IP addresses** — leave unchanged.

   Click **"Connect"**.

9. The new Binding will appear in the list, and you can use it to trade on Bitget.

:::note
After creating the API Key on the exchange, review the list of permissions and disable those you don't need.
:::

:::caution[Important!]
By adding the Binding, be sure to set up **lock "By position"**.
:::

Your **Bitget** account is now successfully connected to **Veles**.
