Skip to content

HubSpot

INFO

The HubSpot connector is a Scripted API connector. Please refer to the Scripted API documentation for more details.

The HubSpot connector allows data synchronization between HubSpot and RAC/M Identity. To do this, the connector uses the HubSpot Rest API. The API documentation is available at https://developers.hubspot.com/docs/api/overview.

Like all scripts used by the Scripted API connector, this connector can be modified to meet specific requirements. You can refer to other reference scripts to see how scripts can be modified.

Configuration

The following parameters are required for all Scripted API connectors:

ConfigurationDescription
Script PathPath to the Groovy script. Ex: /usr/local/racm-identity/ICF/reference-scripts/scripted-api-1.9.0.0/hubspot.groovy.
See section Script Creation
API URLURL of the API to connect to.
Custom Config 1The grant_type.
Custom Config 2The client_id.
Custom Secret 1The client_secret.
Preferred Authentication MethoduserToken or password
Authentication URLThe URL used for authentication.

Advanced Configuration

ConfigurationDescription
TimeoutTimeout in milliseconds.
Thread Pool SizeThe number of threads to be used for concurrent operations. Leave empty to use all available threads.
Time between retriesThe waiting time before an HTTP request is retried. Leave empty to use 500ms.

The API URL should be https://api.hubapi.com/settings/v3/users.

Authentication

The connector supports authentication using "Private App".

You need to create a private app following the instructions at https://developers.hubspot.com/docs/api/private-apps. The following scopes are required for the connector to function:

  • settings.users.read
  • settings.users.write
  • settings.users.teams.read
  • settings.users.teams.write

You will then need to retrieve your "Access Token" from the "Details" tab. This value will be used as the "Bearer Token".

When configuring the connector, you need to provide the following information:

ConfigurationShould contain
Bearer TokenLe "Access Token".
Preferred Authentication MethodBearer