Aller au contenu
EN English versionDemander une démo

Add a Confluence space or page tree to a knowledge base

For an organisation administrator. Procedure source.confluence, version 1, reviewed 2026-10-16 against the vendor’s own pages. It applies to the knowledge source kind confluence.

It ships with the platform. In the console it opens with How to set this up, beside the form that adds the connector and on the connector’s settings.

Addresses are written <api_url>, <public_url> and <org> here: the console shows the same text with your deployment’s own.

  • A Confluence connector declared by an organisation administrator (see “Connect Confluence Cloud”). It holds the service account’s token; the source form never asks for a secret.
  • The service account must have read on the space.
  • A space larger than 5 000 pages is refused until a page_id narrows it.

Nothing more than the connector’s setup. To read a sub-space, open the branch’s root page: its number is in the address, …/wiki/spaces/ENG/pages/<id>/Title. The pages filed in folders under that page are read too; a folder is not a document (it has no content of its own), its name is in the path of the pages it holds. A folder has no page number: choose the page above it, or the pages in it.

The source mirrors what the connector’s account can read. A page that is deleted, archived, moved out of the chosen tree or restricted against the account leaves the base at the next sync.

  1. Knowledge, the base, Add source, kind Confluence.
  2. Pick the connector, then space_key; optionally page_id, or several page_ids (paste page addresses in the console), with descendants: false to read only those pages (and include_root), labels (one request per page) and include_attachments.
  3. Choose the refresh: an interval, a cron expression, or manual.

Press Sync now. Each sync lists the space once (and, for a page tree, what is under its root page) and downloads only pages whose version changed.

  • 404 on the space: the key is case-sensitive; a personal space starts with ~.
  • 403, or a base that is empty: the account has no read permission, or a scope is missing on its token.
  • “refused until a page_id narrows it”: the space has more than 5 000 pages.
  • A sync that stops part-way: a listing that fails stops the sync and deletes nothing.
  • 401: see the connector’s procedure (a scoped token needs auth: scoped).
Field What to put in it
connector the organisation’s documents/confluence connector, picked from a list
descendants false to read only the chosen pages, not the pages under them (default true)
include_attachments true to index pdf, docx, pptx, xlsx, md, txt and html attachments
include_root false to leave the page itself out
labels keep only pages carrying one of these labels
page_id a page’s number, to read that page and everything under it
page_ids up to 50 page numbers, to read exactly those pages (not together with page_id)
space_key the space’s key, for example ENG

Hosts the platform must be allowed to reach:

  • api.atlassian.com
  • <site>.atlassian.net