Search
Clear search
Close search
Google apps
Main menu

    Salesforce 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.

    As administrator, you have to configure a few things to make it work, including:

    1. Set up the selected application as a SAML service provider (SP).
    2. Set up G Suite as a SAML identity provider (IdP).
    3. Enter application-specific service provider details in Google Admin console.
    4. Turn on single sign-on (SSO) for the application.
    5. Verify that the SSO is working.

    Here's how to set up Single Sign-On (SSO) via SAML for the Salesforce® application.

    Set up Salesforce as a SAML 2.0 service provider (SP)
    1. Start your Salesforce application.
    2. Under Domain Management > My Domain, choose a domain name, entering it in the subdomain box.
    3. Under Security Controls > Single Sign-on Settings, click Edit and select the SAML enabled checkbox.
    4. Click New and fill in all the fields:
      1. Copy the Google Entity ID field value (your-domain-name.my.salesforce.com) into the Issuer field.
      2. Copy the Google Single Sign-On URL field value into the identity provider Login URL field.
      3. Enter your Salesforce domain name (from step 2) into the Entity Id field.
      4. Select HTTP Redirect.
    5. Copy the value for Salesforce Login URL (https://your-domain-name.my.salesforce.com?so={SF provided - domain specific id}). You will paste this into the Admin console ACS URL field (Step 1 under Enter the Salesforce specific service provider details).
    6. Click Save.
    7. Proceed to the next section to set up G Suite as a SAML identity provider (IdP).
    Use the pre configured Salesforce cloud application to set up G Suite as a SAML identity provider (IdP)
    1. In a new browser tab, sign in to your Admin console as a super administrator.
    2. Click Apps SAML apps.
    3. Select the Add a service/App to your domain link or click the plus (+) icon in the bottom corner.
    4. Select the Salesforce item from the list. The values on the Google IDP Information page automatically populate.
    5. There are two ways to collect the service provider Setup information:

      You can copy the Entity ID and the Single Sign-On URL field values and download the X.509 Certificate, paste them into the appropriate service provider Setup fields, and then click Next
      or
      You can download the IDP metadata, upload it into the appropriate service provider Setup fields, and then  come back to the admin console and click Next.
    6. In the Basic application information window, the Application name and Description values automatically populate. You can edit them.
    7. (Optional) Click Choose file next to the Upload Logo field to upload a PNG or GIF file to serve as an icon. The file size should be 256 pixels square.
    8. Click Next.
    Enter the Salesforce specific service provider details in Google Admin console
    1. In the Service Provider Details section, enter the following URLs into the Entity IDACS URL, and Start URL fields:
              ACS URL: https://your-domain-name.my.salesforce.com?so={SF provided - domain specific id}
              Entity ID: your-domain-name.my.salesforce.com
              Start URL: https://your-domain-name.my.salesforce.com
    2. Leave Signed Response unchecked.
      When the Signed Response checkbox is unchecked, only the assertion is signed. When the Signed Response checkbox is checked, the entire response is signed.
    3. The default Name ID is the primary email. Multi-value input is not supported. You can change the Name ID mapping as per your requirement. Custom attributes of the User Schema can also be used after creating them via Google Admin SDK APIs. The custom attributes for the User Schema need to be created prior to setting up the Salesforce SAML App. 
    4. Click Next.
    5. (Optional) Click Add new mapping and enter a new name for the attribute you want to map.
    6. In the drop-down list, first select the Category and then choose a User attribute to map the attribute from the G Suite profile.
    7. Click Finish.
    Turn on SSO for the Salesforce app
    1. Sign in to your Admin console.
    2. Go to Apps SAML apps.
    3. Select Salesforce.
    4. At the top of the gray box, click More Settingsand choose:
      • On for everyone to turn on the service for all users (click again to confirm).
      • Off to turn off the service for all users (click again to confirm).
      • On for some organizations to change the setting only for some users.
    5. Ensure that your Salesforce user account email IDs match those in your G Suite domain.
    Verify that the SSO is working between G Suite and Salesforce
    1. Open https://your-domain-name.my.salesforce.com.
    2. You should be automatically redirected to the G Suite sign-in page.
    3. Enter your sign-in credentials.
    4. After your sign-in credentials are authenticated, you are automatically redirected back to Salesforce.
    Set up user provisioning for Salesforce

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

    Was this article helpful?
    How can we improve it?
    Sign in to your account

    Get account-specific help by signing in with your G Suite account email address, or learn how to get started with G Suite.