> For the complete documentation index, see [llms.txt](https://docs.appmixer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.appmixer.com/6.0/v4.4/app-registration/hubspot.md).

# Hubspot

## Register OAuth2 app

You need to create a developer account first (more about different Hubspot accounts can be found here<https://developers.hubspot.com/docs/api/account-types>)

Create a new application.

![](https://4088726956-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LATDgYqVMe0hChW7efU%2F-MhEisIJwSmJatirLZ8f%2F-MhElXTZNBu2safTnLHW%2FDevelopers___HubSpot.png?alt=media\&token=854d65bd-0b0c-442d-90fd-64741ba10374)

In order to get rid of a warning that your users will see before installing Hubspot module, you have to verify your identity as an app provider.&#x20;

![](https://4088726956-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LATDgYqVMe0hChW7efU%2F-MhEisIJwSmJatirLZ8f%2F-MhEjWP3dKNU74QcAI94%2FDevelopers___HubSpot.png?alt=media\&token=09129dbd-03ce-4e8f-af97-5aec0bcc2ff0)

You can manage the *Contact & Support* settings.

![](https://4088726956-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LATDgYqVMe0hChW7efU%2F-MhEisIJwSmJatirLZ8f%2F-MhEmigp9-219eF_9AnM%2FDevelopers___HubSpot.png?alt=media\&token=6b80f764-7377-4954-be78-3165e8d01583)

Or skip for now.

Set the application name, logo, and description.

![](https://4088726956-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LATDgYqVMe0hChW7efU%2F-MhEisIJwSmJatirLZ8f%2F-MhEjrow3yRfhK1APqGL%2FDevelopers___HubSpot.png?alt=media\&token=7bffa1a4-3425-4ef1-a5de-ffa6b4fc256b)

Go to the *Auth* tab and copy\&paste these values into the [Backoffice](/6.0/v4.4/appmixer-backoffice/services.md).

![](https://4088726956-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LATDgYqVMe0hChW7efU%2F-MhEisIJwSmJatirLZ8f%2F-MhEugo4dESjNuScvFqY%2FDevelopers___HubSpot.png?alt=media\&token=9dd7f23a-f936-45df-b473-5152e57d31d6)

Create *Hubspot* configuration in the [Backoffice](/6.0/v4.4/appmixer-backoffice/services.md).

![](https://4088726956-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LATDgYqVMe0hChW7efU%2F-MhEisIJwSmJatirLZ8f%2F-MhEv-YzqLDXJ_m-AX-f%2FAppmixer_Backoffice_-_Service_Configuration.png?alt=media\&token=a1b850bd-f4ca-4715-b9c6-b837c84b58f8)

![appmixer:hubspot](https://4088726956-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LATDgYqVMe0hChW7efU%2F-MhEisIJwSmJatirLZ8f%2F-MhEv9Rnh-N9_9vBusXe%2FAppmixer_Backoffice_-_Service_Configuration.png?alt=media\&token=7498f2b8-9aa2-4877-af07-c30122edd822)

![](https://4088726956-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LATDgYqVMe0hChW7efU%2F-MhEisIJwSmJatirLZ8f%2F-MhEvri9Dd9uAHMgFOhI%2FAppmixer_Backoffice_-_Service_Configuration.png?alt=media\&token=e035e5ed-9adb-41b3-8371-29b1cadacdd9)

Go back to Hubspot and set the redirect URL, replace *acme.com* with your domain and keep the suffix /auth/hubspot/callback

![](https://4088726956-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LATDgYqVMe0hChW7efU%2F-MhEisIJwSmJatirLZ8f%2F-MhEzFFKjr4IRlnxOAsj%2FDevelopers___HubSpot.png?alt=media\&token=85605573-61c4-4cfd-ac11-472fc4bc45ea)

Adding scopes.

<figure><img src="https://4088726956-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LATDgYqVMe0hChW7efU-3423413209%2Fuploads%2FdwZty1yzPSAUWJEqXPZY%2FDevelopers___HubSpot.png?alt=media&amp;token=55f87ff3-2ebe-452f-b308-78d994931bfa" alt=""><figcaption></figcaption></figure>

Hit *Save*.

One more thing that you will need is the Hubspot, go back to the *Apps* page and hit the *Get HubSpot API key* button.

![](https://4088726956-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LATDgYqVMe0hChW7efU%2F-MhEisIJwSmJatirLZ8f%2F-MhFInnHDtJfseAkPG9J%2FDevelopers___HubSpot.png?alt=media\&token=86785b7c-b5ea-4b17-a539-d474c1ee67d9)

![](https://4088726956-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LATDgYqVMe0hChW7efU%2F-MhEisIJwSmJatirLZ8f%2F-MhFJVZ9t9DXIvrAhm9F%2FDevelopers___HubSpot.png?alt=media\&token=ed38d075-9eb5-4be1-bfa9-ec56b9583960)

Then copy\&paste the generated key and put it into the [Backoffice](/6.0/v4.4/appmixer-backoffice/services.md).

![](https://4088726956-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LATDgYqVMe0hChW7efU%2F-MhEisIJwSmJatirLZ8f%2F-MhFKzT0Z2c_KbFfvYii%2FAppmixer_Backoffice_-_Service_Configuration.png?alt=media\&token=ad5a8ceb-6d78-4f18-bc2a-15f6b6b7c5c2)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.appmixer.com/6.0/v4.4/app-registration/hubspot.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
