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- Sign in to your HubSpot account as administrator.
- Click your account name at top right.
Your Hub ID is shown in the dropdown menu.
-
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.
- Open a new browser window.
-
Sign in to your Google Admin console.
Sign in using an account with super administrator privileges (does not end in @gmail.com).
-
From the Admin console Home page, go to Apps
Web and mobile apps.
-
Click Add app
Search for apps.
- Enter HubSpot in the search field.
- In the search results, hover over the HubSpot SAML app and click Select.
- On the Google Identity Provider details page:
- Copy and save the SSO URL and Entity ID.
- Download the Certificate.
- Click Continue.
- 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.
- Click Continue.
Note: Attribute mapping is not required for HubSpot.
- On the Attribute mapping page, click Finish.
-
Click User access.
-
To turn on or off a service for everyone in your organization, click On for everyone or Off for everyone, and then click Save.
-
(Optional) To turn a service on or off for an organizational unit:
- At the left, select the organizational unit.
- Select On or Off.
- Click Override to keep your setting if the service for the parent organizational unit is changed.
- If Overridden is already set for the organizational unit, choose an option:
- Inherit—Reverts to the same setting as its parent.
- Save—Saves your new setting (even if the parent setting changes).
Learn more about organizational structure.
-
(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 -
(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 - Ensure that your HubSpot user account email IDs match those in your Google domain.
- Return to the browser window where HubSpot is open.
- Click the Settings icon in the top navigation bar.
- In Security > Single Sign-on (SSO) click Set up.
- 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.
- Click Verify.
After verification, SSO is enabled in HubSpot.
HubSpot supports both Identity Provider (IdP) initiated and Service Provider (SP) initiated SSO. Follow these steps to verify SSO in either mode:
IdP-initiated
-
Sign in to your Google Admin console.
Sign in using an account with super administrator privileges (does not end in @gmail.com).
-
From the Admin console Home page, go to Apps
Web and mobile apps.
- Select HubSpot.
- 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
- Open https://app.hubspot.com/login, and click Sign in with Google. You should be redirected to the Google sign-in page
- 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.