Zoho CRM uses a robust OAuth 2.0 system. You will need to access the Zoho API Console to generate a 'Self Client' which acts as the bridge between your CRM data and PledgeBox. This process involves generating a temporary authorization code.
Step 1: Access API Console
Step 2: Create Self Client
Zoho offers several client types. For this server-to-server integration, select Self Client. Click Create.
You will immediately see your Client ID and Client Secret. Keep this tab open, as you will need to copy these into PledgeBox shortly.
Step 3: Generate Authorization Code
Click on the Generate Code tab within the Self Client details. You must define the 'Scope' precisely so PledgeBox can access the correct modules.
- Scope Field: Copy and paste the following string exactly. It grants access to CRM modules and organizational data: ZohoCRM.modules.ALL,ZohoCRM.org.READ
- Time Duration: Set this to '10 minutes'. This code is temporary and is only used once to establish the permanent handshake.
- Scope Description: Enter 'PledgeBox Integration'.
- Click Create. A pop-up will display your Generated Code.
Copy the Generated Code immediately. This code is a temporary key that acts as the initial handshake credential and expires in exactly 10 minutes. If you miss this window, the code will become invalid, and you will need to regenerate it in the Zoho Console.
Return to the PledgeBox Add Integration page and complete the fields as follows:
- Client ID & Client Secret: Paste the values you obtained from the Self Client page in Step 2. These identify your specific integration instance.
- Refresh Token: Paste the Generated Code (from Step 3) into this field. Note that although the field is labeled 'Refresh Token,' it accepts the temporary Authorization Code for the initial setup.
Step 5: Map Audience
After clicking Next, you will be prompted to select a destination. Choose the PledgeBox Audience where you want these CRM contacts to appear. Correct mapping ensures that your CRM leads are not mixed with unrelated backer lists.
With the integration created, click the blue Sync Now button on the Integration Detail page. This triggers an immediate batch job to fetch your existing records from Zoho.