No items found.

Build a data ingestion pipeline from HubSpot to Snowflake

Set up a connection in Airbyte Cloud to copy data from HubSpot to Snowflake.

HubSpot is a cloud-based customer relationship management (CRM) platform that helps organizations manage marketing, sales, service, CMS, and operations.  At a high-level, HubSpot helps your business to attract, convert, close, and finally to “delight” your customers.

Benefits of moving data from HubSpot to a cloud-based data warehouse like Snowflake

Moving HubSpot data to Snowflake may be part of an overall data integration strategy, which will provide your organization with: 

  • A unified view of data and a single source of truth – achieved by copying data from HubSpot and other operational systems into Snowflake.
  • Improved analytics capabilities – Snowflake is purpose built for running large analytics jobs.
  • The ability to transform data in a single location – moving data from multiple systems into Snowflake allows you to transform and join data from multiple disparate systems.
  • Improved security – limit the number of people that require access to HubSpot, as they can analyze your HubSpot data in Snowflake.

In addition to the benefits listed above, Snowflake is designed for storing massive amounts of data. Therefore Snowflake may be used for HubSpot backups, or for archiving historical HubSpot data as required for compliance or regulatory requirements. 

How Airbyte can help

Airbyte makes the process of copying data from HubSpot easy – simply create a source connector to the HubSpot API,  a destination connector to the Snowflake API, and a connection between them. Then specify a schedule for synchronizing data from HubSpot to Snowflake.

What you will learn in this tutorial

This tutorial will go through the steps required to set up a connection in Airbyte Cloud which will copy data from HubSpot to Snowflake. Because of the similarity between Airbyte Cloud and Airbyte Open-Source, the instructions should apply to either platform. 

Let's get started!


Airbyte cloud will be used to replicate your data from HubSpot to Snowflake. You will need the following:

  1. An Airbyte Cloud account.
  2. A HubSpot developer account.
  3. A Snowflake account.

Step 1: Set up a HubSpot source

In this tutorial, we will use Airbyte to copy Contacts from HubSpot to Snowflake. Below is an example of a Hubspot contacts page, which shows contacts that will be replicated into Snowflake by Airbyte.

To configure HubSpot as a data source, log in to Airbyte Cloud and create a new HubSpot source connection as shown below. 

Then click on Authenticate your HubSpot account as follows:.

The sign-in page for HubSpot will appear.

Choose the HubSpot account that Airbyte will use to access your HubSpot data.

Follow the remaining prompts to connect your HubSpot app with Airbyte.

You will be redirected back to Airbyte Cloud. For the Start date, enter the date in YYYY-MM-DDTHH:mm:ssZ format. The data added on and after this date will be replicated. If this field is blank, Airbyte will replicate all data.

Step 2: Set up a Snowflake destination

Ensure that you have a Snowflake account and then go to the Snowflake worksheet area. The worksheet area is the primary place to run scripts for creating and modifying resources. You will need to set up the destination database, user, role, and schema on Snowflake for the sync.  

Airbyte provides a convenient script in the Snowflake destination connector documentation which you should copy into your Snowflake worksheet area. After you have copied the script into your Snowflake worksheet select ‘All queries’ and run the script by clicking on the run button as shown below.

Once the script has successfully executed, you should see the following message:

Now that Snowflake is set up, configure a Snowflake destination connector in Airbyte as shown below.

Enter the host and the other fields with the values that you defined in the Snowflake script that you pasted into the worksheet earlier in this Tutorial.  Under the Authorization method, select the Username and Password option and enter the password you set in the script. Once you’ve added your details, click on Set up destination.

Step 3: Set up a HubSpot to Snowflake connection

Once the source and destination are configured,  create a new connection that uses the new HubSpot source eand the new Snowflake destination, and define the connection settings. Set the replication frequency for how often you want Airbyte to copy your data.

You can also select the data sets that you want to copy. In the image below we select the Contacts data and set the Sync mode to Incremental | Append.

You can also choose between using Raw Data or Basic normalization with normalization set by default. Once configured, click on the Set up connection button.

After creating a new connection, a sync should start. You can also start a sync at any time by clicking on Sync now

Once the sync is complete, you can view the tables created by Airbyte Cloud in Snowflake. In this example, you can see the Contacts table that has been copied by Airbyte.

You can also click on the table to view the format of the columns created by Aibyte to map data from the source.

You can also test out the incremental sync by adding some more contacts through HubSpot. In this example, 50 more entries were added.

Running another sync will copy the new rows to Snowflake.

You can view the updated row in the Snowflake tables.


This tutorial has demonstrated how to set up a connection between HubSpot and Snowflake using Airbyte Cloud. Once your data is in Snowflake, you can combine it with data from other sources to drive your analytics capabilities to the next level!   

To summarize, in this tutorial you have learned how to:

  1. Configure a HubSpot Airbyte source 
  2. Configure a Snowflake Airbyte destination 
  3. Create an Airbyte connection that automatically copies data from HubSpot to Snowflake
  4. Incrementally sync HubSpot data to Snowflake

If you have enjoyed this tutorial, you may be interested in other Airbyte tutorials, or in Airbyte’s blog. You can also join the conversation on our community Slack Channel, participate in discussions on Airbyte’s discourse, or sign up for our newsletter. Furthermore, if you want to use Airbyte to replicate your HubSpot data to Snowflake, try out our fully managed solution Airbyte Cloud for free!

Similar use cases

Build a data ingestion pipeline from Mailchimp to Snowflake

Learn how to easily build a data ingestion pipeline to load business data from Mailchimp to Snowflake.

Load data from Facebook Ads to BigQuery

Learn how to load Facebook Ads data to BigQuery using Airbyte Cloud.

Move data from LinkedIn Ads to BigQuery

Learn how to move marketing data from LinkedIn Ads to BigQuery for improved analytics, reporting, and insights.