HubSpot
Trustle reads users, owners, teams, and roles from HubSpot. Trustle can add and remove users, and change their teams and roles.
Prerequisites
Section titled “Prerequisites”- A HubSpot account with the Super Admin permission. Only a Super Admin can create a private app.
- An identity provider connected in Trustle, for example Okta or Microsoft Entra ID. Trustle hides SaaS Applications until one is connected.
Configure HubSpot
Section titled “Configure HubSpot”Step 1: Create a private app
Section titled “Step 1: Create a private app”-
In the HubSpot Development Console, select Legacy Apps from the left menu.

-
Click Create Legacy App.

-
Select Private.

-
Enter a name, for example
Trustle.
Step 2: Grant permissions
Section titled “Step 2: Grant permissions”-
Click Scopes, then Add new scope.

-
Select each scope:
Permission Required What Trustle does with it settings.users.readYes Imports users. Test Connection uses it. crm.objects.owners.readYes Imports owners. Without it, the sync fails. Test Connection does not check it. settings.users.teams.readYes Imports teams. settings.users.roles.readYes Imports roles. settings.users.writeYes Adds and removes users, and changes their teams and roles. -
Click Update. Then click Create App and Continue Creating.
Step 3: Collect the values for Trustle
Section titled “Step 3: Collect the values for Trustle”-
Select the Auth tab.
-
In Access Token, click Show token, then Copy.

| Trustle field | Where to find it in HubSpot | Example |
|---|---|---|
| Private App Access Token | Auth tab → Access Token | pat-na1-… |
Connect in Trustle
Section titled “Connect in Trustle”- In Trustle, go to Connections.
- Under SaaS Applications, find HubSpot and click Connect.
- Enter a Connection Name, for example
HubSpot production. Description is optional. - Enter the value from Step 3.
- Click Test Connection.
- After the test passes, click Save Connection.
Verify
Section titled “Verify”- On the Connections page, open the HubSpot connection.
- Wait for the first sync to finish.
- Check that the user count and the team count match HubSpot.
If something is missing, see Troubleshooting.
Security notes
Section titled “Security notes”Troubleshooting
Section titled “Troubleshooting”Test Connection fails
Section titled “Test Connection fails”- Access token: copy it again from the Auth tab. It starts with
pat-. - Scope: the app needs
settings.users.read.
Test Connection passes, but the sync fails
Section titled “Test Connection passes, but the sync fails”The app is missing crm.objects.owners.read. Add it in Step 2. Then run the sync again.
Trustle cannot add or remove people
Section titled “Trustle cannot add or remove people”The app is missing settings.users.write. Add it in Step 2.
None of these fixes work
Section titled “None of these fixes work”Email support@trustle.com. Include the error message, the connection name, and the HubSpot account ID. Never send a secret, key, or token.