Before generating a key, make sure you have set up your preferred Two-Factor Authentication (2FA) mechanism. Click here for more information about 2FA.
→ How to set up 2FA on Coinbase
Step 1: API Settings
- Log into the Coinbase Pro website and select Menu in the top-right corner of the dashboard
- Select API from the menu
- Under Profile Information, select the API Settings tab, then select +New API Key
Step 2: Configure Settings and Enter Your 2FA Code
- Select your portfolio, create a nickname, assign appropriate permissions, and copy or change the passphrase - you will need this later, so make sure you know what it is
- Click Create API Key to generate the new key
Enter your Two-Factor Authentication Code
Click ADD AN API KEY
Step 3: View and Save Your Keys
- The new API key secret will be displayed once - copy this to a safe place, you will need it later
Now you will see your new API key in the list:
Copy the string dislplayed here too, this is your public key
Step 4: Add Your Coinbase Pro API Keys to Terminal
- Log into Terminal and click on Accounts
- Click + Add Account
- Under Exchange
Select the exchange you are adding (Coinbase Pro) - Under Account Name
Enter a name for this account here -
Enter the passphrase and two keys generated on Coinbase:
- The Passphrase will go into the Passphrase field
- The Key will go into the Public Key field
- The API Secret will go into the Private Key field
Click here for more information about Coinbase Pro API keys.