Skip to content
shoko

Confluence

Shoko supports Confluence Cloud. You give it your site address, your account email and an API token. The same kind of token also works for Jira.

Get an API token

  1. Sign in at id.atlassian.com and open Security, then API tokens: https://id.atlassian.com/manage-profile/security/api-tokens.
  2. Choose Create API token, name it for Shoko, and pick an expiration of 1 to 365 days. When it expires, Shoko can no longer sync until you replace it.
  3. Choose Create, then Copy to clipboard. Atlassian shows it once.
  4. In Shoko, enter your site (for example https://your-team.atlassian.net), the email of the account that created the token, and the token.

Use the plain token, not a token with scopes. Shoko calls your site address directly, which scoped tokens do not support.

The token has the same access as the account that created it, so it stops working if that account is removed. A dedicated account that can read the spaces you want is a good choice.

In Shoko you can list space keys such as DOCS, ENG to index only those spaces. Leave it empty for every current (not archived) space the account can see.

What gets indexed

Current pages, converted to markdown, under their space key and page hierarchy, for example DOCS/Engineering/Deploys.md. Folders are part of the path. Each page starts with a header of its space, version and date.

What is skipped

Blog posts, comments, archived and draft pages, attachments and images. Content produced by macros, such as included pages or Jira macros, may be missing from the text. Anything the account cannot read.

How syncing works

Once a day Shoko reads every current page in the selected spaces. Hourly and every-5-minutes libraries also ask Confluence in between for pages modified since the last sync. That picks up new and edited pages, and usually pages that were archived or moved to the trash. Pages deleted for good, pages moved to a space you did not select, pages the account can no longer read, and the new paths of pages under a renamed or moved page are updated at the next daily full sync, within a day. See Sync and limits.

Permissions

This is the part to read twice. Confluence lets you restrict individual pages. Shoko does not copy those restrictions. Anyone you grant this library to can search every page Shoko indexed, including pages that are restricted in Confluence.

Index only what the whole group may read, or split content into separate libraries and grant each to the right group. See Teams and access.