> For the complete documentation index, see [llms.txt](https://docs.gearplug.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gearplug.io/english/set-up-your-integrations/hubspot/create-your-hubspot-connection.md).

# Create your HubSpot connection

{% hint style="info" %}
**Oauth Connection:** The first step is to log GearPlug into your HubSpot account so that GearPlug may access the data.
{% endhint %}

### Set up access

1. **Go to “My Apps”** via the top-right menu on GearPlug.

<figure><img src="https://lh4.googleusercontent.com/dp4iY6U20x-HENZKKSsciUDBeX2TDXl-M9T-ZArg44ZLTJPE5ZxBiV72WFMnZRzakWNtlLjARuRfccJJeAtC-RECLSeRcYsxkCjU1dsyiZWMCq0XNTk179U0ckgRNLKrSZtP3o7LtGXQIlF9fGRGBA" alt=""><figcaption></figcaption></figure>

2. **Pick HubSpot** on the drop-down app menu and click “Create.”

<figure><img src="https://lh4.googleusercontent.com/sjKGV55IzQfC2GfcoPJl9-tAz-3Q8uvoVQO6lsfMs1OZV_GcTGDwg-f9N_W1LKaSzlg2c02zgIonps-fCPIngTMWaC93yP6rKciKgoE4T0TyVGZ-H39-If-gkqhWb22C0ZOCCyB1WS2YBv5sp_tRbQ" alt=""><figcaption></figcaption></figure>

3. **Choose the HubSpot account** you wish to integrate into GearPlug.

<figure><img src="https://lh6.googleusercontent.com/t1aer5cukUuQf-Gu3R2LckJPcD7cFZUuCxFE3mBl9sePkVhi4eF8j4OefTy_cAa2uZ6uiKbaQLg6AYGZgevrhUoubyGPjlfYj2b98iEycC3zs3xLt-wuIMstIsqvhzf8S1CXqCBvAvl_UkLwTC1KQA" alt=""><figcaption></figcaption></figure>

4. **Read and accept the conditions** so that GearPlug may extract the information and click “Connect.” You’ve now installed GearPlug into your HubSpot account.

A pop-up message will show up confirming that the connection was created successfully. You may now close the pop-up window and use your Plug.

<figure><img src="https://lh4.googleusercontent.com/oSCJiMga0odGcKOhM10jkh2cAI1ukS8hXo1uGvNuYouiuOkp146xdxpmFQk1wpnFrhC6rxdY--_xmARd_uIy6V4ddOzrMzfzk_QcmgVdFwUDIA6x0ULWKXXwIHseKQE0HWrqYid7oZZG2mOyXgv0AA" alt=""><figcaption></figcaption></figure>


---

# 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.gearplug.io/english/set-up-your-integrations/hubspot/create-your-hubspot-connection.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.
