Skip to main content

What’s Supported

Supported Actions

The Hubspot connector supports:

Supported Objects

The Hubspot connector supports writing to and reading from the following objects: For each of these objects, the connector supports standard fields (list of standard fields) and custom fields. The Hubspot connector only supports reading from:
  • lists (note: incremental reads not supported for Lists)
  • Users and owners (see below)

Reading users and owners

To read users from your customer’s HubSpot workspace, enable the crm.objects.users.read scope and add users as an object in amp.yaml:
- objectName: users
  destination: defaultWebhook
  schedule: "0 0 * * *"
  requiredFields:
    - fieldName: hs_object_id
      mapToName: userId
    - fieldName: hubspot_owner_id
      mapToName: ownerId
    - fieldName: hs_email
      mapToName: emailAddress

Example Integration

For an example manifest file, visit our samples repo on Github.

Before You Get Started

To integrate HubSpot with Ampersand, you’ll need to create a HubSpot app and obtain:
  • Client ID
  • Client Secret
Choose one of the methods below based on your HubSpot account type.

Creating a HubSpot App

Method 1: New Project Apps

New Project Apps are limited to 25 installs , until the app is listed on the HubSpot Marketplace. We recommend starting the process to publish to HubSpot marketplace as soon you’ve finished building your integration and tested it internally or with a customer. To create a New Project App:
  1. Open the terminal
  2. Install the HubSpot CLI: npm install -g @hubspot/cli
  3. Authenticate using hs account auth and select open HubSpot to get your key Alt text If you already have a personal access key, select “Enter existing personal access key” and skip to Step 7.
  4. Select your account (if prompted)
When you have multiple accounts, you will be prompted to select the account where you want to create the app. Make sure to select the developer account.
Alt text
  1. Create your Personal Access Key and copy it Alt text
  2. Go back to terminal, paste the key and hit Enter Alt text
  3. Create a project: hs project create and follow the prompts
  • Enter your project name: your-project-name
  • Choose where to create the project: your-desired-path
  • Choose what to include in your project: App
  • Choose how to distribute your application: Marketplace (See HubSpot’s distribution options)
  • Choose your authentication type: OAuth
  • Choose which features to add: Leave blank (press Enter)
Alternatively you can use this one line in the terminal:
hs project create --name your-project-name --project-base app --distribution marketplace --auth oauth
Alt text
  1. Configure OAuth redirect URL and scopes
Open the folder where project was created and edit src/app/app-hsmeta.json to add the redirect URL and scopes:
{
  "auth": {
    "type": "oauth",
    "redirectUrls": ["https://api.withampersand.com/callbacks/v1/oauth"],
    "scopes": {
      "required": ["crm.objects.contacts.read", "crm.objects.contacts.write"]
    }
  }
}
  1. Deploy: hs project upload
  • The project does not exist. Would you like to create it?: Yes
Alt text
  1. Get App credentials from DevelopmentProjects
  • Select the project you just created
  • In Project Components, find the OAuth App
  • Go to the Auth tab to find your Client ID and Client Secret
Alt text Jump to Add App to Ampersand.

Method 2: Legacy Apps

Legacy Apps has no install limits but won’t receive new HubSpot features. When you migrate a Legacy App to a new Project App, you will be subject to the 25 install limit until your app is listed in the HubSpot marketplace. Please see HubSpot changelog for more details.
Depending on when you created your HubSpot developer account, you will see different UI.

Developer accounts created after September 2025

  1. Log in to your HubSpot developer account
  2. Navigate to DevelopmentLegacy apps Alt text
If you don’t see the Development menu, you need Super Admin permissions.
  1. Click Create → Select Public Alt text
  2. Enter Public app name and go to the Auth tab Add Redirect URL: https://api.withampersand.com/callbacks/v1/oauth and click “Create app” Alt text
  3. Go to the Scopes section, click “Add new scope” and select your required scopes Alt text
  4. Copy your Client ID and Client Secret from the Auth tab Alt text
Jump to Add App to Ampersand.

Developer accounts created before September 2025

  1. Log in to your HubSpot Developer Dashboard
  2. Click Create an app Alt text
  3. Enter Public app name, click the Auth tab, add Redirect URL: https://api.withampersand.com/callbacks/v1/oauth and click “Create app” Alt text
  4. Go to the Scopes tab and select your required scopes Alt text
  5. Copy your Client ID and Client Secret from the Auth tab Alt text
Jump to Add App to Ampersand

Add App to Ampersand

After creating your app using any method above:
  1. Log in to your Ampersand Dashboard
  2. Select your project → Provider apps
  3. Select HubSpot from the Provider list
  4. Enter your Client ID, Client Secret, and Scopes and click Save changes.
These scopes must should match the exact set of scopes defined in your HubSpot app.
Alt text

Using the connector

To start integrating with HubSpot:

Customer guide

Share the HubSpot customer guide with your customers to help them use your integration.

Publish to HubSpot Marketplace

When you are ready to list on the HubSpot marketplace, follow the instructions in the HubSpot documentation.
  • For the App Information section, you should use information about your company, not about Ampersand.
  • For Install Button URL, use the URL of your application that users go to to start the installation process (this is usually where you’ve embedded the Ampersand UI Component).