# Coinbase Pro / Exchange

Connect your Coinbase Pro / Exchange data to Integral using a read-only API key. Create your API key in Coinbase [here](https://pro.coinbase.com/profile/api). Make sure all accounts are selected with only read permissions. Add your new Coinbase Pro API keys to Integral [here](https://app.integraltreasury.xyz/accounts/add/coinbasepro).

***

### Step 1: Create a read-only API key in Coinbase

1. Log into your [Coinbase Pro / Exchange](https://pro.coinbase.com/) account
2. In the top-right corner, navigate to [Profile > API](https://pro.coinbase.com/profile/api)
3. Click on `+New API Key`
4. You will need to do this process for each Portfolio in your Coinbase Pro/Exchange account.

<figure><img src="https://3061199926-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ft1fkaxq4yvhcAFiQKv7R%2Fuploads%2FaqCZnlqvCYT3QWvULoHK%2FScreen%20Shot%202023-04-11%20at%206.35.55%20PM.png?alt=media&#x26;token=c90fbc14-813c-4c35-ac37-d17395bca3cc" alt=""><figcaption></figcaption></figure>

***

### Step 2: Configure your API key permissions to read-only from all accounts

1. In the modal that appears, select the Portfolio you want to add to Integral.
2. Give it a nickname you can easily identify under API key nickname.
3. Select “View” under permissions. This makes the API read-only.
4. <mark style="color:orange;">⚠️</mark> Save the Passphrase somewhere safe - you will not be able to get it back again!
5. Once your **Passphrase** is saved, click `Create`
6. A second modal will appear with your **API Secret**. ⚠️ Save the Secret somewhere safe, as you will not be able to get it back again!
7. Once your API Secret is saved, click `Done`.
8. Back on the API main page, you will see your new API key details. The **API key** is provided there, in the red box shown in the screenshot below.

<figure><img src="https://3061199926-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ft1fkaxq4yvhcAFiQKv7R%2Fuploads%2FBpnyb57fIbw4tsTpe8Ic%2FScreen%20Shot%202023-04-11%20at%206.36.20%20PM.png?alt=media&#x26;token=3eb012bb-f069-46b7-acbd-a7a2e9156c4c" alt=""><figcaption><p>The red box shows where your API Passphrase is.</p></figcaption></figure>

<figure><img src="https://3061199926-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ft1fkaxq4yvhcAFiQKv7R%2Fuploads%2F5YM3IMSkuq58zhB7eo7B%2FScreen%20Shot%202023-04-11%20at%206.36.37%20PM.png?alt=media&#x26;token=5f60d6f3-5cc9-4085-b4da-7ed950e45dce" alt=""><figcaption><p>The API Secret is shown in the box indicated.</p></figcaption></figure>

<figure><img src="https://3061199926-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ft1fkaxq4yvhcAFiQKv7R%2Fuploads%2Fwnr7UhSqcY3GEkPLxjH1%2FScreen%20Shot%202023-04-11%20at%2011.28.26%20PM.png?alt=media&#x26;token=d959a56a-fb2b-4237-b3d4-30320f1e5ed7" alt=""><figcaption><p>The red box shows where your API key is provided.</p></figcaption></figure>

***

***

### Step 3: Add your Coinbase Pro/Exchange account to Integral

1. Log into Integral
2. In the side panel, navigate to [Wallets](https://app.integraltreasury.xyz/wallets) > `+Wallet`
3. Search for Coinbase Pro ([link](https://app.integraltreasury.xyz/accounts/add/coinbasepro))
4. Paste in your API Key into *“API Key”*, your API Passphrase into *“Passphrase”*, and your API Secret into *“Private Key”*.
5. Click “Sync”
6. It may take a few minutes for all your transactions to load into Integral. You can see transactions trickle in from the [Bookkeeping](https://app.integraltreasury.xyz/accounting?category=for-review\&page=1) page.
7. Transactions are done loading when your Unrealized Gain/Loss and Transaction Count appear in the Treasury page.

***

<figure><img src="https://3061199926-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ft1fkaxq4yvhcAFiQKv7R%2Fuploads%2FC4xGAKzfjf15zHYQjRB2%2FScreen%20Shot%202023-04-11%20at%2011.15.56%20PM.png?alt=media&#x26;token=b9b42bee-3ccc-4b98-890c-3ed81c8dffa0" alt=""><figcaption></figcaption></figure>

***

<figure><img src="https://3061199926-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ft1fkaxq4yvhcAFiQKv7R%2Fuploads%2FruaG9SD4dQbrN4Ky8RGb%2FScreen%20Shot%202023-04-11%20at%2011.36.08%20PM.png?alt=media&#x26;token=9c7f25f3-d21b-4830-856c-add891cbde47" alt=""><figcaption></figcaption></figure>

***

### Step 4: Repeat for all Portfolios

If you have more than one portfolio in Coinbase Pro/Exchange, you will need to repeat this process for each portfolio.
