π 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:Or fetch credentials with the Node SDK or API.β
Youβre connected! Check the Logs tab in Nango to inspect requests.
- cURL
- Node
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.- How to register your own Hubspot OAuth app
Register an OAuth app with Hubspot and obtain credentials to connect it to Nango
π§© Pre-built syncs & actions for Hubspot
Enable them in your dashboard. Extend and customize to fit your needs.Companies
| Function name | Description | Type | Source code |
|---|---|---|---|
create-company | Create a single company in Hubspot | Action | π Github |
update-company | Update a single company in Hubspot | Action | π Github |
delete-company | Deletes a company in Hubspot | Action | π Github |
companies | Fetches a list of companies from Hubspot | Sync | π Github |
Contacts
| Function name | Description | Type | Source code |
|---|---|---|---|
create-contact | Create a single contact in Hubspot | Action | π Github |
update-contact | Updates a single contact in Hubspot | Action | π Github |
delete-contact | Deletes a contact in Hubspot | Action | π Github |
contacts | Fetches a list of contacts from Hubspot | Sync | π Github |
Deals
| Function name | Description | Type | Source code |
|---|---|---|---|
create-deal | Creates a single deal in Hubspot | Action | π Github |
update-deal | Updates a single deal in Hubspot | Action | π Github |
delete-deal | Deletes a deal in Hubspot | Action | π Github |
deals | Fetches a list of deals from Hubspot with their associated companies and contacts | Sync | π Github |
Owners
| Function name | Description | Type | Source code |
|---|---|---|---|
owners | Fetches a list of owners from Hubspot | Sync | π Github |
Pipelines
| Function name | Description | Type | Source code |
|---|---|---|---|
fetch-pipelines | Fetch all pipelines for an object type. Defaults to deals | Action | π Github |
Products
| Function name | Description | Type | Source code |
|---|---|---|---|
products | Fetches a list of products from Hubspot | Sync | π Github |
Properties
| Function name | Description | Type | Source code |
|---|---|---|---|
fetch-properties | Fetch the properties of a specified object | Action | π Github |
create-property | Create a property in Hubspot | Action | π Github |
Roles
| Function name | Description | Type | Source code |
|---|---|---|---|
fetch-roles | Fetch the roles on an account. Requires an enterprise account. | Action | π Github |
change-user-role | Change a user role. Requires an enterprise account. | Action | π Github |
Tasks
| Function name | Description | Type | Source code |
|---|---|---|---|
create-task | Creates a single task in Hubspot | Action | π Github |
update-task | Updates a single company in Hubspot | Action | π Github |
delete-task | Deletes a task in Hubspot | Action | π Github |
tasks | Fetches a list of tasks from Hubspot | Sync | π Github |
Users
| Function name | Description | Type | Source code |
|---|---|---|---|
whoami | Fetch current user information | Action | π Github |
create-user | Creates a single user in Hubspot | Action | π Github |
delete-user | Deletes a user in Hubspot | Action | π Github |
users | Fetches a list of users from Hubspot | Sync | π Github |
Others
| Function name | Description | Type | Source code |
|---|---|---|---|
fetch-account-information | Fetch the account information from Hubspot | Action | π Github |
fetch-custom-objects | Fetch custom objects in Hubspot. Requires Hubspot enterprise | Action | π Github |
create-note | Creates a single note in Hubspot | Action | π Github |
service-tickets | Fetches a list of service tickets from Hubspot | Sync | π Github |
knowledge-base | Fetches a list of knowledge base from Hubspot | Sync | π Github |
currency-codes | Fetch hubspot deals | Sync | π Github |