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

# HubSpot

> The HubSpot integration allows you to automatically sync your deals and revenue data into Runway.

Runway offers two ways to integrate with **HubSpot**:

* **SQL-powered integration via Fivetran (Recommended)** – Ideal if you need advanced data customization and want to pull in a wide range of HubSpot objects (like Deals, Owners, Accounts, Users, and more).
* **Quick-start connection via Workato** – A simpler setup, but limited in scope. For example, it supports only a subset of HubSpot objects, such as Deals, and doesn't allow you to pull in related context like Owner, Account, or User data.

## SQL-powered integration via Fivetran (Recommended)

1. Click **Setup** on the **HubSpot (Fivetran)** integration in the Integrations directory and follow the on-screen authentication process.

   <img src="https://mintcdn.com/runway-5055a12e/cPpS0_J0f_14t9nM/images/integrations/hubspot/hubspot-fivetran.png?fit=max&auto=format&n=cPpS0_J0f_14t9nM&q=85&s=534b991679cef08160478e96a2af306a" alt="images/integrations/hubspot/hubspot-fivetran.png" width="863" height="456" data-path="images/integrations/hubspot/hubspot-fivetran.png" />
2. When prompted in **Fivetran**, select **Sync all historical data** for the sync time frame.

   <img src="https://mintcdn.com/runway-5055a12e/cPpS0_J0f_14t9nM/images/integrations/hubspot/hubspot-fivetran-scope.png?fit=max&auto=format&n=cPpS0_J0f_14t9nM&q=85&s=d3acdda4bc11c232c6d6fe0509693416" alt="images/integrations/hubspot/hubspot-fivetran-scope.png" width="980" height="426" data-path="images/integrations/hubspot/hubspot-fivetran-scope.png" />
3. After being redirected back to **Runway**, we recommend using our **HubSpot Deal Quickstart** integration template.

   * In the left sidebar, navigate to **Templates**.
   * Search for **HubSpot Deal Quickstart**.
   * Click **+ Add to Runway** to apply the template.

   <img src="https://mintcdn.com/runway-5055a12e/cPpS0_J0f_14t9nM/images/integrations/hubspot/hubspot-fivetran-template.png?fit=max&auto=format&n=cPpS0_J0f_14t9nM&q=85&s=97bc8fdc91fc9eece39e4b49b8a4082e" alt="images/integrations/hubspot/hubspot-fivetran-template.png" width="893" height="577" data-path="images/integrations/hubspot/hubspot-fivetran-template.png" />
4. This template automatically creates a database for you to begin building your model.
5. Alternatively, you can follow our [SQL guide](https://docs.runway.com/integrations/writing-sql) to customize the existing quick-start template or pull additional objects and properties. Note that when referencing HubSpot properties in your query, you must use their internal names, which differ from the display names shown in the HubSpot interface.
   * To find available properties, go to HubSpot settings (⚙️) → Data Management → Properties → Select the relevant object (e.g., deal)
   * From this list, search for the specific property you want to add to Runway, such as deal name.

     <img src="https://mintcdn.com/runway-5055a12e/cPpS0_J0f_14t9nM/images/integrations/hubspot/hubspot-property.png?fit=max&auto=format&n=cPpS0_J0f_14t9nM&q=85&s=f02227297218d62bbfcb2c97c18acc3a" alt="images/integrations/hubspot/hubspot-property.png" width="1051" height="629" data-path="images/integrations/hubspot/hubspot-property.png" />
   * Click the property to find its internal name. When writing your SQL, search for a property with a matching name.

     <img src="https://mintcdn.com/runway-5055a12e/cPpS0_J0f_14t9nM/images/integrations/hubspot/hubspot-property-internal-name.png?fit=max&auto=format&n=cPpS0_J0f_14t9nM&q=85&s=99e7f0d84bf0acc5765d34d1928ef737" alt="images/integrations/hubspot/hubspot-property-internal-name.png" width="692" height="457" data-path="images/integrations/hubspot/hubspot-property-internal-name.png" />

## Quick-start connection via Workato

1. Open your [Runway instance](https://app.runway.com/).
2. In the left sidebar, hover over **Integrations** and click the **+** button to open the Integrations Directory.
3. Under the **Other** section, search for **HubSpot** and click **+ Set up** on the option listed in **Others** section.

   <img src="https://mintcdn.com/runway-5055a12e/zqp1VpJvDoOQkhBf/images/integrations/hubspot/fivetran-workato.png?fit=max&auto=format&n=zqp1VpJvDoOQkhBf&q=85&s=ae660f7e59235c6a142d02e7de4483e4" alt="images/integrations/hubspot/fivetran-workato.png" width="1008" height="459" data-path="images/integrations/hubspot/fivetran-workato.png" />
4. You'll be redirected to HubSpot to authorize the connection and complete authentication.
5. Once authorized, you'll return to Runway. Click **+** next to the integration name in the sidebar to create a new query.

   <img src="https://mintcdn.com/runway-5055a12e/zqp1VpJvDoOQkhBf/images/integrations/hubspot/create-query.png?fit=max&auto=format&n=zqp1VpJvDoOQkhBf&q=85&s=63b95456b858d400b6074efb40eb3fcd" alt="images/integrations/hubspot/create-query.png" width="1320" height="286" data-path="images/integrations/hubspot/create-query.png" />
6. You can then change the default query name, **New query**, to something more descriptive. To do this, click the **three-dots button** next to the query name in the sidebar and select **Rename query**.

   <img src="https://mintcdn.com/runway-5055a12e/cPpS0_J0f_14t9nM/images/integrations/hubspot/rename-query.png?fit=max&auto=format&n=cPpS0_J0f_14t9nM&q=85&s=455423416bb64ee07ddbbe98e63adba7" alt="images/integrations/hubspot/rename-query.png" width="1100" height="404" data-path="images/integrations/hubspot/rename-query.png" />
7. In the query form, you can select the **HubSpot object** you want to work with (**Deals** is the most commonly used), and in the **properties** you want to pull for that object.

   <img src="https://mintcdn.com/runway-5055a12e/cPpS0_J0f_14t9nM/images/integrations/hubspot/hubspot-workato-form.png?fit=max&auto=format&n=cPpS0_J0f_14t9nM&q=85&s=0c148c2d6b03cc99c986d0fdfa84ff81" alt="images/integrations/hubspot/hubspot-workato-form.png" width="934" height="578" data-path="images/integrations/hubspot/hubspot-workato-form.png" />
8. Note that for **properties**, you must use their internal names, which differ from the display names shown in the HubSpot interface.
   * To find the list of available properties, in **HubSpot**, navigate to **Settings (⚙️) → Data Management → Properties** and select the matching object (e.g., Deals).
   * In this list, search for the property you wish to add to runway, for example, deal name.

     <img src="https://mintcdn.com/runway-5055a12e/cPpS0_J0f_14t9nM/images/integrations/hubspot/hubspot-property.png?fit=max&auto=format&n=cPpS0_J0f_14t9nM&q=85&s=f02227297218d62bbfcb2c97c18acc3a" alt="/images/integrations/hubspot/hubspot-property.png+_existingInIndexedDbMintlify" width="1051" height="629" data-path="images/integrations/hubspot/hubspot-property.png" />
   * Click into the property and find the internal name.

     <img src="https://mintcdn.com/runway-5055a12e/cPpS0_J0f_14t9nM/images/integrations/hubspot/hubspot-property-internal-name.png?fit=max&auto=format&n=cPpS0_J0f_14t9nM&q=85&s=99e7f0d84bf0acc5765d34d1928ef737" alt="/images/integrations/hubspot/hubspot-property-internal-name.png+_existingInIndexedDbMintlify" width="692" height="457" data-path="images/integrations/hubspot/hubspot-property-internal-name.png" />
9. Type that internal name into the Runway properties field and press Enter.
10. Repeat for all desired fields for that object.
11. Once completed, click Run query and validate the data looks correct.
12. You’re done integrating! [Go ahead and configure a new database.](https://docs.runway.com/concepts/databases/databases-basics)

## HubSpot FAQs

<Accordion title="How do I write SQL in Runway?">
  See this [help doc](https://docs.runway.com/integrations/writing-sql).
</Accordion>

<Accordion title="What objects does Runway have access to?">
  Our Fivetran integration has access to all standard HubSpot objects and
  fields. HubSpot data can be complex, and writing queries can sometimes be
  challenging. If you need help pulling specific data, reach out to our
  team—we’re happy to assist.
</Accordion>

<Accordion title="How does a deal land in a time series?">
  It’s fully customizable—you can map each deal based on dates such as creation
  date, close date, or contract start date. You can also use Runway’s built-in
  functionality to pull values forward into future periods. This is a common use
  case, so feel free to contact our team for guidance.
</Accordion>
