> ## Documentation Index
> Fetch the complete documentation index at: https://magicads.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# HubSpot CRM

> Synchronize user accounts with your HubSpot CRM account with our Hubspot extension

<Check>
  This is a free extension available for anyone
</Check>

## Extension Configuration

To be able to use Hubspot feature, follow these steps to setup Hubspot Extension.

<Steps>
  <Step title="Step 1">
    Go to the **Marketplace** in **Admin Panel** and install **Hubspot** extension.

    <img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/hubspot/hubspot-1.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=0eaace6e283e5209bf1d77ca35a79492" width="404" height="260" data-path="images/extensions/hubspot/hubspot-1.png" />
  </Step>

  <Step title="Step 2">
    After installation is completed, go to **AI Settings** page in Admin Panel and click on **Extensions** tab there. Click on **Hubspot** there.

    <img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/hubspot/hubspot-2.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=744c9c0e64cf2c7133cad53041b244aa" width="549" height="107" data-path="images/extensions/hubspot/hubspot-2.png" />
  </Step>

  <Step title="Step 3">
    Register with HubSpot:

    1. Go to <a href="https://hubspot.com" target="_blank">HubSpot</a> website and sign up with them in case if don't have an account with them.
    2. After your logged into your HubSpot account, click on the **Settings** button at the top right corner
           <img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/hubspot/hubspot-3.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=d8d6f99f289fe37dd116f56a8af4c777" width="520" height="105" data-path="images/extensions/hubspot/hubspot-3.png" />
    3. On the left menu panel, go to **Integrations** - **Private Apps** page and click on **Create a private app** button.
           <img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/hubspot/hubspot-4.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=1604866368bbdedcc351e72243aba0dc" width="1893" height="809" data-path="images/extensions/hubspot/hubspot-4.png" />
    4. Enter app name along with some description
           <img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/hubspot/hubspot-5.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=4e317805e3b1ceda80cbeaa840b7bbf4" width="789" height="673" data-path="images/extensions/hubspot/hubspot-5.png" />
    5. On the scopes section, include all scopes for **CRM** and **CSM** scopes.
           <img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/hubspot/hubspot-6.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=733b6aa537ccbdc7e335d03e341a25b8" width="1212" height="598" data-path="images/extensions/hubspot/hubspot-6.png" />
    6. Last section on webhooks there is optional, then click on **Create App** button.
    7. After you have created your app, you will be shown **Access Token**, copy it.
           <img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/hubspot/hubspot-7.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=8938a7e5020395833153d91d180d9cd6" width="631" height="572" data-path="images/extensions/hubspot/hubspot-7.png" />
       <Note>Store your Access Token securely and never share it publicly. The key can provide direct access to your account.</Note>
  </Step>

  <Step title="Step 4">
    To control the settings of **HubSpot** exension, return to **AI Settings** page in Admin Panel and click on the **Extensions** tab, and select **HubSpot** extension.
    Configuration of Hubspot is done on this page, there will be no new menu item added in the Admin Panel. Below is the explanation of each field on Hubspot page.

    * Enter your **Hubspot Access Token**
    * Turn on **Add Free Tier User Group** if you want to Synchronize non-subscribers accounts only with your HubSpot account
    * Turn on **Add Subscriber User Group** if you want to Synchronize subscribers accounts only with your HubSpot account
    * Afterwards click on **Save & Add Users** button
      <Note>Note that after you properly configure your HubSpot account with valid Access Token, all new users that are yet to register will get automatically added to your HubSpot account.</Note>

    <img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/hubspot/hubspot-8.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=9f79b72ab89bc4a97cd37b28fb8cd185" width="816" height="567" data-path="images/extensions/hubspot/hubspot-8.png" />
  </Step>

  <Step title="Step 5">
    You know have completed the Hubspot extension configuration.
  </Step>
</Steps>

<Check>
  You have successfully comleted the setup process of this extension.
</Check>
