> For the complete documentation index, see [llms.txt](https://help.konnektive.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.konnektive.com/konnektive-crm/admin-setup/plugins/data-sources/hubspot.md).

# HubSpot

### Obtaining HubSpot access token <a href="#obtaining-hubspot-access-token" id="obtaining-hubspot-access-token"></a>

To obtain your HubSpot access token please do the following

1. Log into your HubSpot account, and click the Gear icon on the top right corner.

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

&#x20;

2\. On the left navigation bar, expand “Integrations” and click “Private Apps”

<figure><img src="/files/zXKpiROCQVTAt3dmDQqL" alt="" width="268"><figcaption></figcaption></figure>

&#x20;

3\. Follow instructions here

[Migrate an API key integration to a private app](https://developers.hubspot.com/docs/api/migrate-an-api-key-integration-to-a-private-app)

{% hint style="info" %}
The private app must provide with following scopes.&#x20;

```
crm.objects.contacts.read
```

```
crm.objects.contacts.write
```

{% endhint %}

&#x20;

#### Navigate to **Admin** → **Plugins** → **Data Sources.** Click the “*+Activate”* button to Activate the HubSpot Plugin. <a href="#navigate-to-admin-plugins-data-sources.-click-the-activate-button-to-activate-the-hubspot-plugin" id="navigate-to-admin-plugins-data-sources.-click-the-activate-button-to-activate-the-hubspot-plugin"></a>

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

&#x20;

#### Enter the **accessToken** provided by HubSpot in the Activate Plugin popup. Ignore apiKey. <a href="#enter-the-accesstoken-provided-by-hubspot-in-the-activate-plugin-popup.-ignore-apikey" id="enter-the-accesstoken-provided-by-hubspot-in-the-activate-plugin-popup.-ignore-apikey"></a>

<figure><img src="/files/XTJLxH51hmaZX2xz4utT" alt="" width="375"><figcaption></figcaption></figure>

#### Data is exported to HubSpot every 4 hours. The CRM will export Partial and Complete orders to the HubSpot account tied to the access token entered in plugin configuration. <a href="#data-is-exported-to-hubspot-every-4-hours.-the-crm-will-export-partial-and-complete-orders-to-the-hu" id="data-is-exported-to-hubspot-every-4-hours.-the-crm-will-export-partial-and-complete-orders-to-the-hu"></a>
