Hubspot
Table of Contents
The tap-hubspot Meltano extractor pulls data from Hubspot that can then be sent to a destination using a loader.
Alternative variants #
Multiple
variants
of tap-hubspot are available.
This document describes the default singer-io variant,
which is recommended for new users.
Alternative variants are:
Getting Started #
Prerequisites #
If you haven't already, follow the initial steps of the Getting Started guide:
Installation and configuration #
Using the Command Line Interface #
-
Add the
tap-hubspotextractor to your project usingmeltano add:meltano add extractor tap-hubspot -
Configure the settings below using
meltano config.
Next steps #
Follow the remaining steps of the Getting Started guide:
- Select entities and attributes to extract
- Add a loader to send data to a destination
- Run a data integration (EL) pipeline
If you run into any issues, learn how to get help.
Capabilities #
Settings #
tap-hubspot requires the
configuration
of the following settings:
These and other supported settings are documented below. To quickly find the setting you're looking for, use the Table of Contents at the top of the page.
Redirect URI (redirect_uri)
#
-
Environment variable:
TAP_HUBSPOT_REDIRECT_URI
This is the URL that the user will be redirected to after they authorize your app for the requested scopes
See https://legacydocs.hubspot.com/docs/methods/oauth2/oauth2-quickstart.
How to use #
Manage this setting using
meltano config or an
environment variable:
meltano config tap-hubspot set redirect_uri <redirect_uri>
export TAP_HUBSPOT_REDIRECT_URI=<redirect_uri>
Client ID (client_id)
#
-
Environment variable:
TAP_HUBSPOT_CLIENT_ID
This identifies the app used to connect to HubSpot.
See https://legacydocs.hubspot.com/docs/methods/oauth2/oauth2-quickstart.
How to use #
Manage this setting using
meltano config or an
environment variable:
meltano config tap-hubspot set client_id <client_id>
export TAP_HUBSPOT_CLIENT_ID=<client_id>
Client Secret (client_secret)
#
-
Environment variable:
TAP_HUBSPOT_CLIENT_SECRET
The client secret used for authentication.
How to use #
Manage this setting using
meltano config or an
environment variable:
meltano config tap-hubspot set client_secret <client_secret>
export TAP_HUBSPOT_CLIENT_SECRET=<client_secret>
Refresh Token (refresh_token)
#
-
Environment variable:
TAP_HUBSPOT_REFRESH_TOKEN
This is the refresh token provided by HubSpot.
How to use #
Manage this setting using
meltano config or an
environment variable:
meltano config tap-hubspot set refresh_token <refresh_token>
export TAP_HUBSPOT_REFRESH_TOKEN=<refresh_token>
Start Date (start_date)
#
-
Environment variable:
TAP_HUBSPOT_START_DATE
This is the cutoff date for syncing historical data.
How to use #
Manage this setting using
meltano config or an
environment variable:
meltano config tap-hubspot set start_date YYYY-MM-DDTHH:MM:SSZ
export TAP_HUBSPOT_START_DATE=YYYY-MM-DDTHH:MM:SSZLooking for help? #
If you're having trouble getting the
tap-hubspot extractor to work, look for an
existing issue in its repository, file a new issue,
or
join the Meltano Slack community
and ask for help in the #plugins-general channel.
Found an issue on this page? #
This page is generated from a YAML file that you can contribute changes to. Edit it on GitHub!