# HubSpot help center

Sync your HubSpot knowledge base articles into the agent's Knowledge over OAuth.

**Path:** Agent Studio → Knowledge → **Add source** → **Help Center** → **HubSpot**

The HubSpot connector syncs your HubSpot knowledge base articles into the agent's [Knowledge](/user-guides/knowledge-base/) over HubSpot's API, with no crawling. You authorize it with **OAuth**: Foldspace sends you to HubSpot to sign in, pick your portal and approve read-only access, so there is no API key to copy or store. Foldspace only requests read access to your knowledge base articles and settings, and you can uninstall the app at any time from HubSpot. Because it signs in rather than crawls, it can also sync private articles, if you choose to include them.

This is the HubSpot knowledge connection. It's separate from the HubSpot CRM integration and the HubSpot support handoff, which live in Integrations. See [HubSpot](/user-guides/integrations-hubspot/).

## Before you start

- A HubSpot portal with a knowledge base and published articles.
- Permission to install apps in that HubSpot portal: you must be a **Super Admin** or have the **App Marketplace access** permission. If you don't, ask a Super Admin to connect the source.

## Connect

From the knowledge article list, click **Add source**, choose **Help Center**, then pick **HubSpot**. The connector opens a wizard: **Connect → Knowledge base → Categories → Details → Review**. The **Current Configuration** panel on the right tracks your choices as you go.

### 1. Connect

Click **Connect HubSpot**. Foldspace takes you to HubSpot to sign in, pick your portal and approve the **Foldspace Knowledge** app. The app asks for read access only: knowledge base articles and knowledge base settings. HubSpot then brings you back to the wizard.

HubSpot may show **"You're connecting an unverified app"**. This is expected while the Foldspace app is not yet listed on the HubSpot marketplace, and it is safe to continue.

### 2. Knowledge base

This step appears only when your portal has more than one knowledge base, or your knowledge base has more than one language. Otherwise the wizard goes straight to **Categories**. Choose the knowledge base to sync and its **Language**. Only articles in this language sync. The default is the knowledge base's main language.

One source syncs one knowledge base in one language. To sync another knowledge base, or another language of the same one, add another HubSpot source.

A knowledge base marked **Private** only syncs if you turn on **Include private articles** in step 4. Otherwise the Details step shows an error and you can't continue.

### 3. Categories

Choose which categories to bring in. Everything starts selected, so uncheck what you don't want to sync rather than building the list up. Use **Select all** / **Unselect all**, or search for a category by name.

- Each checkbox covers only the articles placed directly in that category. Checking or unchecking a category does not change its subcategories.
- Articles without a category sync only when all categories are selected.

Narrow the selection to the categories relevant to your agent, so it doesn't retrieve content it shouldn't surface. Only published articles sync; drafts and archived articles stay out. If an article is deleted, archived or moved back to draft in HubSpot, the next sync marks it **Removed** in Knowledge. Its content stays searchable until you delete it in Knowledge.

### 4. Details

- **Source Name**: a unique name, so you can tell this source apart from others in the source list (for example, "Main HubSpot Knowledge Base").
- **Enable weekly auto-resync** (off by default): re-syncs HubSpot content every week to keep categories and articles up to date.
- **Include private articles** (off by default): also syncs private articles, which HubSpot shows only to visitors who sign in (SSO) or who belong to an access group. While it is off, only public articles sync.

Private articles become part of this agent's knowledge, so anyone who can chat with the agent may get answers based on them.

### 5. Review

Check your settings, then click **Create source** to start the first sync.

## After connecting

The source appears in the left sidebar under **Sources**, and its articles populate the main article list with their **Synced** date. Confirm the expected articles came in before you rely on the agent to answer from them. See [Validating & improving](/user-guides/knowledge-validation/).

To refresh manually at any time, re-sync the source from its row. With weekly auto-resync enabled, edits your team makes in HubSpot flow in automatically once a week.

To change the source later, open it from the source list. The edit flow has three steps: **Settings → Categories → Review**. In **Settings** you can change the source name, **Include private articles** and auto-resync. To sync a different knowledge base or language, add a new HubSpot source.

Changing the categories or **Include private articles** deletes the source's synced content and runs a full resync. You can't make these changes while the source is syncing.

If the Foldspace app is uninstalled from your portal, or HubSpot refuses the connection, the source is marked **Reconnect needed** in the source list. Open the source: the **Settings** step shows **"HubSpot needs to be reconnected"**. Click **Reconnect HubSpot** and sign in to HubSpot again with the same portal. Reconnecting doesn't start a sync: resync the source from its row, or wait for the weekly auto-resync.

To disconnect, uninstall the app in HubSpot: **Settings** (gear icon) → **Integrations** → **Connected Apps** → **Actions** next to **Foldspace Knowledge** → **Uninstall**. Deleting the source in Foldspace doesn't uninstall the app from HubSpot.

## Related

- [Adding knowledge sources](/user-guides/knowledge-sources/): all source types and how they sync.
- [Zendesk help center](/user-guides/knowledge-zendesk/): the equivalent connector for Zendesk Guide.
- [Freshdesk help center](/user-guides/knowledge-freshdesk/): the equivalent connector for Freshdesk.
- [HubSpot](/user-guides/integrations-hubspot/): CRM sync and support handoff with HubSpot.
