> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ampup.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# HubSpot

> Connect HubSpot CRM to sync your sales data with AmpUp

Connect your HubSpot CRM to AmpUp to sync contacts, companies, deals, and engagement data. AmpUp uses this data to provide context-aware coaching and track the impact of improved sales behaviors on your pipeline.

## Prerequisites

Before connecting HubSpot, ensure you have:

<Check>HubSpot Super Admin or Admin access</Check>
<Check>Sales Hub Professional or Enterprise (for full features)</Check>
<Check>AmpUp admin access for your organization</Check>
<Check>HubSpot Client ID and Client Secret (see [Create a HubSpot App](#create-a-hubspot-app) below)</Check>

<Info>
  These credentials are required to establish a secure link between HubSpot and AmpUp. Once connected, your data will be encrypted in transit and at rest, and synced periodically to keep AmpUp up to date with your latest CRM data.
</Info>

## Create a HubSpot App

Before connecting HubSpot to AmpUp, you'll need to create a HubSpot app to obtain your Client ID and Client Secret. There are two methods depending on when your HubSpot developer account was created.

<Tabs>
  <Tab title="Legacy Apps (Accounts after Sept 2025)">
    For developer accounts created **after September 2025**, use this method.

    <Steps>
      <Step title="Navigate to Legacy Apps">
        Log into your HubSpot developer account and go to **Development** → **Legacy apps**.

        <Frame caption="Navigate to Legacy apps">
          <img src="https://mintcdn.com/ampup/PV0WrbHNYtje13n0/images/integrations/hubspot-setup/hubspot-new-dev-1.gif?s=641214c218b29192e16a33d2c19bfa84" alt="Navigate to Legacy apps" width="640" height="318" data-path="images/integrations/hubspot-setup/hubspot-new-dev-1.gif" />
        </Frame>
      </Step>

      <Step title="Create a Legacy App">
        Click **Create** → select **Public**.

        <Frame caption="Create a legacy public app">
          <img src="https://mintcdn.com/ampup/PV0WrbHNYtje13n0/images/integrations/hubspot-setup/hubspot-new-create-legacy-app.gif?s=a01eb66c5e2dd146a8e16d0dc2e24abd" alt="Create legacy app" width="640" height="422" data-path="images/integrations/hubspot-setup/hubspot-new-create-legacy-app.gif" />
        </Frame>
      </Step>

      <Step title="Configure the app">
        Enter a name for your public app, then go to the **Auth** tab.

        Add this redirect URL:

        ```
        https://api.withampersand.com/callbacks/v1/oauth
        ```

        Click **Create app**.
      </Step>

      <Step title="Add scopes">
        Go to the **Scopes** section, click **Add new scope**, and add the following scopes:

        ```
        oauth
        crm.objects.contacts.read
        crm.objects.contacts.write
        crm.objects.companies.read
        crm.objects.companies.write
        crm.objects.deals.read
        crm.objects.deals.write
        crm.objects.owners.read
        crm.objects.meetings.read
        crm.objects.notes.read
        crm.objects.tasks.write
        crm.schemas.contacts.read
        crm.schemas.companies.read
        crm.schemas.deals.read
        sales-email-read
        ```
      </Step>

      <Step title="Copy your credentials">
        Copy the **Client ID** and **Client Secret** from the **Auth** tab.
      </Step>
    </Steps>
  </Tab>

  <Tab title="New Project Apps (Recommended)">
    This method uses the HubSpot CLI to create a new project-based app. This is the recommended approach for all new HubSpot apps.

    <Warning>
      New Project Apps are limited to 25 installs until listed on the HubSpot Marketplace.
    </Warning>

    <Steps>
      <Step title="Install HubSpot CLI">
        Open your terminal and install the HubSpot CLI:

        ```bash theme={null}
        npm install -g @hubspot/cli
        ```
      </Step>

      <Step title="Authenticate with HubSpot">
        Run the authentication command and select the option to open HubSpot in your browser to generate a personal access key:

        ```bash theme={null}
        hs account auth
        ```

        <Frame caption="HubSpot CLI authentication prompt">
          <img src="https://mintcdn.com/ampup/PV0WrbHNYtje13n0/images/integrations/hubspot-setup/hubspot-cli-account-auth.png?fit=max&auto=format&n=PV0WrbHNYtje13n0&q=85&s=bf835ca59ba39ca2b74b4131b2746d3e" alt="HubSpot CLI account auth" width="4096" height="1620" data-path="images/integrations/hubspot-setup/hubspot-cli-account-auth.png" />
        </Frame>

        If you already have a personal access key, select **Enter existing personal access key** and skip to Step 5.
      </Step>

      <Step title="Select your developer account">
        If you have multiple HubSpot accounts, make sure to select your **developer account**.
      </Step>

      <Step title="Create and copy your Personal Access Key">
        In the browser, create a new Personal Access Key and copy it.

        <Frame caption="Creating a Personal Access Key in HubSpot">
          <img src="https://mintcdn.com/ampup/PV0WrbHNYtje13n0/images/integrations/hubspot-setup/hubspot-cli-create-key.gif?s=c2192dcb01c76a22f665a6f2942f2039" alt="Create Personal Access Key" width="640" height="423" data-path="images/integrations/hubspot-setup/hubspot-cli-create-key.gif" />
        </Frame>
      </Step>

      <Step title="Paste the key in terminal">
        Return to your terminal, paste the key, and press Enter.

        <Frame caption="Pasting the access key in terminal">
          <img src="https://mintcdn.com/ampup/PV0WrbHNYtje13n0/images/integrations/hubspot-setup/hubspot-cli-paste-key.png?fit=max&auto=format&n=PV0WrbHNYtje13n0&q=85&s=d455ea64bdf54bff090b60f4eedb125f" alt="Paste access key in terminal" width="4096" height="1680" data-path="images/integrations/hubspot-setup/hubspot-cli-paste-key.png" />
        </Frame>
      </Step>

      <Step title="Create a new project">
        Run the following command to create a new HubSpot project:

        ```bash theme={null}
        hs project create --name your-project-name --project-base app --distribution marketplace --auth oauth --features
        ```
      </Step>

      <Step title="Configure OAuth settings">
        Open the created project folder and edit `src/app/app-hsmeta.json`. Replace the `auth` section with the following:

        ```json theme={null}
        {
          "auth": {
            "type": "oauth",
            "redirectUrls": ["https://api.withampersand.com/callbacks/v1/oauth"],
            "requiredScopes": [
              "oauth",
              "crm.objects.contacts.read",
              "crm.objects.contacts.write",
              "crm.objects.companies.read",
              "crm.objects.companies.write",
              "crm.objects.deals.read",
              "crm.objects.deals.write",
              "crm.objects.owners.read",
              "crm.objects.meetings.read",
              "crm.objects.notes.read",
              "crm.objects.tasks.write",
              "crm.schemas.contacts.read",
              "crm.schemas.companies.read",
              "crm.schemas.deals.read",
              "sales-email-read"
            ],
            "optionalScopes": [],
            "conditionallyRequiredScopes": []
          }
        }
        ```

        <Info>
          The scopes above include write access for contacts, companies, and deals to support write-back features like logging call summaries and action items.
        </Info>
      </Step>

      <Step title="Deploy the project">
        Upload the project to HubSpot:

        ```bash theme={null}
        hs project upload
        ```

        Select **yes** when prompted to create the new project.

        <Frame caption="Deploying the HubSpot project">
          <img src="https://mintcdn.com/ampup/PV0WrbHNYtje13n0/images/integrations/hubspot-setup/hubspot-cli-deploy-project.png?fit=max&auto=format&n=PV0WrbHNYtje13n0&q=85&s=5da47b1b2b44c8c50959dd77dbe20a69" alt="Deploy HubSpot project" width="4096" height="2472" data-path="images/integrations/hubspot-setup/hubspot-cli-deploy-project.png" />
        </Frame>
      </Step>

      <Step title="Accept the Acceptable Use Policy">
        Navigate to the **Development** tab in your HubSpot portal.

        <Frame caption="HubSpot Development tab">
          <img src="https://mintcdn.com/ampup/PV0WrbHNYtje13n0/images/integrations/hubspot-setup/hubspot-development-tab.png?fit=max&auto=format&n=PV0WrbHNYtje13n0&q=85&s=893b1efa0ca55e5559f47369895290cb" alt="HubSpot Development tab" width="550" height="310" data-path="images/integrations/hubspot-setup/hubspot-development-tab.png" />
        </Frame>

        Select your project.

        <Frame caption="Select your project">
          <img src="https://mintcdn.com/ampup/PV0WrbHNYtje13n0/images/integrations/hubspot-setup/hubspot-select-project.png?fit=max&auto=format&n=PV0WrbHNYtje13n0&q=85&s=80e8068748a5bd186d5508b684c30baf" alt="Select project" width="3056" height="1530" data-path="images/integrations/hubspot-setup/hubspot-select-project.png" />
        </Frame>

        Click on the app in the **Project Components** section.

        <Frame caption="Select the app">
          <img src="https://mintcdn.com/ampup/PV0WrbHNYtje13n0/images/integrations/hubspot-setup/hubspot-select-app.png?fit=max&auto=format&n=PV0WrbHNYtje13n0&q=85&s=175c1ab83512ffe4199db04042e41022" alt="Select app" width="3010" height="1454" data-path="images/integrations/hubspot-setup/hubspot-select-app.png" />
        </Frame>

        Go to the **Distribution** tab, click **Begin Publishing**, and complete the Acceptable Use Policy step.

        <Frame caption="Accept the Acceptable Use Policy">
          <img src="https://mintcdn.com/ampup/PV0WrbHNYtje13n0/images/integrations/hubspot-setup/hubspot-acceptable-use-policy.gif?s=2d1e4e9baae6111ae197510a39f898bd" alt="Accept Acceptable Use Policy" width="1508" height="868" data-path="images/integrations/hubspot-setup/hubspot-acceptable-use-policy.gif" />
        </Frame>
      </Step>

      <Step title="Copy your credentials">
        Go to the **Auth** tab of your app. Copy the **Client ID** and **Client Secret** — you'll need these when connecting HubSpot in AmpUp.

        <Frame caption="HubSpot Auth tab with credentials">
          <img src="https://mintcdn.com/ampup/PV0WrbHNYtje13n0/images/integrations/hubspot-setup/hubspot-auth.png?fit=max&auto=format&n=PV0WrbHNYtje13n0&q=85&s=ee61c264dfc1492614b8b0c633ffbc6b" alt="HubSpot Auth credentials" width="3024" height="1460" data-path="images/integrations/hubspot-setup/hubspot-auth.png" />
        </Frame>
      </Step>
    </Steps>
  </Tab>

  <Tab title="Legacy Apps (Accounts before Sept 2025)">
    For developer accounts created **before September 2025**, use this method.

    <Steps>
      <Step title="Create an app">
        Log into your [HubSpot Developer Dashboard](https://developers.hubspot.com/) and click **Create an app**.

        <Frame caption="Create a new app in HubSpot">
          <img src="https://mintcdn.com/ampup/PV0WrbHNYtje13n0/images/integrations/hubspot-setup/hubspot-old-create-app.gif?s=cdeafc5538442d5d0fe3e02149e84139" alt="Create app in HubSpot" width="1438" height="722" data-path="images/integrations/hubspot-setup/hubspot-old-create-app.gif" />
        </Frame>
      </Step>

      <Step title="Configure Auth settings">
        Enter a name for your public app, then navigate to the **Auth** tab.

        Add this redirect URL:

        ```
        https://api.withampersand.com/callbacks/v1/oauth
        ```

        Click **Create app**.

        <Frame caption="Configure redirect URL">
          <img src="https://mintcdn.com/ampup/PV0WrbHNYtje13n0/images/integrations/hubspot-setup/hubspot-old-portal-2.gif?s=ce89a0c405b93039f44e81bbb5c75b37" alt="Configure redirect URL" width="640" height="319" data-path="images/integrations/hubspot-setup/hubspot-old-portal-2.gif" />
        </Frame>
      </Step>

      <Step title="Add scopes">
        Go to the **Scopes** tab and add the following scopes:

        ```
        oauth
        crm.objects.contacts.read
        crm.objects.contacts.write
        crm.objects.companies.read
        crm.objects.companies.write
        crm.objects.deals.read
        crm.objects.deals.write
        crm.objects.owners.read
        crm.objects.meetings.read
        crm.objects.notes.read
        crm.objects.tasks.write
        crm.schemas.contacts.read
        crm.schemas.companies.read
        crm.schemas.deals.read
        sales-email-read
        ```

        <Frame caption="Select scopes">
          <img src="https://mintcdn.com/ampup/PV0WrbHNYtje13n0/images/integrations/hubspot-setup/hubspot-old-scopes.gif?s=1024931a0d50d4e16bf3398b6ae03a90" alt="Select scopes" width="1440" height="724" data-path="images/integrations/hubspot-setup/hubspot-old-scopes.gif" />
        </Frame>
      </Step>

      <Step title="Copy your credentials">
        Copy the **Client ID** and **Client Secret** from the **Auth** tab.

        <Frame caption="Copy credentials">
          <img src="https://mintcdn.com/ampup/PV0WrbHNYtje13n0/images/integrations/hubspot-setup/hubspot-old-credentials.gif?s=34b6687e1baedc43cac2c5f86b2f5d03" alt="Copy credentials" width="526" height="648" data-path="images/integrations/hubspot-setup/hubspot-old-credentials.gif" />
        </Frame>
      </Step>
    </Steps>
  </Tab>
</Tabs>

## What Data Syncs

### From HubSpot to AmpUp

| Object          | Fields Synced                                        |
| --------------- | ---------------------------------------------------- |
| **Companies**   | Name, domain, industry, size, revenue, description   |
| **Contacts**    | Name, email, phone, title, company association       |
| **Deals**       | Name, stage, amount, close date, associated contacts |
| **Engagements** | Calls, emails, meetings, notes                       |
| **Owners**      | Name, email, team assignment                         |

### From AmpUp to HubSpot

| Data Type            | Description                                  |
| -------------------- | -------------------------------------------- |
| **Meeting Notes**    | AI-generated call summaries as engagements   |
| **Activity Logging** | Coaching sessions logged to contact timeline |
| **Deal Updates**     | Next steps and action items                  |

## Connect HubSpot

<Steps>
  <Step title="Navigate to Integrations">
    In AmpUp, go to **Settings** → **Integrations** → **HubSpot**.
  </Step>

  <Step title="Enter Provider Credentials">
    Click the **Connect HubSpot** button. AmpUp will prompt you to enter the **Client ID** and **Client Secret** from the HubSpot app you created above. AmpUp securely stores these credentials and uses them to establish the OAuth connection.

    <Frame caption="HubSpot Configuration">
      <img src="https://mintcdn.com/ampup/JGceCnwStsQNHKdQ/images/integrations/hubspot-config.png?fit=max&auto=format&n=JGceCnwStsQNHKdQ&q=85&s=02f448ec6609d5609c581ad9db11689c" alt="Configure HubSpot Integration dialog" width="3456" height="1776" data-path="images/integrations/hubspot-config.png" />
    </Frame>
  </Step>

  <Step title="Authorize with HubSpot">
    After entering your credentials, you'll be redirected to HubSpot. Sign in with your admin credentials.
  </Step>

  <Step title="Select Your Portal">
    If you have access to multiple HubSpot portals, select the one you want to connect.
  </Step>

  <Step title="Authorize AmpUp">
    Review the permissions and click **Connect app**.

    AmpUp requests these scopes:

    * `oauth` - OAuth authentication
    * `crm.objects.contacts.read` - Read contacts
    * `crm.objects.contacts.write` - Write contacts
    * `crm.objects.companies.read` - Read companies
    * `crm.objects.companies.write` - Write companies
    * `crm.objects.deals.read` - Read deals
    * `crm.objects.deals.write` - Write deals
    * `crm.objects.owners.read` - Read owners
    * `crm.objects.meetings.read` - Read meetings
    * `crm.objects.notes.read` - Read notes
    * `crm.objects.tasks.write` - Create tasks (action items, follow-ups)
    * `crm.schemas.contacts.read` - Read contact schemas
    * `crm.schemas.companies.read` - Read company schemas
    * `crm.schemas.deals.read` - Read deal schemas
    * `sales-email-read` - Read email engagements
  </Step>

  <Step title="Configure Sync">
    Choose sync settings:

    * Objects to sync
    * Teams to include
    * Write-back preferences
  </Step>

  <Step title="Initial Sync">
    AmpUp imports your HubSpot data. This typically takes 1-3 hours.
  </Step>
</Steps>

## Configuration Options

After connecting, you'll see the field mapping interface where you can configure which data syncs between HubSpot and AmpUp.

<Frame caption="HubSpot Field Mapping">
  <img src="https://mintcdn.com/ampup/JGceCnwStsQNHKdQ/images/integrations/hubspot-field-mapping.png?fit=max&auto=format&n=JGceCnwStsQNHKdQ&q=85&s=9ce784037751da964ba936c5f6d239df" alt="HubSpot field mapping configuration" width="3456" height="1776" data-path="images/integrations/hubspot-field-mapping.png" />
</Frame>

### Object Selection

Choose which HubSpot objects to sync:

| Object      | Purpose              | Recommended |
| ----------- | -------------------- | ----------- |
| Companies   | Account context      | ✅ Yes       |
| Contacts    | Meeting participants | ✅ Yes       |
| Deals       | Pipeline tracking    | ✅ Yes       |
| Engagements | Activity history     | Optional    |

### Pipeline Mapping

Map your HubSpot deal pipelines to AmpUp:

1. Go to **Settings** → **Integrations** → **HubSpot** → **Pipelines**
2. Select which pipelines to track
3. Map stages to AmpUp's sales phases

### Custom Properties

Sync custom HubSpot properties:

1. Go to **Settings** → **Integrations** → **HubSpot** → **Custom Fields**
2. Click **Add Property**
3. Select the HubSpot property and AmpUp destination

## Write-back Configuration

Control what AmpUp writes to HubSpot:

| Feature             | Options                                  | Default  |
| ------------------- | ---------------------------------------- | -------- |
| **Call Summaries**  | Create note, create engagement, disabled | Note     |
| **Action Items**    | Create task, add to note, disabled       | Task     |
| **Coaching Scores** | Custom property, disabled                | Disabled |

<Info>
  Write-back requires additional HubSpot permissions. You'll be prompted to authorize if needed.
</Info>

## Sync Status & Troubleshooting

### Check Sync Status

View status at **Settings** → **Integrations** → **HubSpot** → **Status**.

| Status          | Meaning                  |
| --------------- | ------------------------ |
| ✅ **Connected** | Active and syncing       |
| 🔄 **Syncing**  | Sync in progress         |
| ⚠️ **Limited**  | Some objects not syncing |
| ❌ **Error**     | Connection issue         |

### Common Issues

<AccordionGroup>
  <Accordion title="Missing contacts or companies">
    * Verify your HubSpot user has access to the records
    * Check if records are in an excluded pipeline or list
    * Archived records are not synced by default
  </Accordion>

  <Accordion title="Sync delays">
    * HubSpot rate limits may slow large syncs
    * Initial sync can take several hours for large portals
    * Real-time sync applies after initial import completes
  </Accordion>

  <Accordion title="Permission errors">
    * Ensure you're connecting with a Super Admin account
    * Some features require Sales Hub Professional or higher
    * Check your HubSpot user permissions
  </Accordion>

  <Accordion title="Write-back not working">
    * Verify write permissions were granted during setup
    * Check that the connected user can create the object type
    * Review HubSpot workflow conflicts
  </Accordion>
</AccordionGroup>

## Disconnect HubSpot

To remove the integration:

1. Go to **Settings** → **Integrations** → **HubSpot**
2. Click **Disconnect**
3. Confirm disconnection

You can also revoke access from HubSpot:

1. In HubSpot, go to **Settings** → **Integrations** → **Connected Apps**
2. Find AmpUp and click **Uninstall**

## FAQ

<AccordionGroup>
  <Accordion title="Can I connect multiple CRMs (Salesforce, HubSpot, Dynamics 365)?">
    We recommend connecting only one CRM to avoid data conflicts. If you use multiple, choose your primary system of record.
  </Accordion>

  <Accordion title="What HubSpot plans are supported?">
    AmpUp works with all HubSpot plans. Some features like engagement sync require Sales Hub Professional or Enterprise.
  </Accordion>

  <Accordion title="How do I sync custom objects?">
    Custom object sync is available on Enterprise plans. Contact [support@ampup.ai](mailto:support@ampup.ai) to enable.
  </Accordion>

  <Accordion title="Can I sync marketing data?">
    Currently, AmpUp syncs Sales Hub data only. Marketing Hub integration is on our roadmap.
  </Accordion>
</AccordionGroup>
