# Hubspot

Go here and run through the tutorial to give the Coworker the following Minimum Permissions. Once you have your access token and share the following information.

{% embed url="<https://developers.hubspot.com/docs/api/private-apps>" %}
Hubspot Private App Setup
{% endembed %}

### Required Scopes

Coworker needs access to the following read Scopes:\
If you wish to add more restrictions to the data that will be synchronized, contact Coworker support to disable some data streams (although this may have an impact on the precision of the generated reports).

**`CRM`**

* `crm.lists.read`
* `crm.objects.companies.read`
* `crm.objects.contacts.read`
* `crm.objects.custom.read`
* `crm.objects.deals.read`
* `crm.objects.feedback_submissions.read`
* `crm.objects.goals.read`
* `crm.objects.deals.read`
* `crm.objects.owners.read`
* `crm.objects.quotes.read`
* `crm.schemas.contacts.read`
* `crm.schemas.companies.read`
* `crm.schemas.custom.read`
* `crm.schemas.deals.read`
* `crm.schemas.quotes.read`

**`Settings`**

* `settings.users.read`
* `settings.users.teams.read`
* `settings.currencies.read`

**`Standard`**

* `content`
* `oauth`
* `sales-email-read`

### Information required for the Coworker connection:

* `access_token`: The credential generated above, starting with  `pat-`. This is equivalent to an API key, and lets us access your Hubspot data.
* `start_date`: Date of the first record to synchronize, in a ISO8601 format (eg. `2024-01-01`)&#x20;

### How to edit Scopes

This tutorial walks through how to edit Scopes:

{% @arcade/embed flowId="Mqbdg6GcN3WjYDJjV0EI" url="<https://app.arcade.software/share/Mqbdg6GcN3WjYDJjV0EI>" %}


---

# 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://village-labs.gitbook.io/coworker-product-and-developer-docs/data-connections/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.
