Authorizations Supported
The XO Platform supports OAuth 2.0 for HubSpot. See Setting Up Authorization Using OAuth v2 for details.| Authorization Type | OAuth – System | OAuth – Custom |
|---|---|---|
| Pre-authorize the Integration | Yes | Yes |
| Allow Users to Authorize the Integration | Yes | Yes |
Step 1: Enable the HubSpot Action
Prerequisites:- Create a developer account in HubSpot. See HubSpot Developer Center for details.
- Copy the Client ID and Client Secret key values.
- Go to App Settings > Integrations > Actions.
- In the Available section, select HubSpot.
Pre-authorize the Integration
System Authorization Pre-authorize with Kore.ai’s preconfigured HubSpot app:- Go to App Settings > Integrations > Actions and select HubSpot.
- In Configurations, select the Authorization tab.
- Set Authorization Type to Pre-authorize the Integration > OAuth.
-
Select the System card and click Authorize.
-
You are redirected to
login.hubspot.com. Enter your developer account credentials.
- Select a HubSpot account and click Choose Account.
- Click Enable.
-
Select Custom and click Select Authorization > Create New.
-
Select OAuth v2. See Setting Up Authorization Using OAuth v2.
-
Enter the OAuth v2 credentials:
- Call back URL
- Identity Provider Name
- Client ID
- Client Secret
- Authorization URL
- Token Request URL
- Scope
- Refresh Token URL
- Click Save Auth, select the new profile, then click Authorize.
-
Enter credentials at
login.hubspot.com.
-
Select a HubSpot account, click Choose Account, then click Enable.
The HubSpot action moves from Available to Configured after enabling.
Allow End User to Authorize
System Authorization- Go to App Settings > Integrations > Actions and select HubSpot.
- In Configurations, select the Authorization tab.
- Set Authorization Type to Allow Users to Authorize the Integration > OAuth.
- Select the System card.
-
Click Enable. A link is sent to the end user to authorize integration.
- Select Allow Users to Authorize the Integration > OAuth > Custom.
-
Click Select Authorization > Create New and follow the Custom Authorization steps above.
You can also select an existing profile:
- Click Enable.
Step 2: Install the HubSpot Action Templates
-
On the Integration Successful dialog, click Explore Templates.
-
In the Integration Templates dialog, click Install.
- Once installed, the associated dialog task is auto-created. Click Go to Dialog or go to Automation AI > Use Cases > Dialogs.
- To use the templates, see Using HubSpot Templates.