HubSpot OAuth Account

In this article

Overview

Use this account type to connect HubSpot Snaps Snaps with data sources that use HubSpot Oauth accounts.

Prerequisites

Limitations and Known Issues

None.

Account Settings

HubSpot OAuth Account_account_settings.png
  • Asterisk ( * ): Indicates a mandatory field.

  • Suggestion icon ( ): Indicates a list that is dynamically populated based on the configuration.

  • Expression icon ( ): Indicates the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.

  • Add icon ( ): Indicates that you can add fields in the fieldset.

  • Remove icon ( ): Indicates that you can remove fields from the fieldset.

Field

Data Type

Description

Field

Data Type

Description

Label*


Default Value: N/A
Example: HubSpot_Oauth_Account 

String

Enter a name for the account. We recommend that you update the account name if there is more than one account in your project.

Client ID*


Default Value: N/A
Example: c1a5c1750-41kk-88ba-b2l5-2283fec8g874

String

Enter the client ID associated with your HubSpot account. You can create a client ID by following the steps of the application provider. An example and its meaning can be found here.

Client secret*


Default Value: N/A
Example: <Encrypted>

String

Enter the client secret for the client ID specified above. You can create a client secrect by following the steps of the application provider. An example and its meaning can be found here.

Access token*

 

Default Value: N/A
Example: <Encrypted>

String

Auto-generated after authorization. The access token for your HubSpot account.

Refresh token*


Default Value: N/A
Example: <Encrypted>

String

Auto-generated after authorization. The refresh token for your HubSpot account.

Access token expiration*


Default Value: N/A
Example: 1680682595

String

Auto-generated after authorization. The access token's expiration time in milliseconds.



Auth end point config

Redirect uri*


Default Value: https://elastic.snaplogic.com/api/1/rest/admin/oauth2callback/HubSpot
Example: https://emea.snaplogic.com/api/1/rest/admin/oauth2callback/HubSpot

String

Specify the Redirect URI in the following format: 
https://<control-plane-name>.snaplogic.com/api/1/rest/admin/oauth2callback/<snap-pack-name>
where the <control-plane-name> corresponds to the domain part of your SnapLogic URL—elastic (global control plane) or emea (EMEA control plane).
For example:
https://emea.snaplogic.com/api/1/rest/admin/oauth2callback/hubspot
https://elastic.snaplogic.com/api/1/rest/admin/oauth2callback/hubspot

Requests are redirected to this URL after app access is granted.