Hubspot

Configuring Hubspot with Polytomic On Premises

Polytomic uses OAuth to connect to Hubspot. At this time Hubspot does not support private applications, so you will need to register for a Hubspot App Developer account in order to set up a new OAuth application for Polytomic.

Your valid redirect URLs must include {POLYTOMIC_URL}/connect/hubspot.

Hubspot application settingsHubspot application settings

Hubspot application settings

Hubspot recently split their scopes out into a broader set of scopes. Select the following scopes based on what is available to you.

Pre-scope migration OAuth App Scopes

  • oauth
  • contacts
  • crm.import
  • crm.schemas.custom.read
  • crm.objects.custom.read
  • crm.objects.custom.write

New Oauth App Scopes

  • oauth
  • crm.import
  • crm.objects.custom.read
  • crm.objects.custom.write
  • crm.schemas.custom.read
  • crm.objects.contacts.read
  • crm.objects.contacts.write
  • crm.schemas.contacts.read
  • crm.objects.companies.read
  • crm.objects.companies.write
  • crm.schemas.companies.read
  • crm.objects.deals.read
  • crm.objects.deals.write
  • crm.schemas.deals.read
  • crm.lists.read
  • crm.lists.write
  • crm.objects.owners.read

Once you have set up the OAuth client, you will need to set the Client ID and Client Secret environment variables for Polytomic:

  • HUBSPOT_CLIENT_ID
  • HUBSPOT_CLIENT_SECRET