HubSpot for partners
Connect your HubSpot account to the billing system with a private app, and add account number, status and verification fields to your contacts.
Connect HubSpot to the billing system so your HubSpot contacts show each customer’s account number, account status and verification status. You create a HubSpot private app for the connection, then add three contact properties for the data.
For the HubSpot integration your customers use in their own portal, see HubSpot.
Before you start
Section titled “Before you start”- You need a HubSpot account with permission to create private apps and contact properties.
- HubSpot API keys no longer work. Since 30 November 2022, the connection must use a private app’s access token.
1. Create a HubSpot private app
Section titled “1. Create a HubSpot private app”- In HubSpot, go to Settings › Integrations › Private Apps and click Create a private app.
- Give the app any name and description.
- Open the Scopes section and add these permissions:
- Search for
contactand allowcrm.objects.contactsboth read and write. - Search for
ownerand allowcrm.objects.ownersread.
- Search for
- Click Create app.
- Copy the app’s access token.
- In the partner portal, go to Integrations/API › HubSpot.
- Tick Enable Integration and paste the token into Private app’s access token.
- Click Validate, then Save.
The same page has optional settings that are applied when a new customer account creates a HubSpot contact: Contact owner, Lifecycle stage, Lead status (for new customer account), Lead status (when customer account deleted) and Original source.
The Account number, status and verification status line on that page isn’t a setting. It links to help on creating the contact properties below.
2. Create the contact properties
Section titled “2. Create the contact properties”- In HubSpot, go to Settings › Objects › Contacts › Manage contact properties.
- Click Create property.
- Create three properties, one at a time, with these values. Click Next after the first screen and Create at the end.
| Group | Label | Description (your choice) | Field type |
|---|---|---|---|
| Contact information | account_number |
Customer account number | Single-line text |
| Contact information | account_status |
Customer account status | Single-line text |
| Contact information | verification_status |
Customer verification status | Single-line text |
Use the labels exactly as shown. The billing system writes to these properties.
3. Show the properties on contact records
Section titled “3. Show the properties on contact records”- In HubSpot, go to Settings › Objects › Contacts › Record Customisation › Choose properties for default sidebar and click Edit.
- Search for
account_and add the new properties. Addverification_statustoo. - Click Save.
Check it works
Section titled “Check it works”Open the HubSpot contact for one of your customers. The sidebar summary should show the account number, account status and verification status.