Confluence
Where: Menu → Manage → Knowledge sources → Connectors → Add connector → “Confluence”
This connector reads the pages of a Confluence space, or of one page and everything below it, from Confluence Cloud or Confluence Data Center / Server. Pages arrive as text with their headings, lists, tables and code blocks; info and note panels become quotes. Each sync compares the pages’ version numbers, so only changed pages are read again, and deleted pages leave the knowledge.
It reads as one Confluence account and sees what that account may see. Page restrictions come along, so people in the Academy find only pages they may read.
Who does what
Section titled “Who does what”| Step | Where | Who |
|---|---|---|
| An account that may read the spaces | Confluence (Cloud: Atlassian administration) | A Confluence or site administrator |
| Cloud: an API token of that account | id.atlassian.com, signed in as that account | Whoever holds the account |
| Data Center: a personal access token of that account | Confluence, the account’s profile | Whoever holds the account |
| Add the connector and its sources | The Academy, Manage → Knowledge sources | An administrator of your organisation |
1. Choose the account
Section titled “1. Choose the account”Use an account meant for this, e.g. knowledge@example.com, rather than a person’s own: when the person leaves, the connector keeps working.
- Give it view permission on every space you want to connect (Space settings → Permissions), and nothing to edit.
- It sees restricted pages only where it is allowed to; pages it can’t see aren’t read.
2. Create the token
Section titled “2. Create the token”Confluence Cloud: an API token
Section titled “Confluence Cloud: an API token”- Signed in as that account, open id.atlassian.com → Security → Create and manage API tokens.
- Click Create API token, give it a label (e.g.
Academy) and an expiry date, and copy the token. It is shown once.
Confluence Data Center or Server: a personal access token
Section titled “Confluence Data Center or Server: a personal access token”- Signed in as that account, open its Profile → Personal Access Tokens → Create token.
- Give it a name, choose an expiry date (or none, if your rules allow), and copy the token.
3. Add the connector in the Academy
Section titled “3. Add the connector in the Academy”- Manage → Knowledge sources, tab Connectors, Add connector, Kind: “Confluence”.
- Where it runs:
- Confluence Cloud: Run by the portal (nothing to install).
- Data Center / Server inside your network: At your organisation, because the portal can’t reach it (see Connectors). A Data Center that is reachable from the internet can also be run by the portal.
- Name: e.g.
Confluence. - Confluence address:
- Cloud:
https://<your-site>.atlassian.net/wiki(with/wiki); - Data Center: the address people open Confluence at, e.g.
https://wiki.example.com.
- Cloud:
- Edition: “Confluence Cloud” or “Confluence Data Center or Server”.
- Account email (Cloud): the email of the account from step 1. Leave it empty for Data Center.
- API token or personal access token: the token from step 2. At your organisation, this is set where the connector runs, as
CONNECTOR_API_TOKEN. - Click Add, then Test.
4. Add sources
Section titled “4. Add sources”- Tab Sources → Add source, choose this connector.
- Space and page: click Browse…. The first level lists the spaces the account may read; Choose a space to read all of it, or Open it and choose one page to read that page and everything below it.
- Include and Leave out apply to the page path, e.g.
HR Home/Travel/**under Include reads only the travel pages. By default everything is included. - The rest as for every source (see Sources), then Save and Sync now.
Permissions
Section titled “Permissions”- Page restrictions of a page and of the pages above it come along: the people (by email address, as far as Confluence shows it) and the groups (by name).
- Pages without restrictions are open to the source’s audience (For whom).
- Confluence groups can’t be matched with people automatically: give each one the teams whose members belong to it under Access areas.
- Page labels arrive as labels. Under Access areas you decide whether one restricts reading.
When something doesn’t work
Section titled “When something doesn’t work”| Message | Cause | What to do |
|---|---|---|
| Confluence refused access: check the account, its token and that it may read this space | Token wrong or expired, the email doesn’t belong to the token, or the account may not view the space | Create a new token; check the email; give the account view permission on the space |
| Confluence Cloud needs the account’s email with its API token | Edition is Cloud but Account email (Cloud) is empty | Enter the email |
| not found in Confluence (space or page) | The address is wrong (Cloud without /wiki), or the space or page was deleted or moved |
Check the address; choose the space or page again with Browse… |
| pick a space or a page | Space and page wasn’t chosen | Click Browse… |
| Confluence answered |
Confluence reported an error of its own (e.g. 500 or 503 while it is down) | Open Confluence in the browser; when it works again, click Test or Sync now |