HubSpot CRM API (v3)
Getting started
In order to start using the hibase connector to the HubSpot CRM API (v3), you need to create a dedicated app within your developer account and authorize it through an OAuth2 authentication flow.
The instructions below make use of Postman's OAuth2 collection, but the same result can be achieved through cURL or similar alternatives.
Register on Postman if you don't already have an account
Import Postman's OAuth2 collection into your workspace
Create a HubSpot developer account if you don't already have one
Click on Manage Apps and then on Create app in the top right corner
Choose a name for the app (for example hibase-connector)
Within the Auth tab of the app creation dialog, select the scopes you want hibase to have access to (for example contacts, companies and deals)
Input the following URL into the Redirect URL field:
https://oauth.pstmn.io/v1/browser-callbackSave the app in HubSpot
Copy the Client ID, Client secret and scopes (space-separated) from HubSpot into the Postman OAuth2 settings
Input the following URL into the Auth URL field in Postman:
https://app.hubspot.com/oauth/authorizeInput the following URL into the Access Token URL field in Postman:
https://api.hubapi.com/oauth/v1/tokenIn Postman, select Send client credentials in body within the Client Authentication field
Click on Get new access token and follow the authentication flow
If the authentication is successful, you will be provided with a Refresh token within the Postman interface
Copy the Refresh token you just received, together with the Client ID and Client secret of the HubSpot app into the HubSpot connector for hibase