# 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](https://docs.appmixer.com/6.0/v4.4/appmixer-backoffice/services).

![](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](https://docs.appmixer.com/6.0/v4.4/appmixer-backoffice/services).

![](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&#x26;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](https://docs.appmixer.com/6.0/v4.4/appmixer-backoffice/services).

![](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)
