- A HubSpot super admin, or a user with the Developer tools access permission, to create a service key.
- An OpenAPI document that describes the HubSpot endpoints agents should call. HubSpot doesn’t publish one for customers to use, so write one covering just those endpoints, such as reading companies, contacts and tickets.
- The Manage Nexus sources permission in incident.io.
Create a service key
- In HubSpot, go to Development, then Keys → Service keys.
- Click Create service key and give it a name.
- Click Add new scope, select the read scopes agents need, such as
crm.objects.companies.read,crm.objects.contacts.readandcrm.objects.tickets.read, and click Update. - Click Create, confirm, and copy the key.
Connect it in incident.io
- From Extensions, add a connector and choose HTTP API.
- Paste your OpenAPI document.
- Enter
https://api.hubapi.comas the base URL. - Under authentication, choose Bearer token and enter your service key.
- Test the connection, review which operations are enabled and the connector’s default policy, then save.