Connect your Zoho CRM using a Self Client to generate API credentials.
A Self Client lets you generate credentials without building a full OAuth redirect flow.
Zoho will immediately show your Client ID and Client Secret. Copy both values.
You need a one-time grant token to exchange for a refresh token.
The grant token expires quickly (10 minutes). Complete the next step immediately after generating it.
Use the grant token to get a long-lived refresh token. Run this in your terminal:
curl -X POST "https://accounts.zoho.com/oauth/v2/token" \
-d "grant_type=authorization_code" \
-d "client_id=YOUR_CLIENT_ID" \
-d "client_secret=YOUR_CLIENT_SECRET" \
-d "code=YOUR_GRANT_TOKEN"
The response will include a refresh_token. Copy it — this is what you'll paste into Settings.
Replace the URL domain with your region's domain if you're not on .com (e.g. accounts.zoho.ca for Canada).
Choose the data center that matches your Zoho account region:
If you're unsure, check the URL when you log into Zoho CRM — the domain tells you which data center you're on.