R
RedMind Tutorials
Exchange integration

Connect an exchange (Kraken)

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

1 of 15 steps • 7% complete
Log in to Kraken Pro
Step 1 of 15

Log in to Kraken Pro

Go to pro.kraken.com on your computer, enter your email or username and your password, and click Continuar (Continue).

Enter the 2FA code
Step 2 of 15

Enter the 2FA code

If your account has two-step verification turned on, enter the code from your authenticator app and click Inserir (Enter).

Open Profile > Configurações (Settings)
Step 3 of 15

Open Profile > Configurações (Settings)

On the home screen, click the profile icon in the top-right corner, then click Configurações (Settings).

Unlock the global platform
Step 4 of 15

Unlock the global platform

Under Configurações → Conta (Settings → Account), scroll to Definições regionais (Regional settings) and click Editar (Edit) next to Idioma (Language). Kraken displays the Alterações no seu acesso (Changes to your access) notice: xStocks are available only on the global platform, which isn't offered in Portuguese.

Check Entendo que esses produtos são oferecidos fora do Brasil (I understand that these products are offered outside Brazil) and click Acessar plataforma global (Access global platform).

Why unlock xStocks
xStocks aren't required, but we recommend them. RedMind can only tell whether your account can trade tokenized stocks at the moment it sends an order. Without xStocks, a tokenized stock order (placed by you or recommended by the AI) fails at execution.
Change the language to English (US)
Step 5 of 15

Change the language to English (US)

In the Idioma (Language) field, choose English (US) and click Atualizar configurações (Update settings).

Warning
Don't switch the language back to Portuguese. In Portuguese, your account goes back to the Brazilian platform, which has no xStocks.
Check that xStocks is unlocked
Step 6 of 15

Check that xStocks is unlocked

On the Account tab, under Eligibility, check that xStocks shows Unlocked. If it doesn't, click the button next to it and follow Kraken's instructions.

Kraken is now in English
From here on, the screens and button names are in English. This tutorial shows each name exactly as it appears on the screen.
Open Connections & API and click Create API key
Step 7 of 15

Open Connections & API and click Create API key

Open the Connections & API tab. Under Spot trading API, click Create API key.

Name the key
Step 8 of 15

Name the key

The Add API key window opens. In the Name field, enter an easy-to-remember name, for example RedMind.

Select the permissions
Step 9 of 15

Select the permissions

Under Permissions, check:

Query (under Funds permissions)
Query open orders & trades
Query closed orders & trades
Create & modify orders
Cancel & close orders
Query ledger entries
Export data

Golden rule: never grant Withdraw permission
Never check Withdraw. Also leave Deposit, Add withdrawal addresses, Earn, and Query affiliate participants unchecked. RedMind trades for you, but it never withdraws.
Leave the IP restriction off
Step 10 of 15

Leave the IP restriction off

Leave IP address restriction turned off, because RedMind uses several IPs.

Click Generate key
Step 11 of 15

Click Generate key

Leave the other options turned off: WebSocket interface, Key expiration, Query start date and Query end date, and Custom nonce window.

Scroll to the bottom and click Generate key.

Confirm with your authentication code
Step 12 of 15

Confirm with your authentication code

Kraken asks for your authentication code one more time (Enter your authentication code). Enter the code in the Authentication code field and click Enter.

Copy the API key and the Private key
Step 13 of 15

Copy the API key and the Private key

Kraken shows API key created. Click the copy button next to the API key and next to the Private key, and store both somewhere safe.

Warning
After you click Close, Kraken won't show the Private key again. If you lose it, you'll have to create a new key.
Check the key in the list
Step 14 of 15

Check the key in the list

Your new RedMind key now appears in the Spot trading API list.

Paste the keys into RedMind
Step 15 of 15

Paste the keys into RedMind

In RedMind, open Exchange → Integração de Exchange (Exchange Integration) and select Kraken from the Exchange dropdown. Paste the Kraken API key into the API key field and the Private key into the API secret field.

Click the red Salvar, testar e sincronizar (Save, test and sync) button.

Warning
Never send your keys by email, WhatsApp, or any other messaging app.

Next step: create your first portfolio with the Autopilot.