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

# Connect an exchange (Binance)

> How to create an API key on Binance with the right permissions and connect it to RedMind.

This guide shows the 12 steps of the RedMind tutorial "Connect an exchange (Binance)". Each step has a screenshot, the action and the details. Select a screenshot to zoom.

> [!NOTE]
>
> The RedMind Terminal and most exchange screens are in Portuguese. This guide gives each label as it shows on the screen, with the translation in parentheses.

**1. In RedMind, open Contas e acessos (Accounts and access) and choose Binance**

In Contas e acessos (Accounts and access), click **Conectar exchange** (Connect exchange) and choose Binance.

![In RedMind, open Contas e acessos (Accounts and access) and choose Binance](https://mintcdn.com/red-mind/5_H-MtwoZ7t_m7Up/images/03-conectar-binance/01-na-redmind-abra-contas-e-acessos-e-escolha-binance.webp?fit=max\&auto=format\&n=5_H-MtwoZ7t_m7Up\&q=85\&s=ba5d260d04fb26d2b037bf4d5a7b3814)

Log in to the RedMind Terminal. Click your name in the bottom-left corner and choose **Contas e acessos** (Accounts and access).

Click **Conectar exchange** (Connect exchange) in the top-right corner. In the **Conectar exchange** window, choose **Binance**.

Keep this window open: you will come back to it in Step 12.

**2. Log in to Binance**

Open binance.com on a computer and log in to your account.

![Log in to Binance](https://mintcdn.com/red-mind/5_H-MtwoZ7t_m7Up/images/03-conectar-binance/02-faca-login-na-binance.webp?fit=max\&auto=format\&n=5_H-MtwoZ7t_m7Up\&q=85\&s=763c59c1e2f539bd1f50b0f995ca4509)

Go to **binance.com** on your computer and log in to your account.

**3. Open API Management**

In the left menu, click Conta (Account), then **Gerenciamento de API** (API Management).

![Open API Management](https://mintcdn.com/red-mind/5_H-MtwoZ7t_m7Up/images/03-conectar-binance/03-abra-o-gerenciamento-de-api.webp?fit=max\&auto=format\&n=5_H-MtwoZ7t_m7Up\&q=85\&s=1e21d864f3ce0a48bd297fde0fa7df5e)

In the left-hand menu of the **Painel de Controle** (Dashboard), click **Conta** (Account), then click **Gerenciamento de API** (API Management).

**4. Uncheck the Default Security Controls**

Uncheck the Default Security Controls box. Without this, Binance blocks trading on the key.

![Uncheck the Default Security Controls](https://mintcdn.com/red-mind/5_H-MtwoZ7t_m7Up/images/03-conectar-binance/04-desmarque-os-controles-de-seguranca-padrao.webp?fit=max\&auto=format\&n=5_H-MtwoZ7t_m7Up\&q=85\&s=35c97e8cfe067142ae72690eabd4fabd)

On this page, uncheck the box *"Ao marcar esta caixa, todas as chaves API existentes... estarão sujeitas aos Controles de Segurança Padrão"* (By checking this box, all existing API keys... will be subject to the Default Security Controls).

> [!WARNING]
>
> **Required:** If you skip this, Binance blocks trading on the key.

**5. Click Criar API (Create API)**

With the box unchecked, click the yellow **Criar API** (Create API) button.

![Click Criar API (Create API)](https://mintcdn.com/red-mind/5_H-MtwoZ7t_m7Up/images/03-conectar-binance/05-clique-em-criar-api.webp?fit=max\&auto=format\&n=5_H-MtwoZ7t_m7Up\&q=85\&s=eef3320fec9ea9eac80b3a87da9ee86f)

With the box unchecked, click the yellow **Criar API** (Create API) button.

**6. Choose Gerada pelo sistema (System generated)**

Keep Gerada pelo sistema (System generated) selected and click **Próximo** (Next).

![Choose Gerada pelo sistema (System generated)](https://mintcdn.com/red-mind/5_H-MtwoZ7t_m7Up/images/03-conectar-binance/06-escolha-gerada-pelo-sistema.webp?fit=max\&auto=format\&n=5_H-MtwoZ7t_m7Up\&q=85\&s=0bf11fbfb96638f45f98f375bf435ba0)

Leave **Gerada pelo sistema** (System generated) selected and click **Próximo** (Next).

> [!NOTE]
>
> **No passphrase:** Binance keys don't use a passphrase.

**7. Name the key**

Type a name for the key, for example RedMind, and click **Próximo** (Next).

![Name the key](https://mintcdn.com/red-mind/5_H-MtwoZ7t_m7Up/images/03-conectar-binance/07-de-um-nome-para-a-chave.webp?fit=max\&auto=format\&n=5_H-MtwoZ7t_m7Up\&q=85\&s=89c2db3d2dfce88dfa3dad479e20cfd3)

Enter a name for the key, for example `RedMind`, and click **Próximo** (Next).

**8. Verify your identity**

Complete the Binance security check with a Passkey, face recognition or a code.

![Verify your identity](https://mintcdn.com/red-mind/5_H-MtwoZ7t_m7Up/images/03-conectar-binance/08-confirme-sua-identidade.webp?fit=max\&auto=format\&n=5_H-MtwoZ7t_m7Up\&q=85\&s=9c4cf4f80b6a7783335d2977bf88b5b8)

Binance asks for a security check, such as a passkey, facial recognition, or a code. Follow the on-screen instructions.

**9. Copy the API Key and the Chave Secreta (Secret Key)**

Click **Copiar** (Copy) next to the API Key and the Chave Secreta (Secret Key): the secret key is shown only once.

![Copy the API Key and the Chave Secreta (Secret Key)](https://mintcdn.com/red-mind/5_H-MtwoZ7t_m7Up/images/03-conectar-binance/09-copie-a-api-key-e-a-chave-secreta.webp?fit=max\&auto=format\&n=5_H-MtwoZ7t_m7Up\&q=85\&s=0c87fd1868fec5999413588ae6297dc6)

Your key has been created. Click **Copiar** (Copy) next to the **API Key** and next to the **Chave Secreta** (Secret Key), and store both somewhere safe.

> [!WARNING]
>
> **Warning:** The Secret Key is shown only once. If you leave this page without copying it, you'll have to create another key.

**10. Enable Reading and Spot trading**

Click **Editar restrições** (Edit restrictions), enable Habilitar Leitura (Enable Reading) and Spot trading, and never enable Habilitar Saques (Withdrawals).

![Enable Reading and Spot trading](https://mintcdn.com/red-mind/5_H-MtwoZ7t_m7Up/images/03-conectar-binance/10-ative-leitura-e-trading-spot.webp?fit=max\&auto=format\&n=5_H-MtwoZ7t_m7Up\&q=85\&s=2cc446b8c5c4f70856f9ac5bd4d8a512)

Click **Editar restrições** (Edit restrictions). Leave **Habilitar Leitura** (Enable Reading) checked and also check **Ativar trading Spot, de Margem e de Ações Tokenizadas** (Enable Spot, Margin and Tokenized Stock trading).

> [!WARNING]
>
> **Golden rule: never grant Withdraw permission:** Never check **Habilitar Saques** (Enable Withdrawals) or **Habilitar Saques Alpha** (Enable Alpha Withdrawals). RedMind trades for you, but it never withdraws.

**11. Keep access set to Irrestrito (Unrestricted) and save**

Under Restrições de acesso por IP (IP access restrictions), keep Irrestrito (Unrestricted) and click **Salvar** (Save).

![Keep access set to Irrestrito (Unrestricted) and save](https://mintcdn.com/red-mind/5_H-MtwoZ7t_m7Up/images/03-conectar-binance/11-mantenha-o-acesso-irrestrito-e-salve.webp?fit=max\&auto=format\&n=5_H-MtwoZ7t_m7Up\&q=85\&s=234efe3c72b71890a2d35b096ebcb38e)

Under **Restrições de acesso por IP** (IP access restrictions), keep **Irrestrito** (Unrestricted) selected, because RedMind uses several IPs. Then click **Salvar** (Save).

**12. Paste the keys into RedMind**

Paste Chave API (API key) and Segredo API (API secret) into the RedMind window and click **Conectar e verificar** (Connect and verify).

![Paste the keys into RedMind](https://mintcdn.com/red-mind/5_H-MtwoZ7t_m7Up/images/03-conectar-binance/12-cole-as-chaves-na-redmind.webp?fit=max\&auto=format\&n=5_H-MtwoZ7t_m7Up\&q=85\&s=81fb7314e9e555866eaf8780f7715200)

Go back to RedMind, to the Binance window, and paste:

**Chave API** (API key): the API Key that you copied from Binance

**Segredo API** (API secret): the Chave Secreta (Secret Key)

Click **Conectar e verificar** (Connect and verify). When the badge changes to **Conectada** (Connected), you see the available USDT balance.

## Next steps

> [card] [Create your first portfolio](https://docs.redmind.global/guides/first-portfolio.md)
>
> Describe the portfolio that you want and let RedMind AI build it.

> [card] [Common questions](https://docs.redmind.global/help/common-questions.md)
>
> Find short answers about accounts, exchanges and portfolios.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.