HubSpot Query authentication guide
This is a step-by-step guide to acquiring credentials for authorizing the HubSpot Query component for use in Matillion ETL.
- The HubSpot Query connector can use OAuth or Private App Token for third-party authentication. Both methods are described here.
- While connector properties may differ between cloud data warehouses, the authentication process remains the same.
Prerequisites (OAuth)
Begin by creating an OAuth entry in Matillion ETL, as described in Manage OAuth. You should then create an authentication app in the HubSpot Developer portal, as described below.
Acquiring third-party credentials (OAuth)
- Open HubSpot Accounts in a browser and enter valid login credentials to continue.
-
On the HubSpot Accounts dashboard, click the name of the account you will use to create the app.
Note
- This must be an app developer account.
- You may be asked to provide additional login credentials to open the account.
-
On the HubSpot Developer Home page, click Manage apps.
- On the Apps page, click Create app in the top-right of the page.
- In the App info tab of the new app, enter a name for the app in the Public app name field. The Description and App logo fields are not needed to complete the OAuth.
- Click the Auth tab, and in the Redirect URL field enter the Callback URL copied from the Manage OAuth dialog in Matillion ETL.
- Click Create app.
-
Copy the Client ID and Client secret codes. These will be required to complete the OAuth configuration in Matillion ETL.
Note
- You will need to click Show before the Client secret code can be copied.
- When copying the codes, some browsers may add a space to the end of the string. Watch out for this as it will cause the credentials to fail.
-
Return to the Manage OAuth dialog in Matillion ETL to complete the OAuth configuration with the Client ID and Client secret.
Acquiring third-party credentials (Private App Token)
- Open HubSpot Accounts in a browser and enter valid login credentials to continue.
-
On the HubSpot Accounts dashboard, click the name of the account you will use to obtain the token.
Note
- This must be an app developer account.
- You may be asked to provide additional login credentials to open the account.
-
On the HubSpot Developer Home page, click Manage apps.
- On the Apps page, click Get HubSpot API key in the top-right of the page.
- In the Developer App key dialog, click Show key.
- Copy the contents of the revealed API key field, then close the dialog.
- In Matillion ETL, you can paste this copied key directly into the Private App Token field of the HubSpot Query component, or the key can be stored in the Password Manager for future use.