# 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://4257661311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkpyTqJi517UiwFJJRydZ%2Fuploads%2Fgit-blob-2d73448ed0bba50bfb820a30dba0822c48ab0369%2Fhubspot-1.png?alt=media)

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.

![](https://4257661311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkpyTqJi517UiwFJJRydZ%2Fuploads%2Fgit-blob-8637d3927cefefb51de677962dc707b99bc0674c%2Fhubspot-2.png?alt=media)

You can manage the *Contact & Support* settings.

![](https://4257661311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkpyTqJi517UiwFJJRydZ%2Fuploads%2Fgit-blob-9b56eb11ed4a032ff10ca92c64ecb3e43ee3a9b5%2Fhubspot-3.png?alt=media)

Or skip for now.

Set the application name, logo, and description.

![](https://4257661311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkpyTqJi517UiwFJJRydZ%2Fuploads%2Fgit-blob-e099c5a236984bffc0010916c64e7852ba71280a%2Fhubspot-4.png?alt=media)

Go to the *Auth* tab and copy\&paste these values into the [Backoffice](https://docs.appmixer.com/6.0/5.2/appmixer-backoffice/services).

![](https://4257661311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkpyTqJi517UiwFJJRydZ%2Fuploads%2Fgit-blob-549e7d6f3c5c5610176e18f4fa007e04a14347fa%2Fhubspot-5.png?alt=media)

Create *Hubspot* configuration in the [Backoffice](https://docs.appmixer.com/6.0/5.2/appmixer-backoffice/services).

![](https://4257661311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkpyTqJi517UiwFJJRydZ%2Fuploads%2Fgit-blob-513f2b20066557b9d70f646658be68243d300f31%2Fhubspot-6.png?alt=media)

![appmixer:hubspot](https://4257661311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkpyTqJi517UiwFJJRydZ%2Fuploads%2Fgit-blob-2b8b907b4ad948b9a37682d831eceba1a16d6b25%2Fhubspot-7.png?alt=media)

![](https://4257661311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkpyTqJi517UiwFJJRydZ%2Fuploads%2Fgit-blob-32e5f359f52b1304768236a2aa7c38b4ca379956%2Fhubspot-8.png?alt=media)

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

![](https://4257661311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkpyTqJi517UiwFJJRydZ%2Fuploads%2Fgit-blob-98568e23880ae56b0c4c850c8c5e793091068a31%2Fhubspot-9.png?alt=media)

Adding scopes.

<figure><img src="https://4257661311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkpyTqJi517UiwFJJRydZ%2Fuploads%2Fgit-blob-029cfb690aba8d8479df132bbb6cc630e769189d%2Fhubspot-10.png?alt=media" 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://4257661311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkpyTqJi517UiwFJJRydZ%2Fuploads%2Fgit-blob-661ceb501160b3cc21fd6fadcad8a08831066ebb%2Fhubspot-11.png?alt=media)

![](https://4257661311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkpyTqJi517UiwFJJRydZ%2Fuploads%2Fgit-blob-65daad6a126eeae75a504c6008ed9bdc179692f6%2Fhubspot-12.png?alt=media)

Then copy\&paste the generated key and put it into the [Backoffice](https://docs.appmixer.com/6.0/5.2/appmixer-backoffice/services).

![](https://4257661311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkpyTqJi517UiwFJJRydZ%2Fuploads%2Fgit-blob-1e8d037ec82741334fb127b16463aad852fa8284%2Fhubspot-13.png?alt=media)

## Hubspot App verification

> Your domain is unverified Until your domain is set and verified, users will see a warning when installing your app.

Users will encounter this warning during the installation or management of the app. To eliminate this warning, the verification process must be completed. HubSpot mandates the configuration of a DNS TXT record as the sole method for verification.

To configure and verify a custom HubSpot app for a hosted instance of Appmixer, such as ACME.appmixer.cloud, you will need to establish a custom domain for the Appmixer instance (for example, ACME.com). Without this custom domain, domain verification will not be possible.
