1. Home
  2. Jetpack CRM Extensions
  3. Google Contacts Sync
  4. Getting Your Google Client ID and Secret

Getting Your Google Client ID and Secret

Google People API
This extension has now been updated to use the People API. Versions earlier than version 2.5 are no longer supported.

The Jetpack CRM Google Contacts Sync extension requires you to use Google’s OAuth 2.0 service (a way of authenticating credentials) and generate a client ID and client secret for your CRM installation.

You will need a Google Cloud account, if you don’t already have one. You’ll need a Gmail account to sign in.

Once you’re logged into Gmail, go to https://console.developers.google.com/apis/credentials.

Create a Project

Please note that the following instructions must be done on a per-project basis; setting up a OAuth Consent Screen on one project does not apply it to any other projects.

You can create a project here: https://console.cloud.google.com/projectcreate

Please see Google’s Create a Google Cloud Project documentation for details.

Create an OAuth consent screen, if you haven’t already done so. Google requires this, so follow their on-screen instructions. There is more detailed information in their Configure the OAuth Consent Screen document.

Enable People API

You’ll also need to make sure the People API is enabled. You can do this by clicking on Enabled API and Services and see if it’s listed there:

If it is NOT listed there, click on Enable API & Services at the top of the screen:

Search for People, and select Google People API. You can then enable it.

Create API Key

Now, click Credentials in the left menu, followed by + Create Credentials at the top of the page.

Choose API key.

You can always find the key by going to Credentials , and either a) clicking on Show Key for the appropriate key, or clicking on the key name itself to see the key details/edit screen.

Create OAuth Client ID

Choose Web Application and add your domain.

You’ll also need to enter a redirect URI to the Authorized redirect URIssection seen in the below screenshot, which should look something like this:

https://yoursite.com/wp-admin/admin.php?page=zerobscrm-plugin-settings&tab=googlecontact&zbs-auth-google-contact=1

Being sure to replace https://yoursite.com/ with your actual domain, and click Create.

Once all this is set up, you’ll be given your client ID and client secret.

Retrieving your Client ID and Secret

Go to your credentials dashboard. You should see an API key(s) and OAuth 2.0 Client ID(s):

Click on the Pencil icon on the right hand side of the Client ID:

Your client ID and secret can be found on the edit page:


See also:

Google’s People API

Configure the OAuth consent screen (Google)

Create a Google Cloud Project

Updated on August 22, 2022

Was this article helpful?

Related Articles

Still not found an answer?
If you've searched the knowledge base and still can't find a solution, please submit a ticket.
CONTACT SUPPORT