Connect iPaaS uses APIKey authorization and OAuth authorization. By linking your HubSpot account with Connect iPaaS using OAuth authorization, you can authorize RoboMQ to have a delegated access on your behalf. RoboMQ needs the following permissions on your account to provide a seamless integration experience:
|Tickets||Read and write tickets Permission|
|Contacts||Read and write contacts permission|
|User and Account Information||Access to read information about user and account|
Please refer to "An Integration with OAuth 2.0" to know more about OAuth 2.0 and the scopes in HubSpot.
Using the API Key connection mechanism, you can authorize Connect iPaaS to have the same level of access as the principal user of the account that generated the API key. These permissions may be more permissive than what could be achieved using OAuth. For security considerations, we recommend using OAuth wherever available.
Create an APIKey Connection¶
For the API key connection, you need to provide an API key to set up the connection.
How to get API Key in HubSpot?¶
Use your HubSpot account email address and password to sign in to the HubSpot Console.
In your HubSpot account, click the settings icon in the main navigation bar.
In the left sidebar menu, navigate to Integrations > API key.
If a key has never been generated for your account, click the
Create Keybutton.Figure 1. HubSpot API key Generation
If you've already generated an API key, click
Showto display your key.
With the key displayed, click
Copyto copy the key.
How to create a HubSpot connection on Connect iPaaS using API Key?¶
Now that you have your API key, you can now use it to connect your HubSpot account in Connect iPaaS. Choose connection type
APIKey and paste the API Key value you copied earlier.
Create an OAuth 2.0 Connection¶
HubSpot uses OAuth 2.0 Authentication to enable users to authorize their content. For the Oauth connection, you need to provide your HubSpot account email address and password to set up. This authentication type allows you to grant access to Connect iPaaS by obtaining a token.
- Enter the name for your connection, the default name is
Click on the
link accountbutton.Figure 3. OAuth 2.0 Connection for HubSpot on RoboMQ Connect
Enter your HubSpot credentials i.e. your Email address and Password.Figure 4. HubSpot credentials
Select any service account from the list of accounts that you want to link with Connect.Figure 5. Choose Account
You will be redirected to the application page where you can check
permissionsand allow RoboMQ to access your account.
By allowing access, you are authorizing RoboMQ to access your HubSpot account.