In this article
Overview
Use this account type to connect HubSpot Snaps Snaps with data sources that use HubSpot Oauth accounts.
Prerequisites
- HubSpot developer account
- HubSpot app
- Valid app Client ID
- Valid app Client Secret
- App redirect URI
- App scopes
Limitations
None.
Known Issues
None.
Account Settings
Parameter | Data Type | Description | Default Value | Example |
---|---|---|---|---|
Label | String | Required. Enter a name for the account. We recommend that you update the account name if there is more than one account in your project. | N/A | HubSpot_Oauth_Account |
Client ID | String | Required. 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. | N/A | N/A |
Client secret | String | Required. 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. | N/A | N/A |
Access token | String | Required. The access token for your HubSpot account. Auto-generated after authorization. | N/A | N/A |
Refresh token | String | Required. The refresh token for your HubSpot account. Auto-generated after authorization. | N/A | N/A |
Access token expiration | String | Required. The access token's expiration time in milliseconds. Auto-generated after authorization. | N/A | N/A |
Redirect uri | String | Required. Enter the redirect URL, set up in the HubSpot App. Requests are redirected to this URL after app access is granted. | https://elastic.snaplogic.com/api/1/rest/admin/oauth2callback/HubSpot | https://elastic.snaplogic.com/api/1/rest/admin/oauth2callback/HubSpot |
Application scope | String | Required. Specify the scopes set up in the HubSpot App. Separate multiple scopes with space. | OAuth | OAuth |
Optional scopes | String | Specify the optional scopes to grant access to. Separate multiple scopes with space. | All HubSpot scopes | automation business-intelligence contacts content |
Auto-refresh token | Checkbox | Select to refresh the access token automatically using the refresh token. | Not selected. | Not selected. |