> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dfns.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Binance

> Connect Binance to Dfns to deposit and withdraw assets between your Dfns wallets and Binance exchange accounts with policy controls.

export const Youtube = props => {
  return <iframe className="w-full aspect-video rounded-xl" src={`https://www.youtube.com/embed/${props.videoId}`} title="YouTube video player" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen>
      </iframe>;
};

Connect directly to Binance, the world's largest cryptocurrency exchange by trading volume, through the Dfns platform. This native integration enables seamless and secure asset transfers, allowing your application to move funds between Dfns wallets and your Binance accounts programmatically. By leveraging Dfns's advanced multi-party computation (MPC) security, you can automate your trading workflows and consolidate asset management with confidence.

<Youtube videoId="FFQ3aowz_0Y" />

## How to set it up

<Info>
  Users must have a Binance account in order to generate API keys to input into the Dfns Dashboard to configure the integration.
</Info>

### API Key Generation

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

<Frame>
  <img src="https://mintcdn.com/dfns-6d8c7466/2kpqVE6bPN0ElHJ8/images/spaces_2FtnSPOZGQ2hBmgoVWX5H6_2Fuploads_2FrmpJkPvAYP7iXEM996Up_2FScreenshot_202024-10-23_20at_2011.52.01_E2_80_AFAM.png?fit=max&auto=format&n=2kpqVE6bPN0ElHJ8&q=85&s=03c2661842d57e826e1c4705923172f3" alt="" width="3412" height="1424" data-path="images/spaces_2FtnSPOZGQ2hBmgoVWX5H6_2Fuploads_2FrmpJkPvAYP7iXEM996Up_2FScreenshot_202024-10-23_20at_2011.52.01_E2_80_AFAM.png" />
</Frame>

Log into your Dfns dashboard and navigate to **Integrations**, find the Binance card and click **Configure**, then click **New**.  Select "Binance" and copy the API and Secret keys from above into the corresponding fields for the Read credentials.

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".

<Frame>
  <img src="https://mintcdn.com/dfns-6d8c7466/aH8Z4RyoX4Vg4edY/images/spaces_2FtnSPOZGQ2hBmgoVWX5H6_2Fuploads_2FaWZU3TbLBgamsNqcx5H9_2FScreenshot_202024-10-23_20at_2011.56.44_E2_80_AFAM.png?fit=max&auto=format&n=aH8Z4RyoX4Vg4edY&q=85&s=c451b58f0752f08454401598f066f7fa" alt="" width="3402" height="1578" data-path="images/spaces_2FtnSPOZGQ2hBmgoVWX5H6_2Fuploads_2FaWZU3TbLBgamsNqcx5H9_2FScreenshot_202024-10-23_20at_2011.56.44_E2_80_AFAM.png" />
</Frame>

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