---
title: Create a HubSpot connection
description: Learn how to create a HubSpot connection in Catalog Explorer that stores authentication details for Lakeflow Connect ingestion.
canonical_url: https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/hubspot-connection
---

# Create a HubSpot connection

Create a HubSpot connection in Catalog Explorer to store authentication credentials for Lakeflow Connect ingestion. Any user with the `USE CONNECTION` privilege on the connection can then create HubSpot ingestion pipelines without needing direct access to the credentials.

Alternatively, admin users can create a connection and a pipeline at the same time in the data ingestion UI. See [Create an ingestion pipeline](https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/hubspot-pipeline.md).

For privilege requirements, see [Connect to managed ingestion sources](https://docs.databricks.com/aws/en/connect/managed-ingestion.md).

## Prerequisites

Complete the [source setup](https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/hubspot-source-setup.md). Use the authentication details you obtain to create the connection.

## Create a connection

1. In the Databricks workspace, click **![Data icon.](https://docs.databricks.com/aws/en/images/product-icons/DataIcon.svg) Catalog > Create > Create a connection**.
2. On the **Connection basics** page of the **Set up connection** wizard, specify a unique **Connection name**.
3. In the **Connection type** drop-down menu, select **HubSpot**.
4. (Optional) Add a comment.
5. Click **Next**.
6. On the **Authentication** page, enter the following:
   * **Client ID**: The client identifier from the source setup.
   * **Client secret**: The client secret from the source setup.
7. Click **Sign in with HubSpot** and authorize the Databricks application.
8. After you're redirected back to the Databricks workspace, click **Create connection**.

## Next steps

[Create an ingestion pipeline](https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/hubspot-pipeline.md).
