Skip to main content
Connect HubSpot to AstroBee to analyze your CRM, marketing, and sales data. Get queryable access to contacts, companies, deals, email campaigns, and more from your HubSpot account.
Experimental feature: HubSpot connector is currently in beta. We’re actively improving sync reliability and adding more features.

Prerequisites

  • A HubSpot account with active CRM or marketing data
  • Super Admin access to your HubSpot account (required to authorize the connection)
  • HubSpot account must have data in contacts, companies, or deals
To connect HubSpot to Fivetran, you need a HubSpot account with Super Admin access. Users with lower permission levels cannot authorize the connection.

Connecting HubSpot

You can connect HubSpot in two ways: from the Sources page if you’re already using AstroBee, or during the onboarding process if you’re a new user.
  • During onboarding
  • From Sources page
1

Choose Connect Sources

On the Import Data screen, click the “Connect Sources” card
Onboarding screen with Connect Sources option
2

Select HubSpot

Click “Connect” next to HubSpot in the list of available connectors
Available connectors including HubSpot
3

Start connection

Click “Connect” to begin the setup process
Configure HubSpot interface
4

Authorize with Fivetran

AstroBee uses Fivetran to securely connect to HubSpot. Click “Continue” to proceed
Fivetran authorization screen
Fivetran ensures:
  • Secure: Data transfer is encrypted end-to-end and your credentials are never exposed
  • Private: Your data passes through without permanent storage
5

Configure authentication

Follow the setup guide on the right for detailed configuration instructions from Fivetran.
HubSpot authentication configuration
Click “Authorize with HubSpot” to authenticate. You’ll be redirected to HubSpot to:
  1. Log in with your Super Admin HubSpot account
  2. Review the permissions Fivetran is requesting
  3. Authorize access to your HubSpot data
Follow the Fivetran HubSpot setup guide for detailed configuration steps, including:
  • Required HubSpot permissions
  • Understanding HubSpot’s data structure
  • Custom object and property syncing
6

Test and save connection

Once configured, the connection will be tested automatically to verify access to your HubSpot account.
7

Select tables to sync

Back in AstroBee, your data is being synced from HubSpot. This typically takes 10 seconds to 10 minutes depending on your CRM data volume.Once synced, select which tables to include in your analysis. Common HubSpot tables include:
  • contact: Contact records with properties and engagement data
  • company: Company records and firmographic information
  • deal: Deal pipeline and sales opportunity data
  • email_event: Email marketing campaign interactions
  • engagement: Calls, meetings, notes, and tasks
  • owner: HubSpot users and team members
Select HubSpot tables in AstroBee
Click “Continue” to complete the setup
8

Connection complete

Your HubSpot connection is now active and appears in “My Sources”
HubSpot connection completed

What happens next

After connecting HubSpot, you can create a data layer to start querying your CRM and marketing data. Click “Create Data Layer” to let AstroBee analyze your HubSpot tables and generate a business model for natural language queries.

Syncing data

HubSpot connections use manual sync - you control when data is refreshed. To sync your latest CRM and marketing data:
  1. Navigate to the Sources page
  2. Find your HubSpot connection
  3. Click the sync button
AstroBee will pull the latest contacts, companies, deals, and engagement data from your HubSpot account.

Understanding HubSpot data

HubSpot syncs multiple related tables that work together:
  • CRM objects: Contacts, Companies, Deals, and custom objects
  • Engagement data: Calls, meetings, emails, notes, and tasks
  • Marketing data: Email campaigns, forms, and landing pages
  • Pipeline data: Deal stages, sales activities, and revenue tracking
  • Team data: Users, teams, and ownership assignments
The exact tables available depend on your HubSpot subscription level and which features you use.

Troubleshooting

For additional help, see Fivetran’s HubSpot troubleshooting guide.
Issue: Unable to authorize access to HubSpot.Solution:
  • Ensure you have Super Admin access to the HubSpot account
  • Verify you’re signed in to the correct HubSpot account
  • Check that your organization allows third-party access to HubSpot
  • Try re-authorizing from the beginning
  • Confirm your HubSpot account is active and not suspended
Issue: Connection succeeds but no data appears in tables.Solution:
  • Verify your HubSpot account has contacts, companies, or deals
  • Check that you selected the correct tables during setup
  • Ensure your HubSpot data isn’t empty
  • Wait for the initial sync to complete (can take 10+ minutes for large CRM databases)
  • Trigger a manual sync to refresh data
Issue: Initial sync appears stuck or is taking longer than expected.Solution:
  • Large CRM databases with thousands of records can take 30+ minutes to sync
  • Check your internet connection
  • Avoid making changes to the connection during sync
  • HubSpot API rate limits may slow down large syncs
  • If stuck for more than an hour, contact support at support@astrobee.ai
Issue: Some contacts or companies don’t appear in synced data.Solution:
  • Verify the records exist in your HubSpot CRM
  • Check that records aren’t filtered or archived in HubSpot
  • Ensure you selected the relevant tables during setup
  • Trigger a new sync to pull the latest data
  • Review your HubSpot user permissions - Super Admin can see all data
Issue: Custom HubSpot properties don’t appear in synced tables.Solution:
  • Verify custom properties exist in your HubSpot account
  • Check that custom properties have data populated
  • Custom properties sync automatically but may take an additional sync cycle
  • Trigger a new sync after creating new custom properties
  • Some custom property types may not be supported by the connector
Issue: Cannot access specific HubSpot data or objects.Solution:
  • Confirm you have Super Admin role in HubSpot
  • Check that your HubSpot subscription includes the features you’re trying to sync
  • Some objects (like custom objects) require specific HubSpot tiers
  • Re-authenticate to refresh your access permissions
  • Contact your HubSpot account administrator if access issues persist

Next steps