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
  • Node
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 quickstart 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
create-companyCreate a single company in HubspotActionπŸ”— Github
update-companyUpdate a single company in HubspotActionπŸ”— Github
delete-companyDeletes a company in HubspotActionπŸ”— Github
companiesFetches a list of companies from HubspotSyncπŸ”— Github

Contacts

Function nameDescriptionTypeSource code
create-contactCreate a single contact in HubspotActionπŸ”— Github
update-contactUpdates a single contact in HubspotActionπŸ”— Github
delete-contactDeletes a contact in HubspotActionπŸ”— Github
contactsFetches a list of contacts from HubspotSyncπŸ”— Github

Deals

Function nameDescriptionTypeSource code
create-dealCreates a single deal in HubspotActionπŸ”— Github
update-dealUpdates a single deal in HubspotActionπŸ”— Github
delete-dealDeletes a deal in HubspotActionπŸ”— Github
dealsFetches a list of deals from Hubspot with their associated companies and contactsSyncπŸ”— Github

Owners

Function nameDescriptionTypeSource code
ownersFetches a list of owners from HubspotSyncπŸ”— Github

Pipelines

Function nameDescriptionTypeSource code
fetch-pipelinesFetch all pipelines for an object type. Defaults to dealsActionπŸ”— Github

Products

Function nameDescriptionTypeSource code
productsFetches a list of products from HubspotSyncπŸ”— Github

Properties

Function nameDescriptionTypeSource code
fetch-propertiesFetch the properties of a specified objectActionπŸ”— Github
create-propertyCreate a property in HubspotActionπŸ”— Github

Roles

Function nameDescriptionTypeSource code
fetch-rolesFetch the roles on an account. Requires an enterprise account.ActionπŸ”— Github
change-user-roleChange a user role. Requires an enterprise account.ActionπŸ”— Github

Tasks

Function nameDescriptionTypeSource code
create-taskCreates a single task in HubspotActionπŸ”— Github
update-taskUpdates a single company in HubspotActionπŸ”— Github
delete-taskDeletes a task in HubspotActionπŸ”— Github
tasksFetches a list of tasks from HubspotSyncπŸ”— Github

Users

Function nameDescriptionTypeSource code
whoamiFetch current user informationActionπŸ”— Github
create-userCreates a single user in HubspotActionπŸ”— Github
delete-userDeletes a user in HubspotActionπŸ”— Github
usersFetches a list of users from HubspotSyncπŸ”— Github

Others

Function nameDescriptionTypeSource code
fetch-account-informationFetch the account information from HubspotActionπŸ”— Github
fetch-custom-objectsFetch custom objects in Hubspot. Requires Hubspot enterpriseActionπŸ”— Github
create-noteCreates a single note in HubspotActionπŸ”— Github
service-ticketsFetches a list of service tickets from HubspotSyncπŸ”— Github
knowledge-baseFetches a list of knowledge base from HubspotSyncπŸ”— Github
currency-codesFetch hubspot dealsSyncπŸ”— Github