Installing Moonbot on a Local Computer
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:
-
for Binance visit 🔗 https://moon-bot.com/en/manual/api-keys/
-
for HTX visit 🔗 https://moon-bot.com/ru/connect-to-htx/
-
for Bybit visit 🔗 https://moon-bot.com/ru/connect-bybit/
-
for Gate.io visit 🔗 https://moon-bot.com/ru/connect-gate/
-
and for Hiperliquid visit 🔗 https://moon-bot.com/ru/connect-to-hyperliquid/ .
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.
-
In the API Key field, enter your API key.
-
In the API Secret field, enter your Secret Key.
-
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.