After an IT pro or Google administrator has prepared your Google Enterprise™ account for Lightning Sync, you can complete the necessary steps to prepare Salesforce, too. From Salesforce, first register the Google API site. Then, select settings to connect the applications using OAuth 2.0 for Google.
|Available to manage from: both Salesforce Classic and Lightning Experience|
|Available in: Professional, Enterprise, Performance, Unlimited, and Developer Editions|
|To access and edit Lightning Sync Setup||“Customize Application”|
Before preparing Salesforce for Lightning Sync, make sure that you’ve taken the necessary steps to prepare your company’s Google account for the feature.
From Salesforce Setup, Register a new remote site for https://www.googleapis.com. Don’t disable protocol security for the site, or Salesforce can’t connect with Google.
From Salesforce Setup, enter Lightning Sync Setup in the Quick Find box, then select Lightning Sync Setup.
Enable Lightning Sync.
Select OAuth 2.0 for Google (Beta) as your preferred connection method.
Upload the private key for your Google service account. Your Google admin generated the key when setting up the service account for Lightning Sync.
Let’s consider your private key the “key to the Google Calendar castle.” People in possession of the key have access to your company’s Google account. Therefore, only share the key with team members who need it, and share it via secure pathways. For example, emailing your key probably isn’t a good idea.
When you’re finished, run the Lightning Sync connection test to make sure that you’ve set up your connection correctly.