---
id: document_item.adding-api-keys-to-the-moonbot-terminal
page_type: documentation_article
title: "Adding API Keys to the Moonbot Terminal"
description: "How to enter API Key and Secret Key in Settings → Login, register exchange access, verify Connection OK and understand how Moonbot stores the Secret Key locally."
section: documentation
category: "Key Points When Working with the Moonbot Terminal / Installing Moonbot on a Local Computer"
url: https://moonbot.eu/en/documentation/installing-moonbot-on-a-local-computer/adding-api-keys-to-the-moonbot-terminal?format=md
locale: en
alternate_ru: https://moonbot.eu/documentation/installing-moonbot-on-a-local-computer/adding-api-keys-to-the-moonbot-terminal?format=md
parent: https://moonbot.eu/en/documentation/installing-moonbot-on-a-local-computer?format=md
previous: https://moonbot.eu/en/documentation/installing-moonbot-on-a-local-computer/launching-the-moonbot-terminal?format=md
next: null
status: published
updated_at: 2026-10-19T04:34:25+03:00
---

# Adding API Keys to the Moonbot Terminal

To add API keys to the Moonbot terminal, open the **Settings** → **Login** tab, choose the interface language (Russian, English, or Spanish), and then register the previously obtained API keys from the exchange. Step-by-step instructions are available on our website:

- [Connecting to the Binance exchange](https://moonbot.eu/en/documentation/settings-login-tab/connecting-to-the-binance-exchange?format=md)
- [Connecting to the HTX exchange ](https://moonbot.eu/en/documentation/settings-login-tab/connecting-to-the-htx-exchange?format=md)
- [Connecting to the Bybit exchange](https://moonbot.eu/en/documentation/settings-login-tab/connecting-to-the-bybit-exchange?format=md)
- [Connecting to the Gate exchange](https://moonbot.eu/en/documentation/settings-login-tab/connecting-to-the-gate-exchange?format=md)
- [Connecting to the Bitget exchange](https://moonbot.eu/en/documentation/settings-login-tab/connecting-to-the-bitget-exchange?format=md)
- [Connecting to the OKX exchange](https://moonbot.eu/en/documentation/settings-login-tab/connecting-to-the-okx-exchange?format=md)
- [Connecting to the Hyperliquid exchange](https://moonbot.eu/en/documentation/settings-login-tab/connecting-to-the-hyperliquid-exchange?format=md)

The Moonbot terminal interacts with the exchange via its API. To gain access to the API, you need API keys.

Upon the first launch of Moonbot, you must enter API keys, which consist of an **API Key** and a **Secret Key** pair:

- **API Key** – a public key used to register your copy of the terminal
- **Secret Key** – a private key used to sign orders. The private key is stored locally on your computer in an encrypted format within the **BotConfig.bcfg file**, which Moonbot creates automatically. \
  **⚠ Important!** The **Secret Key** is never transmitted over the Internet by the Moonbot terminal.

For subsequent launches, you do not need to re-enter API keys, as they are securely stored in the encrypted **BotConfig.bcfg** file, and the connection to the exchange is established automatically.

#### Registering API Keys in the Terminal

On the **Settings** → **Login** tab, select the exchange for trading. For example, if you plan to trade on Binance (futures market), choose **Binance Futures** and click **Apply**.

1. In the **API Key** field, enter your API key.
2. In the **API Secret** field, enter your Secret Key.
3. Click the **Register API keys** button.

If the keys are entered correctly, the terminal will establish a connection with the exchange server. Your Moonbot registration number will appear on the **Settings** → **Login** tab, and the status **Connection OK** will be displayed in the lower-left corner of the main window.

For additional security, you can set a password for opening the Moonbot terminal. This password will be required each time the terminal is launched. The password is stored locally and is never transmitted over the network.

If the terminal cannot establish a connection and displays the message **Enter correct API keys**, while the bottom left corner of the main window shows **Connection: ERROR**, follow these steps to resolve the issue.

## Navigation

Path: [Main](https://moonbot.eu/en?format=md) / [Documentation](https://moonbot.eu/en/documentation?format=md) / [Key Points When Working with the Moonbot Terminal](https://moonbot.eu/en/documentation/basics?format=md) / [Installing Moonbot on a Local Computer](https://moonbot.eu/en/documentation/installing-moonbot-on-a-local-computer?format=md) / Adding API Keys to the Moonbot Terminal

Parent section: [Installing Moonbot on a Local Computer](https://moonbot.eu/en/documentation/installing-moonbot-on-a-local-computer?format=md)

Previous: [Launching the Moonbot Terminal](https://moonbot.eu/en/documentation/installing-moonbot-on-a-local-computer/launching-the-moonbot-terminal?format=md)
