---
description: How to setup your BingX API keys on Copile
---

# BingX

This guide will walk you through the process of aquiring your BingX API keys and setting them up on Copile. Note that API keys are highly sensitive so ensure you are cautious when dealing with them. Copile requires minimal permissions for your API keys, and always puts security first.

***

{% hint style="warning" %}
Please note this process is likely to change over the coming weeks as we prepare to enable IP whitelisting functionality
{% endhint %}

### Step 1: Accessing your API keys on BingX

1. Head to [**https://bingx.com**](htttps://bingx.com) and login
2. Select the profile icon in the top right menu
3. Select [**API Management**](https://bingx.com/en-gb/account/api/)

<figure><img src="https://2992379680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV4PnXBgWqYg4ogKQQZtN%2Fuploads%2FoPX5ogzBBUC6ekptzzsp%2Fimage.png?alt=media&#x26;token=912cc9e3-2dfb-487b-ac6d-3a4ad1c392cf" alt=""><figcaption></figcaption></figure>

4. Once you are on the API Management page click "**Create API**"
5. Name this API "**Copile**" or something that identifies it to be related to Copile

<figure><img src="https://2992379680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV4PnXBgWqYg4ogKQQZtN%2Fuploads%2FysN322uaQOpWQNUbp2UU%2Fimage.png?alt=media&#x26;token=13872a3d-68fc-4653-8477-f073a42e95cd" alt=""><figcaption></figcaption></figure>

6. Continue through the verification process, you may be unable to create an API if you do not have certain 2FA security measures setup

<figure><img src="https://2992379680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV4PnXBgWqYg4ogKQQZtN%2Fuploads%2Fwc5eqqtIjAEVSU4WyADn%2Fimage.png?alt=media&#x26;token=9ce08d1a-dbf5-4485-9b57-97efb476874b" alt=""><figcaption></figcaption></figure>

7. Once you have completed the verification, your API keys will be created&#x20;
8. Click **edit** as we need to adjust some permissions

<figure><img src="https://2992379680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV4PnXBgWqYg4ogKQQZtN%2Fuploads%2FKPZqBI5kV38ergaPdPsQ%2Fimage.png?alt=media&#x26;token=c50cf8d8-21b5-4532-add8-a1ed91a9e4d1" alt=""><figcaption></figcaption></figure>

8. Toggle **"Perpetual Futures Trading"** and click **save**. Do not change any other settings.

{% hint style="info" %}
Toggling **"Perpetual Futures Trading"** allows Copile to execute trades on your behalf. It is important you do not select any other options as this will allow additional permissions that we do not require, thus adding additional risk to your assets.
{% endhint %}

<figure><img src="https://2992379680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV4PnXBgWqYg4ogKQQZtN%2Fuploads%2FPnnPdbG0s2wZoYqqotm6%2Fimage.png?alt=media&#x26;token=c898d758-1392-4061-830a-f4bfcf534bcf" alt=""><figcaption><p>You may be asked to verify again, after saving.</p></figcaption></figure>

10. Copy your API and secret key and head to [**https://user.copile.trade/settings**](https://user.copile.trade/settings)

{% hint style="warning" %}
When copying your keys, ensure there are no spaces at the end of your copy text.
{% endhint %}

<figure><img src="https://2992379680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV4PnXBgWqYg4ogKQQZtN%2Fuploads%2Fyd2hPYUKSDRfj3UGwtf2%2Fimage.png?alt=media&#x26;token=adc48c1d-c46c-4223-8639-9e0a18f80ab2" alt=""><figcaption></figcaption></figure>

### Step 2: Submitting your API keys on Copile

1. Go to [https://user.copile.trade/settings](https://user.copile.trade/settings)
2. Select the **Binance** exchange and paste your API and secret key into their respective fields
3. Click **Submit**
4. Wait for your API keys to be encrypted and updated
5. Once finished, head back to the BingX API Management page and either refresh or close the tab to ensure your secret keys are no longer visible without verifying.&#x20;
6. You must now configure your trader setting&#x73;**.** Users are **required** to configure both their preferred exchange and position size mode after entering their API keys. Simply entering an exchanges API keys alone without configuring plan settings will result in no trades being executed. Please see [settings](../user-dashboard-basics/settings "mention") for more information.

{% hint style="success" %}
Your BingX API keys are now successfully configured. Please note, these API keys are not directly accessible or editable via the Copile web app. If you wish to update them, you'll need to reset and undergo this process again. Also, ensure to remove them from the BingX API Management page.
{% endhint %}

{% hint style="warning" %}
**For security reasons**, it's a good practice to periodically reset and update your API keys. Regularly rotating your API keys minimizes risks.
{% endhint %}
