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

# HubSpot

> HubSpot is an all-in-one marketing and sales platform that offers robust integration capabilities. By connecting HubSpot with other tools and applications, businesses can streamline workflows and improve productivity.

## Creating a HubSpot connection

Create the connection by using one of the following methods:

* [OAuth](#using-oauth)
* [Access Token](#using-access-token)

### Using OAuth

#### Creating your connection

1. In the Blink platform, navigate to the **Connections** page > **Add connection**. A New Connection dialog box opens displaying icons of external service providers available.
2. Select the **HubSpot** icon. A dialog box with name of the connection and connection methods appear.
3. (Optional) Edit the name of the connection. At a later stage you cannot edit the name.
4. Click **HubSpot** to authenticate using OAuth.
5. Sign in using your credentials.

### Using Access Token

To create the connection you need:

* An Access Token

### Obtaining the credentials

1. Login to your `Hubspot` account.

2. Click on the gear wheel in the top right corner.

   <div className="image-block small">
     <img src="https://mintcdn.com/blinkops-2/zN7ITETB07vPQ3Y1/img/HubSpot/settings_hs.png?fit=max&auto=format&n=zN7ITETB07vPQ3Y1&q=85&s=4fb48c501185d7f1675934e9cabe6009" alt="HubSpot Settings" width="3810" height="1942" data-path="img/HubSpot/settings_hs.png" />
   </div>

3. Click on `Private Apps`.

   <div className="image-block small">
     <img src="https://mintcdn.com/blinkops-2/zN7ITETB07vPQ3Y1/img/HubSpot/private_app_hs.png?fit=max&auto=format&n=zN7ITETB07vPQ3Y1&q=85&s=3e3f41ee5a22de7307362ec7ec44960b" alt="HubSpot Private App" width="1854" height="1766" data-path="img/HubSpot/private_app_hs.png" />
   </div>

4. Click on `Create a private app`.

   <div className="image-block small">
     <img src="https://mintcdn.com/blinkops-2/zN7ITETB07vPQ3Y1/img/HubSpot/create_pa_hs.png?fit=max&auto=format&n=zN7ITETB07vPQ3Y1&q=85&s=4ce9994929c661e16b29f0a398e5c44b" alt="HubSpot Create Private App" width="3342" height="1424" data-path="img/HubSpot/create_pa_hs.png" />
   </div>

5. Fill in the name of description of the private app.

   <div className="image-block small">
     <img src="https://mintcdn.com/blinkops-2/1cTezLjGjT5SHlFZ/img/HubSpot/app_details_hs.png?fit=max&auto=format&n=1cTezLjGjT5SHlFZ&q=85&s=fee6d9f1afb912c8e4ddd55c764243c8" alt="HubSpot App Details" width="3826" height="1390" data-path="img/HubSpot/app_details_hs.png" />
   </div>

6. Add the needed scopes and then create the app.

   <div className="image-block small">
     <img src="https://mintcdn.com/blinkops-2/1cTezLjGjT5SHlFZ/img/HubSpot/continue_creating_hs.png?fit=max&auto=format&n=1cTezLjGjT5SHlFZ&q=85&s=0bf6e15f4d5557bfa28b8f46c94ed4bb" alt="HubSpot Continue Creating" width="1198" height="656" data-path="img/HubSpot/continue_creating_hs.png" />
   </div>

7. Copy the token created.

   <div className="image-block small">
     <img src="https://mintcdn.com/blinkops-2/zN7ITETB07vPQ3Y1/img/HubSpot/token_hs.png?fit=max&auto=format&n=zN7ITETB07vPQ3Y1&q=85&s=05be7a75be8002af94d1e7e531be47bd" alt="HubSpot Token" width="1162" height="1034" data-path="img/HubSpot/token_hs.png" />
   </div>

#### Creating your connection

1. In the Blink platform, navigate to the **Connections** page > **Add connection**. A New Connection dialog box opens displaying icons of external service providers available.
2. Select the **HubSpot** icon. A dialog box with name of the connection and connection methods appear.
3. (Optional) Edit the name of the connection. At a later stage you cannot edit the name.
4. Select **Access Token** as the method to create the connection.
5. Fill in the parameters:
   * The Access Token
6. (Optional) Click **Test Connection** to test it.
7. Click **Create connection**. The new connection appears on the **Connections** page.
