# How to create and set up Coinbase API key

Here, we show you how to generate and connect Coinbase API key to the Doblox trading platform.

Doblox is a trading platform that allows you to trade and analyze in numerous cryptocurrency exchanges, monitor media and social media and use many other features in an all in one interface.

To do so, you should use an exchange API key. This is a safe and reliable way to use a trading platform because it does not give access to your confidential data as **Doblox** also **does not access any funds management (withdrawals & deposits).**

1. **API Key (Access Key):** This key authenticates users and specifies which account is connecting to the third-party service.
2. **Secret Key:** This key establishes an additional security layer by demanding a confidential token for request authentication.
3. **IP Whitelist:** In late 2022, as a result of heightened security measures, exchanges started expiring API keys periodically. Consequently, platforms like Doblox now offer the ability to specify IP whitelist addresses, aiming to enhance security without burdening users with the need to frequently change API keys.

**Note:** You can connect several exchange accounts to your Doblox account to speed your trading and make it more sophisticated and smoother with less stress and exhaustion.&#x20;

**How to create a Coinbase API key?**&#x20;

1. Login into your Coinbase account.
2. Click on profile (the dummy icon on the upper right-hand corner of the screen). When the drop-down menu is open, choose the “Setting” option.&#x20;

<figure><img src="/files/dvIsXr0krATITVNPfWTw" alt="Creat Coinbase API key and Secret Key"><figcaption></figcaption></figure>

3. On the new page, click on the “API” tab.

<figure><img src="/files/e4qFm5oJ9XqCe63CCTsS" alt="API key Coinbase"><figcaption></figcaption></figure>

4. On the “API” tab, click on the “+ New API Key” button on the upper right-hand corner.

<figure><img src="/files/hZJGcXlu8jploXXXQseM" alt=""><figcaption></figcaption></figure>

5. A new pane is open. Do the verification process.

<figure><img src="/files/CC0nzN5JL1UR9OffKwdi" alt="" width="563"><figcaption></figcaption></figure>

6. In the new pane, you should identify what changes the API can make. Pay high attention to just **Check the ones shown below** (Doblox **does not** have any f**und management** features, but still for ensuring it’s better to keep these options **off**). Then click the “Create” button.

<figure><img src="/files/IrzxKkkngwE1kBcHsTjE" alt="" width="372"><figcaption></figcaption></figure>

7. Your “API key” and "Secret key” are created. **Copy and record them** in a secure location to use them in further steps below (**We insist of recording them** somewhere else because the “Secret Key” might be shown just once and goes away as you close the pane or go to another page).

<figure><img src="/files/whlzbo8FVRWHw23NXakZ" alt="Create Coinbase Secret key and API key"><figcaption></figcaption></figure>

8. Now go back to your account in Doblox and follow the instructions below.
9. When you enter your Doblox account, click on the profile (dummy icon) on the upper right-hand corner of the panel and choose the “Exchange Management” option.

<figure><img src="/files/jcSlARMiVCfrvq2U79lr" alt="Add Coinbase API key to Doblox"><figcaption></figcaption></figure>

10. A pane is open, choose the “Exchanges/Wallets” tab.&#x20;
11. In this tab, click on the “+ Exchange” button on the right of the page.

<figure><img src="/files/FqSmIQ2IhFtN3snnUQjl" alt=""><figcaption></figcaption></figure>

12. Another pane is open which you should fill the fields with the information (Keys) you received from Coinbase (You can fill the “Nickname” field with whatever name you like. Here we suggest filling it with “ My Coinbase”).

<figure><img src="/files/4grLNTDgzEFxiu95mJQI" alt="" width="563"><figcaption></figcaption></figure>

13. Choose Coinbase from the first drop-down field (Exchange).

<figure><img src="/files/UD60sLfvGlDZ7QdRuK4q" alt="" width="563"><figcaption></figcaption></figure>

14. Fill the “API key” and “Secret key” Fields with the given keys that you took from Coinbase.

<mark style="color:red;">Important: You can use the code in the “API Whitelist” field for future steps.</mark>&#x20;

15. Now click on the “Add Exchange” button.&#x20;

<figure><img src="/files/fzjVOpvmcqYNmP9T1vg3" alt=""><figcaption></figcaption></figure>

16. Now your Coinbase account is connected to Doblox and you can enjoy trading. Please check if the API is **synced** by going to \[profile > “Exchange Management” > “Exchanges | Wallets” tab].&#x20;

<figure><img src="/files/KTZrRfdIKNQsJ4nXYb3k" alt=""><figcaption></figcaption></figure>

\ <mark style="color:red;">**Note: For avoiding API key expirations after specific days you need to do some additional steps which you’ll find these IP Whitelisting steps in the following article:**</mark>

{% content-ref url="/pages/W9MO0O6kLnP3O1PLgm75" %}
[Set Doblox IP Whitelisting on Coinbase](/how-to-create-and-set-up-coinbase-api-key/set-doblox-ip-whitelisting-on-coinbase.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tutorial.doblox.com/how-to-create-and-set-up-coinbase-api-key.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
