How to Connect Kraken to BotHub
Overviewβ
In this guide, weβll walk you through how to create an API key on Kraken, configure its permissions, and connect it to Bothub for secure automated trading.
π‘ Estimated setup time: 5β10 minutes
Step 1 β Log in to Your Kraken Accountβ
1. Go to kraken.com and log in.
2. In the top-right corner, click your profile icon.
3. From the dropdown menu, select Settings.

Step 2 β Open the API Settingsβ
1. In the top navigation bar, go to Connections and API.
2. On the API Keys page, click Create API Key.

Step 3 β Name Your API Keyβ
In the Name field, give your key a recognizable name β for example: Bothub Trade. This helps you easily identify it later if you need to manage or revoke the key.
Step 4 β Set API Permissionsβ
Youβll now configure which actions the API key can perform.
Under each category, check the following permissions:
β Funds Permissionsβ
- Enable Query (to allow Bothub to read your balances).
β Orders and Tradesβ
- Enable all permissions in this section (to let BotHub place and manage trades).
β Dataβ
- Enable all available options (to provide Bothub with market and account data).

β οΈ Important: Do not enable any permissions related to Withdrawals. Bothub will never request or use withdrawal access.
Step 5 β Add IP Restrictionβ
Itβs important to restrict your API key to Bothubβs IP address.
1. Scroll down to the IP Address Restriction section.
2. Toggle the restriction option on.
3. Open Bothub and copy the IP address shown in the βConnect Exchangeβ modal.
4. Paste that IP address into the field on Kraken.

π This ensures that only Bothubβs servers can use your key β protecting your funds even if your API details are compromised.
Step 6 β Generate Your API Keyβ
Once permissions and IP restrictions are configured:
1. Click Generate Key at the bottom of the page.
2. Complete any security verification prompts (2FA, email, etc.).
3. Your new API credentials will appear:
- Public API Key
- Private API Key

β οΈ Copy both keys immediately β the Private Key will only be shown once.
Step 7 β Connect Kraken to BotHubβ
1. Go to the Bothub app.
2. Navigate to Connect Exchange β Kraken.
3. Paste your Public API Key and Private API Key into the corresponding fields.
4. Click Connect.
If everything is set correctly, youβll see a confirmation message on the platform.
Step 8 β Verify Connectionβ
Once connected:
- Your Kraken account will appear in your Exchanges list on Bothub.
- You can now allocate funds and activate bots that trade via Kraken.
π‘ Tip: You can disconnect or replace your API key at any time in your BotHub settings.
Step 9 β Verify and Start Tradingβ
After connection:
- Your Kraken account will appear in your Exchange List.
- You can now allocate funds and activate bots on your dashboard.
- Check the Activity Log to confirm that your bots are trading correctly.
Troubleshootingβ
If you encounter an error while connecting:
- Double-check that your IP address is correctly added on Kraken.
- Make sure withdrawal permission is not enabled.
- Ensure your API key is active (not expired or deleted).
- Try creating a new API key if the issue persists.
If none of these steps help, reach out to our Support Team via the in-app chat or email us at [email protected] β weβre always here to help.