Skip to main content

πŸš€ Quickstart

Connect to Hubspot with Nango and see data flow in 2 minutes.
1

Create the integration

In Nango (free signup), go to Integrations -> Configure New Integration -> Hubspot.
2

Authorize Hubspot

Go to Connections -> Add Test Connection -> Authorize, then log in to Hubspot. Later, you’ll let your users do the same directly from your app.
3

Call the Hubspot API

Let’s make your first request to the Hubspot API (fetch a list of contacts). Replace the placeholders below with your secret key, integration ID, and connection ID:
curl "https://api.nango.dev/proxy/crm/v3/objects/contacts?properties=email,phone" \
  -H "Authorization: Bearer <NANGO-SECRET-KEY>" \
  -H "Provider-Config-Key: <INTEGRATION-ID>" \
  -H "Connection-Id: <CONNECTION-ID>"
Or fetch credentials with the Node SDK or API.βœ… You’re connected! Check the Logs tab in Nango to inspect requests.
4

Implement Nango in your app

Follow our Auth implementation guide to integrate Nango in your app.To obtain your own production credentials, follow the setup guide linked below.

πŸ“š Hubspot Integration Guides

Nango maintained guides for common use cases. Official docs: Hubspot API docs

🧩 Pre-built syncs & actions for Hubspot

Enable them in your dashboard. Extend and customize to fit your needs.

Companies

Function nameDescriptionTypeSource code
companiesSync companies from HubSpot CRMSyncπŸ”— Github

Contacts

Function nameDescriptionTypeSource code
contactsSync contactsSyncπŸ”— Github

Deals

Function nameDescriptionTypeSource code
dealsSync deals with amount, close date, stage, owner, description, and associated companies and contactsSyncπŸ”— Github

Marketing Emails

Function nameDescriptionTypeSource code
marketing-emailsSync marketing emails from HubSpotSyncπŸ”— Github

Owners

Function nameDescriptionTypeSource code
ownersSync HubSpot owners with names, email, user IDs, and archive statusSyncπŸ”— Github

Products

Function nameDescriptionTypeSource code
productsSync product records with pricing, SKU, quantity, and billing detailsSyncπŸ”— Github

Tasks

Function nameDescriptionTypeSource code
tasksSync tasks with type, title, priority, assignee, due date, notes, and related contacts, companies, and dealsSyncπŸ”— Github

Tickets

Function nameDescriptionTypeSource code
service-ticketsSync service tickets with subject, content, owner, pipeline, stage, category, and prioritySyncπŸ”— Github

Users

Function nameDescriptionTypeSource code
usersSync provisioned users with role IDs, primary team, and admin statusSyncπŸ”— Github