Skip to content

Confluence Connector ​

The connector developed by Wikit uses the Atlassian Confluence Cloud API and synchronizes your pages, blog posts and attachments into Wikit Semantics, so that they feed your apps' answers.

Connector Configuration ​

Field nameFormat / TypeRequiredComment
Instance URLURL✅Address of your Atlassian instance, for example https://my-company.atlassian.net. The /wiki suffix is accepted but optional
User nameFree text✅E-mail address of the Atlassian account used for synchronization
API tokenPassword / Token✅Atlassian API token of the account above, created from the account's token management page
Space keysValue list➖Spaces to synchronize, identified by their key (HR, IT…). Leaving this empty synchronizes the whole instance
Content typesValue list➖Pages and/or Blog posts. By default, only pages are synchronized
AttachmentYes / No➖Also synchronizes the files attached to pages. Disabled by default
Content templateFree text➖Mustache template applied to each document's content. Available variables: title, body
Page number limitInteger➖Maximum number of pages fetched per synchronization. 10,000 by default

💡 Fields marked ✅ are required for the connector to work.

Setup ​

Create the Atlassian API token ​

The connector authenticates with an existing Atlassian account and its API token. No application or OAuth authorization needs to be declared.

  1. Sign in with the account intended for synchronization.
  2. Go to your Atlassian account's API token management page.
  3. Create a token and keep it: it is shown only once.
  4. Provide the account's e-mail address and this token to your Wikit administrator.

Check the account's permissions ​

The account must be able to view the spaces to synchronize. A space it cannot access is skipped without any error message: no page from it is retrieved.

ℹ️ We recommend a dedicated service account rather than a personal one. Otherwise, synchronization stops when that person leaves.

Find the space keys ​

A space's key appears in its portal URL: https://my-company.atlassian.net/wiki/spaces/HR/overview corresponds to the key HR.

How the Connector Works ​

Synchronized scope ​

The connector retrieves the pages of the spaces listed in Space keys. When this field is empty, it walks the entire instance — which amounts to tens of thousands of pages on a corporate instance. We recommend always narrowing the scope.

Blog posts are synchronized only when Blog posts is selected in Content types.

Attachments are synchronized only when the option is enabled. Only formats Semantics can process are kept (PDF, Word, HTML, text, Markdown, JSON); an image or an archive attached to a page is ignored.

Skipped content ​

Pages carrying no usable text are skipped automatically. This is notably the case of index pages, which hold nothing but a navigation macro: once that macro is removed, no content remains to index, and keeping them would only add noise to the answers.

Incremental synchronization ​

After the first full synchronization, only the pages actually modified since the previous run are processed again. The connector relies on the version number Confluence increments on every edit.

A page deleted in Confluence is removed from Semantics on the next synchronization.

Volume limit ​

The Page number limit field bounds each run. When the limit is reached, synchronization stops and processes the pages already retrieved: it then removes no document, because the list being incomplete, nothing distinguishes a deleted page from one sitting beyond the limit.

If you regularly reach this limit, narrow the synchronized spaces rather than raising the value.

Troubleshooting & FAQ ​

No document is retrieved although the space contains some ​

First check that the synchronization account has access to the space: sign in with that account and open the space in a browser. Then check the spelling of the keys entered in Space keys — these are the short keys (HR), not the space names (Human Resources). If none of the entered keys matches an accessible space, synchronization fails with an explicit message rather than synchronizing the whole instance.

Synchronization stops before retrieving everything ​

The limit set in Page number limit was reached. The pages already retrieved are synchronized, and no document is removed during that run. Narrow the spaces rather than raising the limit: a synchronization covering tens of thousands of pages is slow and puts a heavy load on your Confluence instance.

Some pages are retrieved without their content ​

Pages whose body amounts to a dynamic macro — table of contents, children list, page tree — have no text of their own to index. They are deliberately skipped. If a page you consider useful is affected, add a paragraph of text to it: it will be picked up on the next synchronization.

My attachments are not synchronized ​

Check that the Attachment option is enabled. If it is, the file format is the likely cause: only documents Semantics can process are kept. Images, videos and archives are ignored.

Synchronization is slow ​

This usually points to too broad a scope. Fill in the Space keys to target the spaces that actually matter: a synchronization narrowed to a few spaces runs in seconds, whereas walking the whole instance can take several minutes.