We offer 2 options to connect with OKX. Easy Connect (recommended) and API integration.
Easy Connect (Recommendation)
This is the fastest and easiest way to get connected. From either the web app or mobile app simply go to settings > API connections and create a connection. Then select OKX and Easy Connect, where you will be asked by OKX to sign in to approve the connection. That's it done in no time.
1. Setting Up on OKX
a. Login to OKX: Open your browser or mobile app and log in to your OKX account.
b. Access API keys: On the top right corner of your screen, you'll find the ‘Profile’ icon. Tap or click on it and then select API keys from the dropdown.
c. Create API Key: Select the Create API Key and in Linking third-party apps, select Moonbit. Choose a passphrase and make sure you remember it since you will need it in Moonbit later. For permissions select both Read and Trade.
d. Copy Your API Key: After generation, copy your API keys immediately. It will include both a public (access) and a private (secret) key.
2. Setting Up on the Moonbit Platform
a. Open Moonbit: Start by launching your Moonbit mobile or web app.
b. Navigate to Settings: Once inside the app, tap or click on the ‘Settings’ option.
c. API Connections: Within the settings, you should see an option labelled ‘API connections’. Tap or click on it.
d. Add New Key: In this section, choose the option to ‘Add a new key’.
e. Select OKX Exchange: A list of exchanges will appear. Make sure to select ‘OKX’ from the list and then API integration.
f. Enter Public Key: Paste the public part of the API key you copied from OKX into this field.
g. Enter Private Key: Similarly, locate the ‘Private key’ field on Moonbit and paste the private part of the API key into it.
h. Name Your Connection: Optionally, you can give your connection a specific name for easy identification. This might be helpful if you have multiple connections.
i. Input OKX Passphrase: When creating the API key you also choose a passphrase. Locate the "passphrase" field and paste it.
j. Save and Confirm: Once you've filled in all necessary details, save the connection. It might take a few moments, but soon, your Bitget account should be integrated with Moonbit.
Note: Always ensure that you keep your API keys confidential. Do not share them with anyone, and avoid storing them in easily accessible locations.
Congratulations! You've now successfully integrated your OKX API keys with the Moonbit platform. This integration will streamline your trading activities and offer a more cohesive experience across both platforms.