Skip to content

Provision HubSpot users with SCIM through Okta

Last updated: January 29, 2024

Available with any of the following subscriptions, except where noted:

Marketing Hub Enterprise
Sales Hub Enterprise
Service Hub Enterprise
CMS Hub Enterprise

Provisioning users through SCIM (the System for Cross-domain Identity Management) provides a secure and automated way to create and manage HubSpot users through Okta.

Below, learn how to set up user provisioning through Okta.

Prerequisites

Set up SCIM provisioning

To set up SCIM user provisioning through Okta, you'll need to first add the HubSpot app in Okta, then assign users to the app:

  • Log in to Okta.
  • In the left sidebar menu, select Applications Applications, then browse for and add the HubSpot application in your Okta account.
  • In the HubSpot application screen, click the Provisioning tab, then click Configure API Integration

    okta-configure-api-integration
  • Select the Enable API integration checkbox, then click Authenticate with HubSpot. A new window will open where you can give Okta access to your HubSpot account.
  • In the HubSpot window, select which account you want to integrate Okta with, then click Choose account.
  • Click Connect app. The window will close, and you'll be directed to the Okta admin console.
  • Click Save.
  • On the Provisioning tab, select how you want Okta to provision users to HubSpot by clicking Edit.
     okta-scim-provisioning-options0
  • Select the Enable checkboxes next to Create UsersUpdate User Attributes, and Deactivate Users to configure the integration.
  • Click Save.
  • Then, assign users to the HubSpot app.

Verify your domain

After adding the HubSpot app through Okta, you'll need to verify your domain in HubSpot by updating your DNS records. 

    • In your HubSpot account, click the settings settings icon in the main navigation bar.
    • In the left sidebar menu, navigate to Integrations > Connected Apps.
    • Click Okta SCIM.

Okta

    • In the Domain field, enter your users’ email sending domain.

SCIM_Domain

    • Click Save.
    • Click Verify it now.

SCIM_Verify

    • In the dialog box, select Next.
    • Copy the value in the Value column. You’ll then use this value when creating a new TXT record in your DNS provider
    • Log in to your DNS provider account, then create a new TXT record for the domain you’re verifying. Paste the value copied from HubSpot into the Value/Points To/Target field. 
    • After you've created the TXT record, navigate back to HubSpot, then click Next. Once the DNS changes propagate, the domain will be verified.

SCIM_Verify3

Please note: it can take up to 48 hours for the DNS changes to propagate and reflect in HubSpot.

Disable SCIM provisioning

To disable SCIM provisioning in HubSpot, you must uninstall Okta SCIM in HubSpot before making any changes in your Okta account. 

  • In your HubSpot account, click the settings settings icon in the main navigation bar.
  • In the left sidebar menu, navigate to Integrations > Connected Apps.
  • Under the Okta SCIM app, click the Actions dropdown menu, then click Uninstall.
  • In your Okta account, users will become editable and will no longer be synced with SCIM.

FAQ

Can users created through SCIM be edited in HubSpot?

No. A user created through SCIM can only be updated through your identity provider. This includes user permissions, user name, and email address. 

Can Okta assign users to teams?

No. However, after the user is added to HubSpot, you can update their team manually in HubSpot.

What happens if I delete a SCIM user in HubSpot or Okta?

Deleting a user in HubSpot will not delete the user in Okta. However, if you remove a user's access to HubSpot from Okta, or deactivate their account in Okta, the user will be deleted in HubSpot. Adding a user to HubSpot will not add the user to Okta.

What happens to existing users in my HubSpot account when I connect Okta?

After setting up SCIM through Okta, any existing HubSpot users that match users in Okta will automatically be converted to SCIM users. HubSpot will attempt to assign the user a permission set based on their Role in Okta. If the user does not have a role in Okta that matches a permission set in HubSpot, the user will have only minimal permissions in HubSpot. 

I'm seeing the error "This domain couldn't be verified", how do I fix this?

If you are seeing this error, ensure your domain has been entered correctly with no spelling mistakes. Also, check that you have copied the correct value for the TXT record from the Configuration step in HubSpot into your DNS provider. 

Was this article helpful?
This form is used for documentation feedback only. Learn how to get help with HubSpot.