Learn how to generate a HubSpot Private App token and use it with the HubDeck audit tool.

HubDeck connects to your HubSpot portal using a Private App token — a secure, scoped API key that gives HubDeck read-only access to your CRM data. Here's how to set one up.
Under the Scopes tab, enable the following read permissions:
crm.objects.contacts.readcrm.objects.companies.readcrm.objects.deals.readcrm.schemas.contacts.readcrm.schemas.companies.readcrm.schemas.deals.readHubDeck only ever reads data — it never writes to your portal. Read permissions are sufficient for the full audit.
Click Create app. HubSpot will generate a token starting with pat-na1- (or the appropriate region prefix). Copy this token — you'll only see it once. Store it somewhere secure, like a password manager.
With your token ready, run:
hubdeck audit --token pat-na1-your-token-here
Or set it as an environment variable to avoid entering it every time:
export HUBSPOT_TOKEN=pat-na1-your-token-here
hubdeck auditOdio ut nibh eget morbi proin elit dolor sit pellentesque vitae scelerisque dolor ligula a suspendisse eros dui consequat urna turpis tristique at urna.


Explore our collection of 200+ Premium Webflow Templates