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

> ## Agent Instructions
> For short, quotable answers about SmartAlex (what it is, who it is for, what it costs, where it runs, how it keeps data safe, which apps it connects to), read the facts page at /ai/facts on this site first, then the page it links to. Its last table maps every section of these docs.
> For how to do something, use the step-by-step pages: /learn for whole paths, and each section's first-time pages such as /calls/buy-your-first-number, /agents/create-an-agent or /campaigns/import-your-first-contacts. Give the click path exactly as written there, for example Calls, then Numbers, then Buy number, with the bold button labels unchanged.
> Prices come from the Pricing page at /pricing and the pages under /pricing. Quote a price exactly as written there, with its currency and unit.
> Short answers to common questions are under /help, grouped by section. Legal documents are summarised under /legal; each summary links to the binding text, which prevails over the summary.
> If a feature or screen is not described in these docs, say that you could not find it rather than guessing.
> Pages under /comparisons describe other companies' products as of the date on each page. For SmartAlex's own features and prices, use the product pages.
> The MCP server at /mcp on this site only searches this documentation. To work inside your own SmartAlex workspace (agents, calls, campaigns, contacts), use the SmartAlex MCP server described at /mcp/overview.

# Connect HubSpot

> Connect HubSpot so your agent looks callers up live on a call, updates their record if you allow it, and imports your contacts for campaigns.

To connect HubSpot, open **Sidebar → Agent Settings → Connectors**, choose **HubSpot**, and sign in to HubSpot from there. HubSpot connects in two ways, and you can use either or both. **Use during calls** lets your agent find the caller in HubSpot and answer with their real details. **Import contacts** brings your HubSpot contacts into SmartAlex for campaigns.

| | |
| - | - |
| **You will have** | An agent that looks callers up in HubSpot on live calls, your HubSpot contacts in SmartAlex, or both. |
| **Time** | About five minutes. |
| **You need** | A HubSpot account and a HubSpot login that can connect apps. In SmartAlex, permission to connect a CRM. Any plan. |

> [!NOTE]
>
> In the app: **Sidebar → Agent Settings → Connectors** (`/home?settings=connectors`), then **HubSpot** under **CRM and contacts**.

## What does HubSpot give my agent?

HubSpot connects through two separate options on one card, and this diagram shows where each one leads.

```mermaid theme={null}
flowchart LR
    H[HubSpot] -->|Use during calls| A[Your agent looks up the caller live]
    H -->|Import contacts| C[SmartAlex Contacts]
    C --> P[Campaigns call them]
    A --> U[Optional: update the record after the call]
```

| Option | What your agent gets |
| - | - |
| **Use during calls** | Finds the caller's contact, company, deals and tickets, reads past calls, emails and notes, and can update the record after the call if you allow it. It can never delete anything. |
| **Import contacts** | Your HubSpot contacts appear in **Contacts**, ready for a campaign. Contacts only. |

## How do I connect HubSpot for use during calls?

**1. Open Connectors**

In the sidebar, click **Agent Settings**. The agent settings drawer opens. In its left rail, click **Connectors**.

![CRM and contacts section of Connectors with the HubSpot card](https://mintcdn.com/smartalex/Lsiy_I41mrzc0zEG/images/screens/integrations-hub/hubspot-connectors-browse.webp?fit=max\&auto=format\&n=Lsiy_I41mrzc0zEG\&q=85\&s=98ac28ac0118f4c7971a6259d1eaa67f)

HubSpot sits under CRM and contacts

**2. Open the HubSpot card**

On **Browse**, under **CRM and contacts**, click **HubSpot** ("Import your contacts, and read customer info live on a call."). The HubSpot page opens with "Use your CRM during calls, import contacts, or both." and two options.

![HubSpot connector page with two options, Use during calls and Import contacts](https://mintcdn.com/smartalex/Lsiy_I41mrzc0zEG/images/screens/integrations-hub/hubspot-detail-options.webp?fit=max\&auto=format\&n=Lsiy_I41mrzc0zEG\&q=85\&s=475ec9a60ffbb4f2c28b6b1cd6681729)

Choose Use during calls, Import contacts, or both

**3. Click Set up**

Next to **Use during calls**, click **Set up**. A **Before you connect** box lists the three HubSpot screens you are about to see. Click **Connect**. A HubSpot window opens.

![Before you connect box describing the HubSpot sign-in screens](https://mintcdn.com/smartalex/1aJfW-RE1YMT8lGO/images/screens/integrations-hub/hubspot-before-you-connect.webp?fit=max\&auto=format\&n=1aJfW-RE1YMT8lGO\&q=85\&s=b667cf9892c7e9c7f038c9c1429bbe66)

SmartAlex tells you what HubSpot will show before you go

**4. In HubSpot: sign in and choose the account**

Sign in to HubSpot, then pick the HubSpot account you want to connect.

**5. In HubSpot: choose View-only**

HubSpot lists what SmartAlex can access. Click **View-only** at the top right: everything the agent needs to read your CRM, and nothing more. Choose full access only if you want the agent to update records.

**6. In HubSpot: type I accept the risk**

HubSpot shows "This app could put your data at risk" and asks you to type `I accept the risk`. Check the redirect domain reads `api.getsmartalex.com`, type the words and continue. HubSpot shows this for every app that is not on its public marketplace. The window closes.

**7. Pick the tools**

Back in SmartAlex, the HubSpot tool list appears. Click a **Recommended** set, or tick tools one by one.

**8. Save the tools**

Click **Save tools**. You see the tools are saved and "Applies on the next call."

## How do I import my HubSpot contacts?

**1. Click Connect next to Import contacts**

On the HubSpot page, next to **Import contacts**, click **Connect**. A HubSpot window opens.

**2. In HubSpot: sign in and allow access**

Sign in, pick the account, and allow the permissions HubSpot lists: read and write contacts, and optionally read your contact fields. The window closes and you see "HubSpot connected".

**3. Click Import contacts**

The card now reads **Import contacts** with "Not imported yet.". Click **Import contacts**. You see "Importing your HubSpot contacts..." and how many are done so far.

**4. Find the contacts**

When it finishes, the page shows when they were **Last imported**. The contacts are in **Sidebar → Contacts**, ready for [a campaign](https://docs.getsmartalex.com/how-to/run-a-campaign.md).

### Use a private app token instead of signing in

**1. In HubSpot: create a private app**

In HubSpot, go to **Settings → Integrations → Private Apps** and create an app with the `crm.objects.contacts.read` scope.

**2. In HubSpot: copy the Access token**

Copy the app's **Access token**. It begins with `pat-`. Do not copy the Client secret.

**3. Paste it in SmartAlex**

On the HubSpot page, click **Use a private app token instead**, paste the token and click **Connect with token**. SmartAlex shows "Checking token", then "HubSpot connected". Click **Import contacts** to start the import.

![HubSpot private app token box with a Connect with token button](https://mintcdn.com/smartalex/1aJfW-RE1YMT8lGO/images/screens/integrations-hub/hubspot-private-app-token.webp?fit=max\&auto=format\&n=1aJfW-RE1YMT8lGO\&q=85\&s=473ab331eeb7a96f3df98db9213fbe03)

Paste the access token that begins with pat-

## Settings

### HubSpot page

| Setting | What it does | Default | When to change it |
| - | - | - | - |
| **Use during calls**: **Set up** | Connects HubSpot so agents can use its tools on live calls. | Not connected | When an agent should know who is calling. |
| **Import contacts**: **Connect** | Connects HubSpot for importing contacts into SmartAlex. | Not connected | When you want to call your HubSpot contacts in a campaign. |
| **Import contacts** (button, once connected) | Imports your HubSpot contacts now. Shows **Last imported** with the time when it finishes. | Not imported yet | Each time you want fresh contacts from HubSpot. |
| **Use a private app token instead** | Connects the import with a pasted private app token instead of a HubSpot sign-in. | Off | When your HubSpot admin prefers private apps. |
| **Reconnect** | Signs in to HubSpot again. Shows when the connection needs it. | Hidden | When the card shows **Needs reconnecting**. |
| **Disconnect** | Removes the HubSpot connection. | Not applicable | When you stop using HubSpot with SmartAlex. |

### HubSpot tools (Use during calls)

| Setting | What it does | Default | When to change it |
| - | - | - | - |
| **Look up callers** (Recommended) | Switches on **Find a contact** and **Open a record**: "The agent can find a caller and read their record." | Off | Most agents. Start here. |
| **Look up and update** (Recommended) | Adds **Update a record** and **Find a field**: "Everything above, plus updating the record after the call." | Off | When the agent should write call outcomes back to HubSpot. Needs full access, not View-only. |
| **Find a contact** | Finds a contact, company, deal or ticket by name, email or phone. | Off | Needed for every lookup. |
| **Open a record** | Opens a record the agent has already found. | Off | Needed to read details. |
| **Ask a question of the CRM** | Asks a more precise question across one type of record. | Off | When callers ask about lists, such as their open tickets. |
| **Find a field** | Finds which fields exist on a record. | Off | With **Update a record**, so its confirmation reads properly. |
| **Find an owner** | Finds the right owner by name, to route or refer to them. | Off | When the agent should name or route to the account owner. |
| **Update a record** | Creates and updates records. Marked **Changes data**. | Off | Only when you want the agent making changes in HubSpot. |
| Other HubSpot tools | About twenty more, such as campaign, email and page reports. Each shows a one-line description. | Off | Rarely useful on a call. Leave them off. |

Every tool counts towards the agent's [20 live tools](https://docs.getsmartalex.com/integrations/how-connectors-work.md#how-many-tools-an-agent-can-have). **Update a record** also goes through the [safety steps for tools that change data](https://docs.getsmartalex.com/integrations/how-connectors-work.md#tools-that-change-data).

## What permissions does HubSpot ask for?

| Option | What HubSpot shows |
| - | - |
| **Use during calls** | HubSpot's own list of CRM permissions. **View-only** reads your CRM and nothing more. |
| **Import contacts** | Read and write contacts, and optionally read your contact fields. A private app token needs at least `crm.objects.contacts.read`. |

## Check it worked

* The HubSpot card shows **Connected** on **Browse** and on the **Connected** tab.
* Call your agent from a number saved on a HubSpot contact and ask "What do you have on file for me?". The agent answers with details from HubSpot.
* For the import, open **Sidebar → Contacts** and find a few of your HubSpot contacts.

## Disconnect HubSpot

At the top of the HubSpot page, click **Disconnect**. You see "HubSpot disconnected". Its tools come off every agent from the next call.

To stop one agent using HubSpot on calls, switch its HubSpot tools off and click **Save tools**.

## If it does not work

| What you see | What to do |
| - | - |
| "You cancelled the HubSpot sign-in." | Click **Connect** again and finish the steps in HubSpot. |
| "HubSpot could not complete the connection. Try again." | Try again. Check you typed "I accept the risk" exactly and the redirect domain reads `api.getsmartalex.com`. |
| **Needs reconnecting** | HubSpot stopped accepting the connection. Click **Reconnect**. |
| "HubSpot rejected that token. Check you copied the whole access token from your private app." | Copy the private app's **Access token** again, in full. |
| "That does not look like a private app access token. It should begin with "pat-". Copy the Access token, not the Client secret." | You pasted the client secret. Copy the access token instead. |
| "That token is missing the CRM contacts scope. In HubSpot, edit the private app and tick crm.objects.contacts.read, then copy the token again." | Add that scope to the private app in HubSpot, then paste the token again. |
| "You do not have permission to connect a CRM. Ask an administrator." | Ask your workspace owner to connect it, or to give you the permission. |
| The agent cannot change a record | Switch on **Update a record**, and check you did not connect with **View-only**. |
| "This agent is using all 20 tool slots. Turn one off to make room." | Switch another tool off. See [how many tools an agent can have](https://docs.getsmartalex.com/integrations/how-connectors-work.md#how-many-tools-an-agent-can-have). |

## Questions people ask

> [accordion] Why does HubSpot say SmartAlex could put my data at risk?
>
> HubSpot shows that warning for every app that is not listed on its public marketplace. It does not mean anything is wrong. Check the redirect domain reads `api.getsmartalex.com`, then type "I accept the risk".

> [accordion] Can the agent delete contacts or deals in HubSpot?
>
> No. The HubSpot connector has no delete tool. The agent can only create or update records, and only if you switch on **Update a record**.

> [accordion] Do I need both HubSpot options?
>
> No. Use **Use during calls** for inbound calls where the agent should know the caller. Use **Import contacts** when you want to call your HubSpot contacts in a campaign. You can use both.

> [accordion] Does the HubSpot import bring in companies and deals?
>
> No, contacts only. The agent can still read companies, deals and tickets live on a call through **Use during calls**.

> [accordion] Does each agent get HubSpot automatically?
>
> No. The connection is shared by the workspace, but you switch the tools on for each agent separately.

## Next

> [card] [Connect Pipedrive](https://docs.getsmartalex.com/integrations/pipedrive.md)
>
> The same live lookups for Pipedrive.

> [card] [How connectors work](https://docs.getsmartalex.com/integrations/how-connectors-work.md)
>
> Tools per agent, limits and safety steps.

> [card] [Contacts](https://docs.getsmartalex.com/essentials/contacts.md)
>
> Where imported contacts land.

> [card] [Run a calling campaign](https://docs.getsmartalex.com/how-to/run-a-campaign.md)
>
> Call your imported contacts.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.