This guide walks you through connecting Coinbase Pro to your Parfin account. This assumes that you already have a valid administrator account in Parfin and that you have a valid and verified Coinbase Pro account.

1. Preparing Parfin

As an administrator, log into your Parfin account, go to “Settings” > “Counterparties” and click “Connect Counterparty” 
Select “Exchange” from the tabs, select “Coinbase Pro” from the dropdown
Give this connection a name (this name will show up across your account)

2. Creating Read-only keys

In a different tab, Log in to Coinbase Pro (pro.coinbase.com
Enter the API section by clicking on the profile menu on the top right (by your account name)
Click the “+New API Key" button inside the "API Settings" section
Give the API a nickname: “Parfin Read Only” 
Tick the “View” box under Permissions
Copy the "Passphrase" and Paste it into the “Read Passphrase” input at Parfin
Go back to the Coinbase Pro tab, and click the “Create API Key” button at the bottom of the page
Enter your Coinbase Pro 2-Step Verification code, and click the “Add An API Key” button
Copy “API Secret” and Paste it into the “API-Secret” input at Parfin 
Go back to the Coinbase Pro tab, click the "Done” button
Copy “API Key” shown in the My API Keys Section and Paste it into the “API-Key” input at Parfin

3. Creating Transactional keys

Go to the back Coinbase Pro tab, Click the “+New API Key" button inside 
Give the API a nickname: “Parfin Transactional” 
Tick the “View”, "Transfer” and “Trade” boxes under Permissions
Follow the same steps as the Read-only keys above and input information into the “Transactional Keys” section at Parfin

4. Finishing Up

Back in Parfin click on “Connect”. If any error is shown, check the keys you copied & pasted and if necessary repeat the steps 2 and 3 above.
After a successful setup and a success message, you are able to see the correct balance on the Dashboard.

5. Creating Whitelisted Withdrawal addresses in Coinbase Pro

NOTE: For extra security, we highly recommend deleting any other whitelisted addresses from your Coinbase Pro account and only leaving the Parfin ones.

Go back to Coinbase Pro, and open the Address Book section by clicking in profile menu on the top right (by your account name)
Read the instructions and click “Enable Whitelisting”
Enter your Coinbase Pro 2-step verification code, and click “Enable”
Enter a “Nickname” for the desired Whitelisted Address (example: “Parfin BTC”)
Go back to Parfin, go to Settings > Wallets section, Copy the address of the desired asset 
Go back to Coinbase Pro, and Paste the address into the “Address” input
To add more Whitelisted Addresses, click on “+ ADDRESS ROW”
When you are done, click on the “SAVE ADDRESSES” button at the bottom of the page
Enter your Coinbase Pro 2-step verification code, and click “ADD ADDRESSES”
You have 8 hours to add all required addresses, and it takes 48 hours to enable and disable the Address Whitelisting functionality

6. OPTIONAL - Test Sending a Transaction

Go to the Parfin dashboard, click on “Create Transaction” and create a transaction to send money from your Coinbase Pro to your Parfin Internal Wallet. Do this for both BTC and ETH to make sure everything is working

Congratulations, your new connection to Coinbase Pro is completed!