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

# Set up your Binance Account

> Create and configure your Binance account with a subaccount and Spot Trading API key so unCoded can trade on your behalf.

This section covers everything you need to do on Binance before connecting it to unCoded:

1. Create a Binance account with a 20% fee discount
2. Create a subaccount for clean tax separation and independent tracking
3. Generate a Spot Trading API key with the correct permissions

<Note>
  Before you can create subaccounts or API keys, Binance requires at least **two security methods** on your account: email verification (always required) plus one additional method such as Google Authenticator, SMS authentication, or a security key (YubiKey, etc.). Enable a second method under **Account → Security** in your Binance dashboard before continuing.
</Note>

***

## Create your Binance account

<Steps>
  <Step title="Register your Account to start trading">
    Use the unCoded [Referral Link](https://bit.ly/B-20Fee) to create your Binance account.

    Registering through <u>this link</u> gives you **20% less in trading fees** on Binance. It also reduces the unCoded profit share from 30% to **20%**. Dont worry if you already have an account - check out the [unCoded Licensing FAQs](/introduction/licensing-and-payments) to learn how to reduce your fees anyway.

    On the sign-up page, choose your preferred method:

    * **Email** — enter your email address and create a secure password.
    * **Phone number** — use your phone number to register.

    Enter the referral code if it is not pre-filled, agree to Binance's terms and conditions, and click **Create Account**.

    Referral Code: <kbd>EKFKTJP3</kbd>
  </Step>

  <Step title="Complete KYC verification">
    Complete the **Know Your Customer (KYC)** process to enable full trading capabilities:

    1. Provide a government-issued ID (passport, driver's license, etc.).
    2. Upload a selfie for identity verification.
    3. Submit proof of address if your region requires it.

    Verification typically takes just a few minutes but may vary by region.
  </Step>
</Steps>

<Note>
  With your Binance account successfully created and verified, the next step is to configure it properly for unCoded so the bot can trade securely and efficiently.
</Note>

***

## Create a Binance subaccount

A subaccount separates unCoded's trading activity from your personal trades, making tax reporting and performance tracking cleaner.

<Warning>
  **Security Requirement:** Before you can create or use sub-accounts and API, Binance requires you to have at least **two security methods enabled**:

  * **E-Mail verification** (standard, always required).
  * **Plus one more method**, such as:
    * ✅ Google Authenticator (recommended)
    * ✅ SMS Authentication
    * ✅ Security Key (YubiKey, etc.)
  * To enable this:
    * Log in to your [**Binance account**](https://accounts.binance.com/en/login) on the web and go to your [**dashboard**](https://www.binance.com/en/my/dashboard).
    * On the left-hand side, click **Account → [Security](https://www.binance.com/en/my/security)**.
    * Add and activate<u> at least one</u> extra security method next to your email.
</Warning>

<iframe width="560" height="315" src="https://www.youtube.com/embed/bnZeTEI3Qio?start=53" title="Create a Sub-Account on Binance" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen />

<Steps>
  <Step title="Open Account Management">
    Log in to your [Binance account](https://accounts.binance.com/en/login) on the web and go to your [dashboard](https://www.binance.com/en/my/dashboard). In the left-hand menu, select **Sub-Accounts → [Account Management](https://www.binance.com/en/my/sub-account/account-management)**.
  </Step>

  <Step title="Create the subaccount">
    Click **Create Sub Account** and choose an account type:

    * **Email (recommended)** — creates a dedicated login for the subaccount.
    * **Virtual email** — no separate login required. For Developers only!

    <Frame>
      <img src="https://mintcdn.com/arrowtradeag/BpnCzx8sZZN8B5wh/images/image.png?fit=max&auto=format&n=BpnCzx8sZZN8B5wh&q=85&s=d44101fdb12dd89f08dc63c3b2cc6054" alt="Binance Sub Account creation" width="1665" height="964" data-path="images/image.png" />
    </Frame>

    If you create a real email subaccount, go back to **Account Management**, find the new subaccount, click the **three dots**, and select **Switchable**. This lets you switch between accounts from the top-right profile menu and gives the subaccount the same UI as the main account.

    <Frame>
      <img src="https://mintcdn.com/arrowtradeag/Q0AU5wO44kb3pRZG/images/image-1.png?fit=max&auto=format&n=Q0AU5wO44kb3pRZG&q=85&s=f82c26f90dfb8f481a3695e395be5bbc" alt="Binance Account Switch Enabled" width="1407" height="585" data-path="images/image-1.png" />
    </Frame>
  </Step>

  <Step title="Fund the subaccount">
    In the **Sub-Accounts** dropdown, go to [**Asset Management**](https://www.binance.com/en/my/sub-account/asset-management). Find your new subaccount row and click **Transfer In**.

    <Frame>
      <img src="https://mintcdn.com/arrowtradeag/Q0AU5wO44kb3pRZG/images/image-2.png?fit=max&auto=format&n=Q0AU5wO44kb3pRZG&q=85&s=cdae97878d8290d87a3df67a1f7ff591" alt="Binance Asset Management Transfer In" width="1672" height="958" data-path="images/image-2.png" />
    </Frame>

    On the transfer page, select a currency, enter the amount, and confirm:

    * **USDC** — recommended for users within the EU (stable and widely supported).
    * **FDUSD** — recommended for users outside the EU; Binance offers zero trading fees on FDUSD pairs.
    * **BNB** — keep at least \~\$50 worth. Binance uses BNB to pay fees and gives a **25% discount** on every trade.
          <Frame>
            <img src="https://mintcdn.com/arrowtradeag/Q0AU5wO44kb3pRZG/images/image-3.png?fit=max&auto=format&n=Q0AU5wO44kb3pRZG&q=85&s=01a8f0ddd7e9305e60a2e0d984da19e4" alt="Binance Asset Management" width="1024" height="813" data-path="images/image-3.png" />
          </Frame>
  </Step>
</Steps>

<Tip>
  Binance has an official guide with screenshots here: [How to Create a Sub-Account](https://www.binance.com/de/square/post/12695672498873)
</Tip>

***

## Create the Spot Trading API key

<iframe width="560" height="315" src="https://www.youtube.com/embed/bnZeTEI3Qio?start=148" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen />

<Steps>
  <Step title="Open API Management">
    In your Binance dashboard, go to [**API Management**](https://www.binance.com/en/my/sub-account/api-management).

    <Frame>
      <img src="https://mintcdn.com/arrowtradeag/wepNLuMs9K-eze45/images/image-4.png?fit=max&auto=format&n=wepNLuMs9K-eze45&q=85&s=8b2a067fdfa45c02dee591e9176940d0" alt="Image" title="Image" lightAlt="Image" darkAlt="Binance API Management" className="hidden dark:block" width="1670" height="610" data-path="images/image-4.png" />

      <img src="https://mintcdn.com/arrowtradeag/wepNLuMs9K-eze45/images/image-4.png?fit=max&auto=format&n=wepNLuMs9K-eze45&q=85&s=8b2a067fdfa45c02dee591e9176940d0" alt="Image" title="Image" lightAlt="Image" darkAlt="Binance API Management" className="dark:hidden" width="1670" height="610" data-path="images/image-4.png" />
    </Frame>

    If you are using a subaccount, switch to this Sub Account first.
  </Step>

  <Step title="Create a system-generated API key">
    Click **Create API** and choose **System Generated API Key**. Label the key (e.g., `unCodedBot`), then confirm using your security methods — Binance will always require email plus one additional method (Google Authenticator, SMS, etc.).

    <Frame>
      <img src="https://mintcdn.com/arrowtradeag/wepNLuMs9K-eze45/images/image-5.png?fit=max&auto=format&n=wepNLuMs9K-eze45&q=85&s=c7c9f8ffa51798bda9a61fb22b33b3b4" alt="Binance API Creation" width="476" height="497" data-path="images/image-5.png" />
    </Frame>
  </Step>

  <Step title="Configure API permissions">
    Set the following permissions on the key:

    * **Read Info** — enabled
    * **Enable Spot & Margin Trading** — enabled

    All other permissions should remain **disabled**. unCoded only needs read access and spot trading rights.

    <Frame>
      <img src="https://mintcdn.com/arrowtradeag/wepNLuMs9K-eze45/images/image-6.png?fit=max&auto=format&n=wepNLuMs9K-eze45&q=85&s=3b0a19322b853e3d94779c544cb88c74" alt="API Credentials" title="Image" lightAlt="Image" darkAlt="API Credentials" width="1541" height="794" data-path="images/image-6.png" />
    </Frame>

    Under **IP Access Restrictions**, restrict the key to your server's static IP address. This is required — your server must have a static IP. See [System Requirements](/introduction/system-requirements) for hardware and networking requirements.
  </Step>

  <Step title="Save your API credentials">
    Copy the **API Key** and **Secret Key** and store them somewhere safe.

    <Danger>
      The Secret Key is shown only once. If you leave the page before copying it, you will need to delete the API key and create a new one. Do not share these credentials with anyone. Delete any temporary file you use to store them once the setup is complete.
    </Danger>

    <Tip>
      Temporarily store all configuration values in a plain text file (Notepad or similar) so you can copy and paste them into unCoded during deployment without losing track of your credentials.
    </Tip>
  </Step>
</Steps>

***

Once your subaccount is funded and your API key is saved, you are ready to set up your unCoded account. Continue to [Create your unCoded account](/getting-started/create-uncoded-account).
