Step 1: Sign up for a CDP account
Start by signing up for a Coinbase Developer Platform (CDP) account.Step 2: Verify your email
Enter your email address and verify with a code sent to you immediately after signup. Set up 2-factor authentication (2FA) with your phone number.Step 3: Create a Secret API Key
Navigate to the API Keys tab. Create your API key by entering an API key nickname (restrictions are optional).
Optional API Key File DownloadFor enhanced security, API key files are no longer automatically downloaded. If you need to reference your API key via file path in your code, click the Download API key button in the modal to save the key file. Otherwise, you can copy the key details directly from the modal and use them as environment variables (recommended for better security).
Step 4: Install CDP CLI tools
Installcdpcurl to make test API calls. cdpcurl allows you to make authenticated HTTP requests to the Coinbase API with your API key.