Loading
Salesforce now sends email only from verified domains. Read More
About Salesforce Data 360
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Set Up Connectors with Google OAuth

          Set Up Connectors with Google OAuth

          To create a connection in Data Cloud securely without sharing passwords, some external connectors allow access using OAuth (Open Authorization). If using OAuth, there are several prerequisite implementation steps to complete before you connect the source to Data Cloud.

          Required Editions

          Available in: All Editions supported by Data 360. See Data 360 edition availability.

          Follow these prerequisite steps before connecting to the data source in Data Cloud Setup. To complete these steps you must have admin access.

          bookmark icon Bookmark this page or keep it open to refer to this topic as you complete these tasks.

          Note
          Note Steps and links outside of Salesforce content may not be updated or accurate.

          Create a Custom OAuth Application

          Before you can define your authentication provider in Salesforce, you can optionally create a custom OAuth application on your provider's website. The process can vary depending on your provider.

          1. According to your provider's documentation, create a private app on their website.
          2. Write down these configuration values:
            1. Client ID
            2. Client Secret

          Configure an Authentication Provider

          Create an authentication provider in Salesforce and then update your provider with the callback URL.

          1. From Setup, in the Quick Find box, enter Auth. Providers, and then select it.
          2. Click New.
          3. Select Google from the provider type dropdown.
          4. Fill out the required information (1).
            1. Name—Enter a name for the Authentication provider.
            2. URL Suffix—The URL automatically gets suffixxed with the name you have given to the Authentication provider.
            Goolge Auth Provider creation.
          5. Complete these fields.
            1. Consumer Key—Add Google App's Application ID.
            2. Consumer Secret—Add Google App's Client Secret Value.
          6. (For unstructured data ingestion) Set the Authorize Endpoint URL to https://accounts.google.com/o/oauth2/v2/auth?access_type=offline&prompt=consent.
          7. Update the Scope (2) for the connector you’re using. All start with: https://www.googleapis.com/auth/[VARIABLE]. Find the variables listed for each connector.
            1. Google Ad Manager: analytics.readonly
            2. Google Analytics: analytics.readonly
            3. Google Contacts: userinfo.email, userinfo.profile, or contacts
            4. Google Campaign Manager: dfatrafficking, drareporting, or ddmconversions
            5. Google Drive: userinfo.email, userinfo.profile, drive.readonly
            6. Google Sheets: userinfo.email, userinfo.profile, drive.readonly
            7. Google Spanner: spanner.data
          8. Click Save.

          Several client configuration URLs are generated after defining the authentication provider. Write down the callback URL from the Salesforce configuration after you save your work.

          After defining the authentication provider in Salesforce, go back to your provider and update your app's callback URL.

           
          Loading
          Salesforce Help | Article