> For the complete documentation index, see [llms.txt](https://docs.k3-labs.com/introduction/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.k3-labs.com/introduction/integrations/coinbase.md).

# Coinbase

**How to Connect Your Coinbase Exchange Account to K3**

K3 Labs allows users to execute trades automatically via their Coinbase Exchange account. This is done by securely connecting your account using Coinbase API credentials. Follow the steps below to generate your API key and connect your account.

**Step 1: Visit the Coinbase Exchange API Dashboard**

Go to the Coinbase Exchange Portfolios dashboard: <https://exchange.coinbase.com/portfolios>

**Step 2: Navigate to the API Key Section**

Once inside your portfolio dashboard:

1\. From the left-hand navigation menu, select API.

2\. Click the “+ New API Key” button in the top-right corner.

This will open the API key creation form.

<figure><img src="/files/7nxllvRvAKXnvpP0pyjQ" alt=""><figcaption></figcaption></figure>

**Step 3: Configure API Key Settings**

In the Add An API Key form:

* Portfolio: Choose the portfolio you want to connect (typically “Default Portfolio")
* API Key Nickname: Give your API key a name (e.g., “K3 Automation”).
* Permissions:
  * Enable: Trade
* Passphrase: Enter a secure passphrase. You will need this later when connecting to K3.

> ⚠️ **Important: Make sure to copy your passphrase before clicking “Create API Key.” You won’t be able to see or retrieve it again.**

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

**Step 4: Copy the API Secret**

Once the API key is created, you’ll see a confirmation window with your API Secret.

* Copy and securely store the API Secret.
* This is the only time the API secret will be displayed.

<figure><img src="/files/9QDcpVT9yhYPhzsw9ETk" alt=""><figcaption></figcaption></figure>

**Step 5: Connect the API Key in K3**<br>

Return to the K3 Labs platform and go to the Coinbase Exchange integration section.

In the connection form, enter the following:

* API Key
* API Secret
* Passphrase

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

Once entered, K3 will securely connect your account and allow you to automate trading workflows using Coinbase Exchange.

> 🔒 All credentials are stored in encrypted form, and permissions are limited to Buy and Sell orders only. Withdrawals are not supported via K3.
