Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this article

Table of Contents
maxLevel2
absoluteUrltrue

Overview

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

Prerequisites

Limitations

...

None.

and Known Issues

None.

Account Settings

...

...

Info
  • Asterisk ( * ): Indicates a mandatory field.

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

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

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

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

Field

Data Type

Description

Label*


Default Value

Example Label

: N/A
Example: HubSpot_Oauth_Account 

String

Required. Client ID

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

HubSpot_Oauth_Account

Example: c1a5c1750-41kk-88ba-b2l5-2283fec8g874

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

Client secret*


Default Value: N/A

Client secret

Example: <Encrypted>

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

Access token*

Default Value: N/A

Access token

Example: <Encrypted>

String

Required

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

Note

Auto-generated after authorization. 

Refresh token*


Default Value: N/A

N/ARefresh token

Example: <Encrypted>

String

Required

Auto-generated after authorization

The

The refresh token for your HubSpot account.

Note

Auto-generated after authorization. 

Access token expiration

Access token expiration*


Default Value: N/A

N/A

Example: 1680682595

String

Required

Auto-generated after authorization

The https://elastic

The access token's expiration time in milliseconds.

Note

Auto-generated after authorization. 

N/AN/ARedirect uriStringRequired. Enter the redirect URI, set up in the HubSpot App. Requests are redirected to this URL after app access is granted.


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

hubspot
https://elastic.snaplogic.com/api/1/rest/admin/oauth2callback/

HubSpot

hubspot

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

Application scope*


Default Value: OAuth
Example: OAuth

String

Required. Optional

Specify the scopes set up in the HubSpot App. Separate multiple scopes with space.

OAuthOAuth

Optional scopes


Default Value: automation business-intelligence contacts content
Example: All HubSpot scopes

String

Specify the optional scopes to grant access to.

 Separate

 Separate multiple scopes with space.

All HubSpot scopes

automation business-intelligence contacts content

Auto-refresh token


Default Value: Deselected

Checkbox

Select to refresh the access token automatically using the refresh token. 

Not selected.Not selected.


Troubleshooting

Error

Reason

Resolution

Could not complete the connection.

The Install link is no longer Valid. Please Visit HubSpot's App Marketplace to install this App.

This error occurs because of specifying invalid application or optional scopes.

Verify the scopes provided are valid scopes in HubSpot 

Couldn’t complete the connection.

Insufficient scopes were provided. Please contact the app developer.

This error occurs because of insufficient scopes.

Verify all the selected scopes in the HubSpot app are provided as Application scopes in the account.

Snap Pack History

Insert excerpt
HubSpot Snap Pack
HubSpot Snap Pack
nameHubSpot_SPH
nopaneltrue

...

Related Content