# Binance

Dfns support integrations with Binance exchange accounts.  Users must have a Binance account in order to generate API keys to input into the Dfns Dashboard to configure the integration.

{% embed url="<https://youtu.be/FFQ3aowz_0Y>" %}

## API Key Generation

Log into your Binance account and go to Account=>API Management at <https://www.binance.com/en/my/settings/api-management>.   Click Create API, select System Generated, name the API, then sign with your passkey if requeste&#x64;**.**   You should see a screen that looks like this:

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

Log into your Dfns dashboard and click **Settings=>Exchanges=>New**.  Select "Binance" and copy the API and Secret keys from above into the corresponding fields for the Read credentials. &#x20;

Go back to Binance and generate a second Write API key by following the same steps as outlined above.  Next click "Edit Restrictions" in the top right, then select the radio button at the bottom for "Restrict access to trusted IPs only (Recommended)".  Enter 35.181.116.68 and push return.  Finally check the box for "Enable Withdrawals" and click "Save". &#x20;

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

Copy the generated values into the Write API key fields in Dfns. Click **Create** and the integration setup is complete.&#x20;


---

# 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-legacy.dfns.co/d/integrations/exchanges/binance-setup.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.
