HubSpot 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 HubSpot

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

Step 1: Get the Hub ID for your HubSpot account
  1. Sign in to your HubSpot account as administrator.
  2. Click your account name at top right.

    Your Hub ID is shown in the dropdown menu.

  3. Copy and save the Hub ID. 

Leave HubSpot open, you'll continue with HubSpot SSO setup in step 4 below after performing steps 2 and 3 in the Google Admin console.

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

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

  3. In the Admin console, go to Menu ""and then"" Appsand thenWeb and mobile apps.
  4. Click Add appand thenSearch for apps.
  5. Enter HubSpot in the search field.
  6. In the search results, hover over the HubSpot SAML app and click Select
  7. On the Google Identity Provider details page:
    1. Copy and save the SSO URL and Entity ID.
    2. Download the Certificate.
  8. Click Continue.
  9. On the Service provider details page, edit the ACS URL and Entity ID, replacing {uniqueid-provided-by-sp} with the Hub ID you copied from HubSpot in Step 1 above.
  10. Click Continue.
  11. (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.
  12. (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.
    1. Under Google groups, click in the Search for a group entry field.
    2. Type one or more letters of the group name.
    3. Choose the group name from the dropdown list.
    4. Add additional groups as needed (total groups cannot exceed 75).
    5. Under App 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.

  13. On the Attribute mapping page, click Finish.
Step 3: Enable the HubSpot app
  1. Click User access.
  2. To turn on or off a service for everyone in your organization, click On for everyone or Off for everyone, and then click Save.

  3. (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.
  4. (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

  5. (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

  6. Ensure that your HubSpot user account email IDs match those in your Google domain.
Step 4: Set up HubSpot as a SAML 2.0 service provider (SP)
  1. Return to the browser window where HubSpot is open.
  2. Click the Settings icon in the top navigation bar.
  3. In SecuritySingle Sign-on (SSO) click Set up
  4. Enter the information copied from Google in Step 2 above into the following fields:
    • Identity Provider Identifier or Issuer URL:  Entity ID.
    • Identity Provider Single Sign-on URL:  SSO URL.
    • X.509 Certificate:  Paste the certificate downloaded in Step 2.
  5. Click Verify.

After verification, SSO is enabled in HubSpot.

Step 5: Verify that the SSO is working

HubSpot 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. In the Admin console, go to Menu ""and then"" Appsand thenWeb and mobile apps.
  3. Select HubSpot.
  4. At the top left, click Test SAML login

    HubSpot 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://app.hubspot.com/login, and click Sign in with Google. You should be redirected to the Google sign-in page
  2. Enter your email address and password and click Next.

After your credentials are authenticated, you're automatically redirected back to HubSpot.

 


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
false
false
true
73010
false
false