Skip to content

Connecting HubSpot to Sebastian

Sebastian reads your customers (companies), contacts, deals, deal line items and record owners from HubSpot. It uses them for revenue planning and to match your contracts to customers. It only reads. It never changes anything in HubSpot.

  • In HubSpot: a Super Admin, or a user with the Developer tools access permission. A key can only be given permissions its creator already has, so if you aren’t a Super Admin, make sure you can already view companies, contacts, deals and line items. If in doubt, ask a Super Admin.
  • In Sebastian: someone with the Admin or IT Admin role, or a custom role with full access to Integrations.

Choose exactly these six, all read-only:

Permission What Sebastian uses it for
crm.objects.companies.read Customer companies
crm.objects.contacts.read Contacts
crm.objects.deals.read Deals and deal stages
crm.objects.line_items.read Line items on deals
crm.objects.owners.read Record owners
crm.schemas.companies.read Industry labels on companies

No write permissions are needed. Please don’t add any.

  1. In HubSpot, go to Development > Keys > Service keys.
  2. Click Create service key and name it, for example “Sebastian”.
  3. Click Add new scope and tick the six permissions above. Click Update.
  4. Review the list, then click Create and confirm.
  5. Open the key, click Show, then Copy.
  6. In Sebastian, open Settings > Integrations > HubSpot, paste the key into Service key and click Connect.

Sebastian checks the key when you click Connect. If a permission is missing, it tells you which one. Add it to the key in HubSpot, click Save, then paste the key into Sebastian and click Connect again.

  • “HubSpot did not accept this key. Check that the whole key was copied.” Copy the key again from HubSpot and paste the whole thing.
  • “This key cannot read companies. Give the key read access to companies in HubSpot and paste it again.” The key is missing a permission. The message names what it can’t read: companies, contacts, deals, line items, owners or company properties. Add the matching permission from the table above.
  • “HubSpot’s daily API limit for this account is used up. Sebastian will read again after it resets.” Nothing to do. Sebastian continues once HubSpot’s daily limit resets.
  • “HubSpot could not be reached. Try again in a moment.” Try again.
  • “Disconnect Salesforce before connecting HubSpot.” Only one CRM (HubSpot or Salesforce) can be connected at a time. Disconnect the other one first. The name of whichever CRM is connected appears in the message.
  • “Switch to HubSpot?” or “Connect a different HubSpot account?” Sebastian has already read customers from another CRM or another HubSpot account. The message says how many customers would be replaced and how many contracts would be matched again. Click Connect to continue, or cancel to keep what you have.
  • “You don’t have access to this. Ask an admin in your organization for access.” Your Sebastian role can’t manage integrations. Ask a Sebastian admin.
  • One CRM. Only one CRM (HubSpot or Salesforce) can be connected at a time.
  • Secrets are write-only. Sebastian encrypts the key and never shows it again. To replace it, click Replace next to “Credentials saved” and paste the new key.
  • Rotating the key. Use Rotate on the key’s page in HubSpot and paste the new key into Sebastian.
  • Sandbox accounts. If the key belongs to a HubSpot sandbox or developer test account, Sebastian labels the account Sandbox.
  • How often it reads. Sebastian reads HubSpot every 30 minutes by default. Open HubSpot under Settings > Integrations to choose Sync frequency (every 5 minutes to every 24 hours) or click Sync now. Re-read everything reads every record again, and can also run on a schedule you choose.
  • Disconnecting. Click Disconnect on the HubSpot panel in Sebastian.