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

# HubSpot AI connector

> Connect the Omni Agent to HubSpot's MCP server to read and update CRM records.

The HubSpot connector gives the [Omni Agent](https://docs.omni.co/ai/chat.md) access to HubSpot's MCP server. Each person signs in to HubSpot, and the agent can read and update CRM records with that person's HubSpot permissions.

## Requirements

* **Organization Admin** permissions in Omni
* **Permissions in HubSpot** to create apps
* **For each person who wants to use the connector**, a HubSpot account

## Setup

Because HubSpot doesn't allow Omni to register an auth app for you, you need to create an MCP auth app in HubSpot and then add its credentials in Omni.

### 1. Create an MCP auth app in HubSpot

1. In HubSpot, navigate to **Development > MCP Auth Apps**.
2. Create an app and set its **Redirect URL** to:

   ```text theme={null}
   https://callbacks.omniapp.co/callback/mcp-client
   ```
3. Copy the app's **Client ID** and **Client secret**.

See [Using the HubSpot MCP server](https://developers.hubspot.com/docs/build-with-ai/remote-mcp-server) for more information.

### 2. Add the HubSpot connector in Omni

1. Navigate to **AI Hub > Connectors**.
2. In the catalog, click **HubSpot**.
3. Click **Add**.

### 3. Connect your HubSpot account

Each person, including Organization Admins, must connect their own account and sign in to HubSpot before they can use the connector. This can happen from a few places in Omni:

* **The connector menu in the [Omni Agent](https://docs.omni.co/ai/chat.md)**. Click the  icon, then **Connectors**, and then **Connect** next to the connector.
* **From their user settings**. Connectors are listed in the [Connected services](https://docs.omni.co/administration/users/your-account.md#connected-services) section.

Organization Admins can also connect from the **Connectors** page in the AI Hub. If an admin hasn't connected their own account to a connector yet, they can click **Connect your account** in the connector's row.

To disconnect, see [Connected services](https://docs.omni.co/administration/users/your-account.md#connected-services) in **Your Account**.

## Troubleshooting

| Error | Cause and fix |
| - | - |
| HubSpot can't validate the authorization | The client ID and client secret are in the wrong fields. Remove the connector, and add it again with each value in its own field. |
| `redirect_uri` mismatch | The app's redirect URL isn't Omni's. Add `https://callbacks.omniapp.co/callback/mcp-client` to the app. |

## Next steps

* [AI connector catalog](https://docs.omni.co/ai/connectors/catalog) - Add other connectors
