# Authorize HubSpot

{% hint style="info" %}
You need to be 'Super Admin' in HubSpot to be able to grant Stacksync access to HubSpot.\
This is because only the 'Super Admins' have the OAuth scope which is required to connect your HubSpot to an external service such as Stacksync (more info [here](https://community.hubspot.com/t5/APIs-Integrations/OAuth-issue-requiring-superadmin/m-p/250649#:~:text=Folgen-,OAuth%20issue%20requiring%20superadmin,-Hi%2C%20we%E2%80%99ve%20integrated)).
{% endhint %}

#### 1. Click the connection tile

<figure><img src="/files/UQR112N0O4v3SaMiYy8D" alt=""><figcaption></figcaption></figure>

#### 2. Select the HubSpot connector

<figure><img src="/files/ueVqSHUTHjRa8C0nU6PJ" alt=""><figcaption></figcaption></figure>

#### 3. Optional: Check the Grant access to sensitive fields checkbox.

This will allow our system to read sensitive and highly sensitive fields from your hubspot account

<figure><img src="/files/pDWwrOgOEERlPrkqgfGU" alt=""><figcaption></figcaption></figure>

#### 4. Choose the hubspot account you want to use

<figure><img src="/files/fLldKj6m0vrWgFZxFiNK" alt=""><figcaption></figcaption></figure>

#### 5. Authorize access to stacksync

<figure><img src="/files/8P6AT9zzdWao9IY2txLK" alt=""><figcaption></figcaption></figure>

#### 6. Configure your connection on stacksync

&#x20; 6.1  Choose your connection name

&#x20; 6.2  Choose your connection resource id. This is auto generated based on the name - changing it is optional.

&#x20; 6.3  Choose the region you wish to create your connection in. *Resources in one region cannot access resources created in other regions*

<figure><img src="/files/pAaJDpoXin9ChFdCJzxQ" alt=""><figcaption></figcaption></figure>

That's it! Your HubSpot instance is connected 🎉


---

# Agent Instructions: 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:

```
GET https://docs.stacksync.com/two-way-sync/connectors/hubspot/authorize-hubspot.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
