# Source: https://docs.squared.ai/guides/destinations/retl-destinations/crm/hubspot.md

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

# HubSpot

> HubSpot is a customer platform with all the software, integrations, and resources you need to connect your marketing, sales, content management, and customer service. HubSpot's connected platform enables you to grow your business faster by focusing on what matters most: your customers.

## Hubspot Connector Configuration and Credential Retrieval Guide

### Prerequisite Requirements

Before initiating the Hubspot connector setup, ensure you have an created an Hubspot developer account.
This setup requires us to create an private app in Hubspot with [superuser admin access](https://knowledge.hubspot.com/user-management/hubspot-user-permissions-guide#super-admin).

<Tip>
  [Hubspot Developer
  Signup](https://app.hubspot.com/signup-v2/developers/step/join-hubspot?hubs_signup-url=developers.hubspot.com/get-started\&hubs_signup-cta=developers-getstarted-app&_ga=2.53325096.1868562849.1588606909-500942594.1573763828).
</Tip>

### Destination Setup

As mentioned earlier, this setup requires us to create an [private app](https://developers.hubspot.com/docs/api/private-apps) in Hubspot with superuser admin access.

HubSpot private applications facilitate interaction with your HubSpot account's data through the platform's APIs. Granular control over individual app permissions allows you to specify the data each app can access or modify. This process generates a unique access token for each app, ensuring secure authentication.

<Accordion title="Create a Private App" icon="lock">
  For AI Squared Open Source, we hubspot Private App Access Token for api authentication.

  <Steps>
    <Step title="Locate the Private Apps Section">
      Within your HubSpot account, access the settings menu from the main navigation bar. Navigate through the left sidebar menu to Integrations > Private Apps.

      <Frame>
        <img src="https://res.cloudinary.com/dspflukeu/image/upload/v1709115020/Multiwoven/connectors/hubspot/private-app-section.png" />
      </Frame>
    </Step>

    <Step title="Initiate App Creation">
      Click the Create Private App button.

      <Frame>
        <img src="https://res.cloudinary.com/dspflukeu/image/upload/v1709115178/Multiwoven/connectors/hubspot/create-app.png" />
      </Frame>
    </Step>

    <Step title="Define App Information">
      On the Basic Info tab, configure your app's details:

      * Name: Assign a descriptive name for your app.
      * Logo: Upload a square image to visually represent your app (optional).
      * Description: Provide a brief explanation of your app's functionality.
    </Step>

    <Step title="Specify Access Permissions">
      Navigate to the Scopes tab and select the desired access level (Write) for each data element your app requires. Utilize the search bar to locate specific scopes.

      <Frame>
        <img src="https://res.cloudinary.com/dspflukeu/image/upload/v1709115239/Multiwoven/connectors/hubspot/scope.png" />
      </Frame>
    </Step>

    <Step title="Finalize Creation">
      After configuration, click Create app in the top right corner.
    </Step>

    <Step title="Review Access Token">
      A dialog box will display your app's unique access token. Click Continue creating to proceed.

      <Frame>
        <img src="https://res.cloudinary.com/dspflukeu/image/upload/v1709115355/Multiwoven/connectors/hubspot/api-key.png" />
      </Frame>
    </Step>

    <Step title="Utilize the App">
      Once created, you can leverage the access token to setup hubspot in AI Squared destination section.
    </Step>
  </Steps>
</Accordion>