Skip to main content
Configure the source at AI Training → Data Sources.
Only published Knowledge Base articles are synced. HubSpot indexes drafts separately and does not expose them to third-party integrations. Publish articles in HubSpot before expecting them in OpenCX.

Set up the sync

1

Create a HubSpot Private App

In HubSpot, go to Settings → Integrations → Private Apps and create an app. Any valid access token for the account works — OpenCX uses it only to detect your portal ID. See HubSpot’s private apps guide.
2

Open Data Sources

3

Add a HubSpot Knowledge Base source

Click Add source → HubSpot Knowledge Base.
FieldExampleWhere to get it
Private App Access Tokenpat-na1-… or pat-eu1-…The access token from the private app you created above.
4

Start the sync

Click Connect. OpenCX auto-detects your HubSpot portal ID and starts a full pull of published articles from the Site Search index. Large knowledge bases take longer.
5

Verify in AI Instructions

Open AI Training → AI Instructions. Published articles appear under HubSpot Knowledge Base, each linked to its source URL in your help center.

What gets synced

Whole-account pull of articles HubSpot has published and indexed for site search. Titles, indexed body snippets (LONG mode), and the public article URL are stored for retrieval.
All synced articles are public — they are published, customer-facing help content. Drafts and unpublished articles are not pulled and never appear in the index.
Each sync run is a full re-pull with overwrite, so unpublishing or deleting an article in HubSpot removes it from the index on the next successful sync. The cost is that each run is heavier than an incremental pull — adjust the cadence on the connection schedule if you have a very large knowledge base.

Limits

Value
Streams syncedarticles
Sync modefull_refresh_overwrite
Sync cadenceAirbyte polling — typically every few hours
Credential typeHubSpot Private App access token (portal ID auto-detected)
API usedHubSpot Site Search (type=KNOWLEDGE_ARTICLE)
Draft handlingNot synced — publish in HubSpot first
Multi-accountOne HubSpot portal per source
Selective scopingNone today — whole published index pulled

HubSpot Knowledge Base overview

What this source does and doesn’t.

Troubleshooting

Auth errors, missing articles, slow syncs.

Website crawler

Fallback for draft HTML or scoped subsets.

Connect a knowledge source

All sources.