OpenCX is moving from HubSpot Private Apps (paste-token) to a HubSpot Public App that connects via OAuth. This page walks through what changes for you and how to migrate.Documentation Index
Fetch the complete documentation index at: https://docs.open.cx/llms.txt
Use this file to discover all available pages before exploring further.
Why migrate
- Private Apps are HubSpot’s legacy auth path. New features (workflow extensions, granular OAuth scopes) only work on the Public App / OAuth track.
- One click instead of token paste. No more creating a HubSpot Private App, copying scopes, pasting access tokens, or configuring webhooks manually.
- Better security. OAuth tokens are short-lived and refreshed automatically. A Private App token lives forever until you remember to rotate it.
- Instant AI silence on agent claim. When a HubSpot agent assigns themselves to a conversation, the OpenCX AI stops replying within ~1 second instead of “on the next customer message”.
What changes
| Legacy Private App | OAuth Public App | |
|---|---|---|
| Setup time | ~15 min | ~30 sec |
| Access token | Paste-and-store | Issued automatically, refreshed every ~30 min |
| Webhook URL | Manually copied into HubSpot | Subscribed automatically on install |
| Workflow extensions in HubSpot | Not available | ”Pause OpenCX AI”, “Resume OpenCX AI”, “Send to OpenCX AI”, “Request OpenCX handoff” |
| Owner-change AI silence | Race window of seconds-to-minutes | < 1 second (P95) |
How to migrate
- In OpenCX, open Settings → Integrations → HubSpot Service Hub.
- If you previously connected via a Private App, you’ll see a yellow banner at the top of the modal: “HubSpot Private Apps are being phased out — click Connect with HubSpot below to migrate.”
- Click the Connect with HubSpot button. A new browser tab opens HubSpot’s consent screen.
- Approve the requested scopes (these match what your Private App had:
tickets,conversations.read/write,crm.objects.contacts.read/write,crm.objects.companies.read,crm.objects.deals.read,crm.objects.owners.read,automation). - You’ll bounce back to OpenCX with a “HubSpot connected” toast. The integration card now shows Connected.
- Optional: in HubSpot, delete the OpenCX Private App you previously created. The new OAuth app supersedes it.
Frequently asked questions
Do I lose any tickets or conversation history during the switch?
No. The migration only touches the auth tokens. Yourchat_sessions, chat_history, ticket links, and signature settings are untouched.