Integrations•7 min read

HubSpot CRM Integration Setup Guide

Connect HubSpot CRM to Valstorm so your team and Valstorm AI assistants can search, view, create, and update Contacts, Companies, Deals, Tickets, and Leads, inspect pipelines and owners, and log timeline activities (notes, calls, tasks, meetings, emails, and SMS/communications).


How Valstorm Connects to HubSpot

Valstorm supports two complementary connection scopes for HubSpot CRM:

  • Organization Scope (HubSpot Account Service Keys): A Valstorm Admin or delegated HubSpot Org Manager saves one or more labeled HubSpot Service Keys (pat-...). Each key is encrypted, starts private to the creator, and can be shared with specific Users or User Groups via Shared With. You can create separate keys with different permission levels (for example, a Read-Only key for general staff and a Read & Write key for Sales/RevOps).
  • Personal User Scope (1-Click HubSpot OAuth): Any Valstorm user can connect their own HubSpot user account under Integrations → User Scope. Personal connections run under your individual HubSpot owner identity (hubspot_owner_id), refresh automatically, and ensure notes, calls, tasks, and updates are attributed directly to you.

Prerequisites

  • For Organization Scope:
    • HubSpot Super Admin permissions in your HubSpot CRM portal (required to create Account Service Keys).
    • Valstorm Admin role or delegated HubSpot Org Manager access in Valstorm.
  • For Personal User Scope:
    • An active HubSpot user seat in your company's HubSpot CRM portal (verified under HubSpot Settings → Users & Teams).
    • Any standard Valstorm user login (no Valstorm Admin role required).

Step 1: Create a HubSpot Account Service Key (Organization Scope)

  1. Sign in to your company's HubSpot CRM portal as a Super Admin.
  2. Open Development → Keys → Service keys (on some older portals, navigate to Settings → Integrations → Private Apps).
  3. Click Create service key (or Create a private app).
  4. Give the key a clear name (for example, Valstorm Sales Read-Only or Valstorm RevOps Read & Write).
  5. Select the CRM scopes you want this key to have:
HubSpot ScopeRecommended LevelHubSpot TierWhat It Enables in Valstorm
crm.objects.contactsRead (or Read & Write)All tiers (Free–Enterprise)Search, view, create, and update Contacts — and authorizes timeline activities (notes, calls, tasks, meetings)
crm.objects.companiesRead (or Read & Write)All tiers (Free–Enterprise)Search, view, create, and update Companies (plus associated timeline activities)
crm.objects.dealsRead (or Read & Write)All tiers (Free–Enterprise)View deal pipelines/stages and create or update Deals (plus associated timeline activities)
crm.objects.owners.readReadAll tiers (Free–Enterprise)Resolve HubSpot owners for record assignment and activity attribution
crm.objects.ticketsRead (or Read & Write)Service Hub (Free–Enterprise)View, create, and update Support Tickets (optional if not using Service Hub)
crm.objects.leadsRead (or Read & Write)Tier-dependent (Pro / Enterprise)View, create, and update Leads (skip on Free/Starter portals if not listed)
crm.schemas.contacts.read, crm.schemas.companies.read, crm.schemas.deals.readReadTier-dependent (Pro / Enterprise)Inspect custom CRM object schemas (skip on Free/Starter portals if not listed)

Free & Starter HubSpot Portals: Contacts, Companies, Deals, and Owners work on all HubSpot tiers (and cover timeline activities like notes, calls, tasks, and meetings). Leads and Schemas are tier-dependent (Pro/Enterprise) — if your portal doesn't show them, simply skip them.

Least-Privilege Tip: You can create multiple Service Keys in HubSpot — for example, one Read-Only key for broader visibility and one Read & Write key for Sales or RevOps teams — and share each key with different Valstorm User Groups.

HubSpot Sandbox Tip: If you use a HubSpot Sandbox portal for testing, generate the Service Key inside your Sandbox portal and label it clearly (e.g., HubSpot Sandbox) before saving it in Valstorm.

  1. Save/create the key, then click the key and select Show → Copy. Your key will start with a regional prefix such as pat-na1-..., pat-na2-..., or pat-eu1-....

Security Note: Treat Service Keys like passwords. HubSpot Service Keys do not expire automatically, so plan periodic rotation according to your organization's security policy and revoke unused keys in HubSpot.


Step 2: Save the Service Key in Valstorm Command Center

  1. In Valstorm, open Command Center → Integrations → Organization Scope.
  2. Select HubSpot CRM.
  3. Click Add New Service Key.
  4. Fill in the form:
    • Service Key Label: A clear label identifying the purpose and access level (e.g., Sales CRM Read-Only or RevOps Deals & Contacts).
    • HubSpot Service Key (pat-...): Paste the copied Service Key (pat-na1-..., pat-na2-..., or pat-eu1-...).
  5. Click Save.

Valstorm encrypts the key and automatically discovers your HubSpot Portal ID, UI domain, accessible CRM objects, and granted Read/Write capabilities.


Step 3: Verify & Share With Your Team

  1. Click Verify on your saved Service Key to confirm active connectivity and inspect the discovered HubSpot Portal ID and granted capabilities.
  2. Under Shared With, add the Users or User Groups who should be able to use this Service Key in Valstorm and with Valstorm AI assistants.
  3. Click Save.

Privacy by Default: Newly saved Service Keys are visible only to the creator until explicitly shared under Shared With. Only the key's creator can delete it.


Step 4: Connect Personal HubSpot Accounts (Personal User Scope)

Individual team members can link their own HubSpot accounts via 1-click OAuth so actions and timeline activities are logged under their personal HubSpot owner identity:

  1. Open Command Center → Integrations → User Scope (or type /connect hubspot in Valstorm AI Chat).
  2. Find HubSpot CRM and click Connect HubSpot.
  3. In the HubSpot popup window, sign in and select your company's HubSpot CRM Portal (do not select a Developer-only account).
  4. On the HubSpot permissions screen, under Optional (5), click All so Valstorm can also access Leads and CRM property schemas when supported by your portal's tier (HubSpot automatically omits any optional scope not included in your plan).
  5. Scroll to the bottom and click Connect app. The popup will finish connecting and close automatically.

Troubleshooting

IssueWhat to Check
401 Unauthorized / Invalid or deactivated keyConfirm the Service Key (pat-...) was copied completely without extra spaces and has not been deactivated or rotated in HubSpot Development → Keys → Service keys. If using User Scope, disconnect and reconnect HubSpot under User Scope.
403 Forbidden / Missing scope or object accessVerify the HubSpot Service Key (or user's HubSpot seat role) includes the required Read or Write scope for that object. Note that Leads and Schemas require HubSpot Pro/Enterprise, whereas Contacts, Companies, Deals, Owners, and timeline activities work on all tiers.
Connected a Developer account instead of CRM PortalIn User Scope, disconnect HubSpot, click Connect HubSpot again, and select your company's CRM Portal rather than a HubSpot App Developer account.
Team members don't see HubSpot or can't run queriesConfirm the user (or their User Group) is added under Shared With on the appropriate HubSpot Service Key in Organization Scope.
Activities aren't attributed to an individual repHave the rep connect their personal account under Command Center → Integrations → User Scope → HubSpot CRM so Valstorm can resolve their personal hubspot_owner_id.

Need help? You can also view this guide inside Valstorm at Command Center → Integrations → HubSpot CRM → Setup Guide, or ask your Valstorm AI assistant to walk you through setting up or verifying HubSpot.