HubSpot

API KeyCRM & MarketingOrg connection

Org-level connection

HubSpot is connected once at the org level by an admin. The credential is shared across all groups that have been granted access — individual team members don't need to connect their own accounts.

Getting your API key

1

Go to HubSpot → Settings → Integrations → Private Apps

2

Click "Create a private app"

3

Under Scopes, enable the access you need

4

Create the app and copy the access token

5

Paste it below

Ready to connect?

Go directly to the integrations page in your dashboard.

Open Integrations →

Permissions (scopes)

These are the data scopes On Belay can be granted for HubSpot. Your org admin controls which scopes are enabled per group.

ScopeDescriptionAccess
contacts:readRead contactsRead only
contacts:writeWrite contactsRead / Write
companies:readRead companiesRead only
companies:writeWrite companiesRead / Write
deals:readRead dealsRead only
deals:writeWrite dealsRead / Write
content:readRead contentRead only
content:writeWrite contentRead / Write
analytics:readRead analyticsRead only

Troubleshooting

"Invalid API key" or "Unauthorized" error

Double-check that you copied the full key without any leading/trailing spaces. Some platforms show a truncated preview — make sure to copy the full token. If the key was generated with restricted scopes, verify it includes the permissions listed above.

Connected but Claude can't access data

Check that your group has been granted access to this integration in On Belay → Groups → [your group] → Integrations. Also verify the specific scopes your group is permitted to use match what your query requires.

The key expires or stops working

Some API keys have expiration policies. Generate a new key in HubSpot and update it in On Belay → Integrations → HubSpot → Update key. Consider creating a dedicated service account or machine user for On Belay so the key isn't tied to a personal account.

Still stuck? We're happy to help.

Contact support →