Skip to main content
Configure the source at AI Training → Sources.

Set up the sync

1

Open Data Sources

2

Add a Confluence source

Click Add source → Confluence.
3

Start the sync

Click Connect. The first run does a full pull of every page the credentials can read. Large instances take longer — expect 10 minutes to an hour for thousands of pages.
4

Verify in AI Instructions

Open AI Training → Knowledge. Pages appear under Confluence, each linked to its source URL in your instance.

Use an API token with scopes

A token with scopes can only read what you select, and a service account can own it, so the sync doesn’t depend on a person’s account.
1

Prepare the account

Use a service account or your own account. Give it access to Confluence and View permission on the spaces you want to sync.
2

Create the token

Create an API token with scopes for that account, choose Confluence as the app, and select every scope below. Scopes can’t be added to a token later.All of them are read-only. Selecting them now means you won’t need a new token if the sync starts reading more of your content.
3

Connect it

In the Confluence source, choose API token with scopes, then enter your site’s atlassian.net domain, the account’s email, and the token.
Scopes decide what kind of content the token can read. Space permissions decide which spaces sync: OpenCX only syncs the spaces the account can view.

What gets synced

Whole-instance pull. Page titles, body content (converted from Confluence storage format to HTML), and the webui back-link.
Pages keep their place in Confluence: Confluence › space › folder › parent page. A page with child pages shows as a folder that holds the page itself and its children. A space’s homepage shows as the space.
A new page follows the setting of the nearest folder above it that has one. With no folder setting, a new page comes in hidden from the AI until you show it. Pages in personal spaces (key starts with ~) always come in hidden, and showing a folder or all of Confluence doesn’t show them.You can still show or hide a single page in AI Instructions.
Each sync run is a full re-pull with overwrite. The benefit: deletions in Confluence propagate correctly. The cost: each run is heavier than an incremental pull. Typical cadence is set by Airbyte’s scheduler — adjust on the connection schedule if you need it less often for a huge instance.

Choose which folders the AI uses

In AI Instructions, open the knowledge base, expand Confluence, and use the menu on a space or folder:
  • Show all to AI or Hide all from AI applies to every page under it, and to pages added to it later.
  • The nearest setting wins. To use a single folder, hide Confluence first, then show that folder.
  • Showing or hiding a folder replaces the settings of the folders inside it.
  • Pages from personal spaces are never shown by a folder or source switch. Show them one page at a time.
Phone agents can also be limited to a Confluence space or folder in their knowledge sources.
Folders are read from each space’s page tree, up to five levels below the space. A page whose folder sits deeper, or in a part of the tree the account can’t view, is listed directly under Confluence.

Limits


Confluence overview

What this source does and doesn’t.

Troubleshooting

Auth errors, missing pages, slow syncs.

Website crawler

Fallback for scoped subsets.

Connect a knowledge source

All sources.