Create a Private App in HubSpot
A Private App gives your site a token without a login screen. It is the simplest method for one site.
- In HubSpot open Settings > Integrations > Private Apps and create an app.
- On the Scopes tab add the scopes for the objects you use (table below).
- Create the app and copy the access token. It starts with
pat-.
| You want to | Scopes |
|---|---|
| Create or update Contacts | crm.objects.contacts.read, crm.objects.contacts.write, crm.schemas.contacts.read |
| Companies, Deals, Tickets or custom objects | The matching crm.objects.*.read/write and crm.schemas.*.read scopes |
| Add contacts to static lists | crm.lists.read, crm.lists.write |
| Upload files | files |
If a feature shows a permission error, a scope is missing. Add it to the app; the token stays the same.
Next: Connect with the token.