# Coinbase Advanced

### 1. Log in or create a Coinbase account

[Log into](https://www.coinbase.com/) or [create new Coinbase account](http://coinbase-consumer.sjv.io/eKE3GD)

### 2. Go to the [API management page](https://portal.cdp.coinbase.com/access/api)

Click on the link below:

**➡️**[**https://portal.cdp.coinbase.com/access/api**](https://portal.cdp.coinbase.com/access/api)

### 3. Click on Create API key

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

### 4. Create a name for API keys

The name must start only with a letter.

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

### 5. Click on API restrictions

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

### 6. Enter the IP Whitelist addresses

To find updated IP addresses, go to the connecting Coinbase Advanced exchange page and take the IP addresses from there:

<figure><img src="/files/6IINRGK94k5U2qk4l5Vh" alt=""><figcaption></figcaption></figure>

Paste them into the **IP Whitelist** field divided by commas:

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

### 7. Enable permissions

Choose **Portfolio** if needed.

Enable **Trade (execute trades on your behalf)** permission and click the **Create & download** button.

<figure><img src="https://client.3commas.io/assets/exchanges/instructions/coinbase_advanced/image_6-2e3ebd8f.png" alt=""><figcaption></figcaption></figure>

### 8. Complete 2-factor authentication

<figure><img src="https://client.3commas.io/assets/exchanges/instructions/coinbase_advanced/image_7-5e6cb985.png" alt=""><figcaption></figcaption></figure>

### 9. Save your API Keys

Make sure to save a JSON file to your computer.

Copy the API keys. Make sure to copy the keys exactly as they are, by clicking on the Copy button:

<figure><img src="https://client.3commas.io/assets/exchanges/instructions/coinbase_advanced/image_8-fda2d1d3.png" alt=""><figcaption></figcaption></figure>

Then click on the "I've saved my key" button.

### 10. Connect the Coinbase Advanced account

That's it! Congratulations!

Now, use these API keys to connect your Coinbase Advanced account! Enter them in the dedicated fields:

<figure><img src="https://client.3commas.io/assets/exchanges/instructions/coinbase_advanced/image_9-25d6e7f6.png" alt=""><figcaption></figcaption></figure>

If you have any kind of problem creating API keys on Coinbase, you can [use the help of the Coinbase support team](https://help.coinbase.com/en/contact-us) to gain the most detailed information about your problem.


---

# 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://docs.byscript.io/exchange/coinbase-advanced.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.
