Salesforce cloud app

Using the SAML 2.0 standard, you can configure single sign-on (SSO) for a number of cloud apps. After you set up SSO, your users can use their Google Workspace credentials to sign in to an app using SSO.

Use SAML to set up SSO for Salesforce

Expand all   |   Collapse all

You must be signed in as a  super administrator  for this task.

Before you begin

Before configuring SSO, you must set up your Salesforce subdomain .

Step 1: Set up Google as a SAML identity provider
  1. Sign in with a super administrator account to the Google Admin console.

    If you aren’t using a super administrator account, you can’t complete these steps.

  2. Click Add app Search for apps.
  3. For Enter app name, enter Salesforce.
  4. In the search results, point to Salesforceand click Select.
  5. In the Google Identity Provider detailswindow, for Option 2: Copy the SSO URL, entity ID, and certificate:
    • Next to SSO URL, click Copyand save the URL.
    • Next to Entity ID, click Copyand save the entity ID.
    • Next to Certificate, click Downloadand save the certificate.
      You need these details to complete the setup in Salesforce.
  6. Click Continue.
  7. On the Service provider detailspage, for ACS URL, Entity ID, and Start URL, replace {domain specific}with your Salesforce subdomain.
  8. Click Continue.
  9. (Optional) To map Google directory attributes to the corresponding app attributes, in the Attribute Mappingwindow:
    1. Click Add Mapping.
    2. Click Select fieldselect a Google directory attribute.
    3. For  App attributes, enter the corresponding app attribute.
  10. (Optional) To enter group names that are relevant for this app:
    1. For Group membership (optional), click Search for a group, enter one or more letters of the group name, and select the group name.
    2. Add additional groups as needed (maximum of 75 groups).
    3. For App attribute, enter the corresponding groups attribute name of the service provider.

    Regardless of how many group names you enter, the SAML response includes only groups that a user is a member of (directly or indirectly). For more information, go to  About group membership mapping .

  11. Click Finish.
Step 2: Set up Salesforce as a SAML 2.0 service provider
  1. Open an Incognito browser window, go to the Salesforce sign-in page , and sign in with your Salesforce administrator account.
  2. Click Setup.
  3. In the Quick Findbox, enter Single Sign-On, and then click Single Sign-On Settings.
  4. In the Single Sign-on Settingssection, click Editand check the SAML enabledbox.
  5. Click Save.
  6. In the SAML Single Sign-On Settingssection, click New.
  7. Do the following steps:
    1. For Name, enter Google.
    2. For API Name, enter Google.
    3. For Issuer, paste the entity ID that you copied in Step 1.
    4. For Identity Provider Certificate, click Choose File, and then select the certificate that you downloaded in Step 1.
    5. For Set Service Provider Initiated Request Binding, enter HTTP Redirect.
    6. For Identity Provider Login URL, paste the SSO URL that you copied in Step 1.
  8. Click Save.
  9. (Optional) To enable service provider-initiated SSO:

    1. Click Domain Management My Domain.
    2. In the Authentication Configurationsection, click Edit.
    3. For Authentication Service, check the Googlebox.
    4. Click Save.
Step 3: Turn on app for users

Before you begin: To turn a service on or off for certain users, put their accounts in an organizational unit (to control access by department) or add them to an access group (to allow access for users across or within departments).

  1. Sign in with a super administrator account to the Google Admin console.

    If you aren’t using a super administrator account, you can’t complete these steps.

  2. Click Salesforce.
  3. Click  User access.
  4. To turn a service on or off for everyone in your organization, click  On for everyoneor  Off for everyone, and then click  Save.

  5. (Optional) To turn a service on or off for an organizational unit:
    1. At the left, select the organizational unit.
    2. To change the Service status, select  Onor  Off.
    3. Choose one:
      • If the Service status is set to  Inherited and you want to keep the updated setting, even if the parent setting changes, click Override.
      • If the Service status is set to  Overridden, either click Inheritto revert to the same setting as its parent, or click  Saveto keep the new setting, even if the parent setting changes.
        Learn more about organizational structure .
  6. (Optional) To turn on a service for a set of users across or within organizational units, select an access group. For details, go to Use groups to customize service access .
  7. Ensure that the email domains of your Salesforce user account match the primary domain of your organization’s managed Google Account.
Step 4: Verify SSO is working

Salesforce supports both identity provider-initiated and service provider-initiated SSO.

Verify identity provider-initiated SSO

  1. Sign in with a super administrator account to the Google Admin console.

    If you aren’t using a super administrator account, you can’t complete these steps.

  2. Click Salesforce.
  3. In the Salesforcesection, click Test SAML Login.

    The app should open in a separate tab. If it doesn’t, troubleshoot the error message and try again. For details on troubleshooting, go to SAML app error messages .

Verify service provider-initiated SSO

  1. Close all browser windows.
  2. Go to https://{your-subdomain-name}.my.salesforce.comand replace {your-domain-name}with your Salesforce subdomain name.
    You should be redirected to the Google sign-in page.
  3. Select your account and enter your password.

After your credentials are authenticated, the app should open.

Step 5: Set up user provisioning
As a super administrator, you can automatically provision users in the app. For details, go to Configure Salesforce user provisioning .


Google, Google Workspace, and related marks and logos are trademarks of Google LLC. All other company and product names are trademarks of the companies with which they are associated.

Was this helpful?

How can we improve it?
true
Start your free 14-day trial today

Professional email, online storage, shared calendars, video meetings and more. Start your free Google Workspace trial today .

Search
Clear search
Close search
Google apps
Main menu
7728732877012534177
true
Search Help Center
false
true
true
true
true
true
73010
false
false
false
false
Design a Mobile Site
View Site in Mobile | Classic
Share by: