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

# HubSpot

### Obtaining HubSpot access token <a href="#hubspot-obtaininghubspotaccesstoken" id="hubspot-obtaininghubspotaccesstoken"></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/0AUOoqevRB4opFO7BGIX" alt=""><figcaption></figcaption></figure>

&#x20;

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

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

&#x20;

1. Follow instructions here

<https://developers.hubspot.com/docs/api/migrate-an-api-key-integration-to-a-private-app>

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

`crm.objects.contacts.read`

`crm.objects.contacts.write`
{% endhint %}

#### Navigate to **Admin** → **Plugins** → **Data Sources.** Click the “*+Activate”* button to Activate the HubSpot Plugin. <a href="#hubspot-navigatetoadmin-plugins-datasources.clickthe-activate-buttontoactivatethehubspotplugin" id="hubspot-navigatetoadmin-plugins-datasources.clickthe-activate-buttontoactivatethehubspotplugin"></a>

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

#### Enter the **accessToken** provided by HubSpot in the Activate Plugin popup. Ignore apiKey. <a href="#hubspot-entertheaccesstokenprovidedbyhubspotintheactivatepluginpopup.ignoreapikey" id="hubspot-entertheaccesstokenprovidedbyhubspotintheactivatepluginpopup.ignoreapikey"></a>

<figure><img src="/files/nXXe49nU0hgtF7WNLiwK" alt=""><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="#hubspot-dataisexportedtohubspotevery4hours.thecrmwillexportpartialandcompleteorderstothehubspotaccou" id="hubspot-dataisexportedtohubspotevery4hours.thecrmwillexportpartialandcompleteorderstothehubspotaccou"></a>


---

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

```
GET https://help.checkoutchamp.com/crm/plugins/data-sources/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.
