Salesforce Sandbox cloud application

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

Using Security Assertion Markup Language (SAML), your users can use their Google Cloud credentials to sign in to enterprise-cloud applications.

Set up SSO via SAML for Salesforce Sandbox

Here's how to set up single sign-on (SSO) via SAML for the Salesforce Sandbox application.

Note: Before configuring SSO, make sure you've set up your Salesforce Sandbox subdomain.  

Step 1: Set up Google as a SAML identity provider (IdP)
  1. Sign in to your Google Admin console.

    Sign in using an account with super administrator privileges (does not end in @gmail.com).

  2. From the Admin console Home page, go to Appsand thenWeb and mobile apps.
  3. Click Add appand thenSearch for apps.
  4. Enter Salesforce Sandbox in the search field.
  5. In the search results, hover over the Salesforce Sandbox SAML app and click Select.
  6. On the Google IdP Information page:
    1. Copy and save the SSO URL and Entity ID.
    2. Download the Certificate file.
  7. Click Continue.
  8. On the Service provider details section:
    1. For ACS URL, enter https://{domain specific}.my.salesforce.com, replacing {domain specific} with your Salesforce Sandbox subdomain.
    2. Edit the Entity ID and Start URL fields, replacing {domain specific} with your Salesforce Sandbox subdomain. 
  9. Click Continue.
  10. (Optional) On the Attribute Mapping page, map Google directory attributes to corresponding application attributes:
    1. Click Add Mapping.
    2. Click the Select field menu and select a Google directory attribute.
    3. Enter the corresponding application attribute under App attributes.
  11. (Optional) If you want to send a user’s group membership information in the SAML response, enter the group names that are relevant for this app in the Group membership field.

    This feature is currently in beta and not yet available to all customers.

    1. Under Google groups, click in the Add group entry field.
    2. Type one or more letters of the group name.
    3. Choose the group name from the dropdown menu.
    4. Add additional groups as needed (total groups cannot exceed 75).
    5. Under [app name] attribute, enter the service provider’s corresponding groups attribute name.

    Note: Regardless of how many group names you enter, the SAML response will only include groups that a user is a member of (directly or indirectly). For more information, see About group membership mapping.

  12. On the Attribute mapping page, click Finish.
  13. (Optional) Configure auto-provisioning for Salesforce Sandbox, or click OK to finish setup.
Step 2: Set up Salesforce Sandbox as a SAML 2.0 service provider (SP)
  1. Sign in to Salesforce Sandbox with your administrator account.
  2. Click Setup.
  3. In the Quick Find box, enter 'Single Sign-On' and click Single Sign-On Settings.
  4. Under Single Sign-on Settings, click Edit and select the SAML enabled checkbox.
  5. Click Save.
  6. In SAML Single Sign-On Settings, click New.
  7. Enter the following information:
    • Name: Google
    • API Name: Google
    • Issuer: The Entity ID you copied from Google in Step 1 above.
    • Identity Provider Certificate: Click Choose File, then select the certificate file you downloaded in Step 1.
    • Set Service Provider Initiated Request Binding: HTTP Redirect 
    • Identity Provider Login URL: The SSO URL you copied in Step 1. 
  8. Click Save.

(Optional) To enable Service Provider-initiated SSO:

  1. Click Domain Managementand thenMy Domain.
  2. In the Authentication Configuration section, click Edit.
  3. In Authentication Service area, check 'Google'. 
  4. Click Save.
Step 3: Enable the Salesforce Sandbox app
  1. Sign in to your Google Admin console.

    Sign in using an account with super administrator privileges (does not end in @gmail.com).

  2. From the Admin console Home page, go to Appsand thenWeb and mobile apps.
  3. Select Salesforce Sandbox.
  4. Click User access.
  5. To turn on or off a service for everyone in your organization, click On for everyone or Off for everyone, and then click Save.

  6. (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 On or 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 Inherit to revert to the same setting as its parent, or click Save to keep the new setting, even if the parent setting changes.
        Note: Learn more about organizational structure.
  7. (Optional) Turn on the service for a group of users.
    Use access groups to turn on a service for specific users within or across your organizational units. Learn more

  8. Ensure that your Salesforce Sandbox user account email IDs match those in your Google domain.
Step 4: Verify that the SSO is working

Salesforce Sandbox supports both Identity Provider (IdP) initiated and Service Provider (SP) initiated SSO. Follow these steps to verify SSO in either mode:

IdP-initiated

  1. Sign in to your Google Admin console.

    Sign in using an account with super administrator privileges (does not end in @gmail.com).

  2. From the Admin console Home page, go to Appsand thenWeb and mobile apps.
  3. Select Salesforce Sandbox.
  4. At the top left, click Test SAML login

    Salesforce Sandbox should open in a separate tab. If it doesn’t, use the information in the resulting SAML error messages to update your IdP and SP settings as needed, then retest SAML login.

SP-initiated

  1. Open https://your-domain-name.my.salesforce.com.
  2. You should be automatically redirected to the Google sign in page.
  3. Enter your sign in credentials.
  4. After your sign in credentials are authenticated, you are automatically redirected back to Salesforce Sandbox.
Step 5: Set up auto-provisioning for Salesforce Sandbox

As a super administrator, you can automatically provision users in the Salesforce Sandbox application.

 


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?

Need more help?

Sign in for additional support options to quickly solve your issue

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
Search Help Center
true
73010
false