Connector guide — HubSpot (hubspot)

Fixed sections (Phase D1 format). Facts marked [Validated] are measured in code or tests; [Observed] facts carry a date; [Gap] names an open item. No credential, token, account identifier or tenant value appears in this file.

What it is

HubSpot CRM. For MIZ OKI it would be a CRM system-of-record rail — deal pipeline aggregates first, contact-level data only under a consent-registry grant (playbook §4.3, OB-GAP-3). Catalog category crm, wave 4. Design: docs/design/connectors/hubspot.md.

Status (measured)

[Observed 2026-10-12] available: false, wave 4, in CONNECTOR_CATALOG (services/service-marketing-connectors/connector_credentials.py) — the row is added by the C7 change this guide ships with and enumerates the fields below so the surface can name them; it collects nothing. [Validated] The onboarding UI renders an available: false row as a locked card with a "Wave 4" pill (miz-oki-command-center-ui/components/connectors/marketing-connectors.tsx, the !entry.available branch); posting any payload for the provider returns 409 provider_not_available ("is wave 4 and not yet enabled"). The honest words are "not yet available". The adapter is built only when a tenant declares demand (docs/OPEN_ITEMS.md row); never promise a date.

Who owns the account

The customer. The HubSpot account and the private app inside it stay the customer's; a super admin creates the app with read scopes only and can rotate or delete its token at any time (law 3). There is no platform credential.

Prerequisites

Visibility invite (click path)

HubSpot → Settings → Users & Teams → Create user → the Media Intelligence access seat with view-only CRM permissions (no edit, no export). Vendor UIs drift; follow HubSpot's current help if a label differs.

Connecting in the onboarding UI

There is nothing to connect yet. The card is locked: it shows the label, the description and the Wave 4 pill, and has no inputs. Do not collect any of the values below by another channel (law 2, law 10); record the tenant's demand instead, so the build is demand-driven and the row can be flipped only after live verification (CDoD point 14).

Fields

key where the tenant finds it format secret? required?
private_app_token HubSpot → Development → Legacy apps (private apps) → your app → Auth tab → Show token opaque; begins with a three-letter private-app prefix and a hyphen; never echoed yes yes
portal_id the account menu (top-right) → Hub ID; also in the HubSpot URL digits no yes

Test connection

Not applicable until built. Today every post is 409 provider_not_available; that is the surface working as designed, not a fault to work around. The planned verdict table lives in the design note.

What it feeds

When built: the system-of-record door → canonical ingest gate → mizoki_unified_data (deal and company aggregates; contacts only under a grant). No writeback: no property writes, no timeline events.

Deal and company aggregates are de-personalised and flow on the aggregate path. Contact fields (email, name, phone, lifecycle stage) are person-level and flow only under a consent-registry grant with a per-subject basis; HubSpot's own legal-basis property is a vendor declaration and never substitutes for one. The deny-list applies to free-text CRM properties at ingest.

Revoke / offboard

Nothing is stored, so there is nothing to revoke on the platform side. If a customer created a credential in anticipation, ask them to delete or rotate it on the vendor side; never accept it meanwhile. When built: the customer rotates or deletes the private app token; the operator removes the vault entry through the governed path.

Known gaps

Last verified

Catalog shape, UI locked-card branch and the 409 path measured 2026-10-12 in the C7 worktree (branch feat/onboarding-connectors-self-healing-20261012). Vendor documentation: HubSpot Developers "Private apps" (developers.hubspot.com/docs/api/private-apps) — fetched 2026-10-12.

← All docsView source on GitHub →