> For the complete documentation index, see [llms.txt](https://docs.mercuri.cx/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mercuri.cx/integrations-guide/hubspot/install-mercuri-in-hubspot.md).

# Install Mercuri in HubSpot

1. **Go to the Installation Page:**
   * Visit [https://www.mercuri.cx/hubSpot](https://www.mercuri.cx/hubspot) to begin the installation.
2. **Authorize Mercuri in HubSpot:**
   * Click **Install App** and log into your **HubSpot** account.
   * Review the requested permissions and click **Allow and Install**.
3. **Create a Mercuri Account:**
   * After installing the app, sign up for a **Mercuri account** if you haven’t already.
4. **Onboard a Phone Number:**
   1. Add a phone number to your Mercuri account to start sending and receiving messages.
   2. Navigate to **Settings** > **Channels > SMS** in Mercuri and complete the SMS onboarding process.&#x20;
      1. Here's the link to help you get started with SMS: <https://docs.mercuri.cx/sms-integration>
   3. Navigate to **Settings** > **Channels > WhatsApp** in Mercuri and complete the WhatsApp onboarding process.
      1. Here's the link to help you get started with WhatsApp: <https://docs.mercuri.cx/whatsapp-integration>

**What happens during connection:**

* Mercuri receives an OAuth token to call HubSpot APIs on your behalf.
* Mercuri creates webhook subscriptions to listen to contact changes/conversation events (so messages get logged to HubSpot timelines).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.mercuri.cx/integrations-guide/hubspot/install-mercuri-in-hubspot.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
