# Binance

{% hint style="warning" %}
We **don't** currently offer support for **Binance** **US** exchange accounts. This connection is specific to Binance accounts exclusively.
{% endhint %}

## Connecting your Binance wallet

### Binance Configuration:

* Refer to the [Binance.com API Documentation](https://www.binance.com/en/support/faq/how-to-download-and-set-up-binance-code-api-af014f44f45845debf79b4cf81333a25) to learn how to generate a Binance API key.
  * You can also generate an API key directly from Binance UI under the account settings section: "API Management".

    <div align="left"><figure><img src="/files/dFi2Z4259DCabCiIKRb5" alt="" width="229"><figcaption></figcaption></figure></div>
  * When creating a key we recommend naming the API key - "inabit", so there won't be any confusion with other future/existing keys.&#x20;
* After you confirm the validity of your new API key, keep a record copy of both the API Key and Secret Key. You will need them when adding this exchange to your organization.
* Make sure you've enabled the following API restrictions when generating the keys:
  * **Reading**
  * **Withdrawals**
  * **Spot & Margin Trading** (if you intend to swap assets directly from inabit in this wallet)
* Under the IP restrictions access, please select **Restrict access to trusted IPs only**, discard the 0.0.0.0 IP address, and add the following IP:

```
35.233.10.83
```

<div align="left"><figure><img src="/files/1lkIxj5rUuyDZE8TtGLB" alt="" width="375"><figcaption></figcaption></figure></div>

{% hint style="info" %}

1. This IP address belongs to inabit and by whitelisting it in the exchange API, you enable access for inabit services to operate on your behalf.
2. This IP address **must** be whitelisted otherwise, the connectivity to inabit will fail.
   {% endhint %}

### inabit Configuration:

* Within the inabit platform, go to the wallets page and click on\
  "**Add new**".
* Select the option "**Exchange** **Wallet**" and choose the "**Binance**" option.
* Fill in the following details:
  * **Wallet name**
  * **API key** (the one saved from Binance)
  * **Secret key** (the one saved from Binance)
* Click on "**Connect** **Exchange**".

If all credentials are okay and the wallet name is valid, the connection should be successful and you can start managing the binance wallet in your organization!<br>


---

# 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.inabit.com/what-we-support/exchanges/binance.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.
