Prerequisites
- Access to Confluence Cloud
- An API token with read access to the spaces you want to import
- The root page ID for your import (the top of the page tree)
Generating an API Token
Confluence Cloud:- Go to Atlassian Account Settings
- Click Create API token
- Give your token a label (e.g., “AGO Integration”)
- Copy the token immediately (you won’t be able to see it again)
Finding Your Root Page ID
Navigate to the page you want as your root and look at the URL:123456789 is your page ID. You can also find it via the page’s ... menu > Page Information.
Setup Steps
1. Configure Confluence Credentials
In your AGO admin interface, go to Knowledge → Connections → Confluence and configure your connection:2. Create a Knowledge Source
- Navigate to Knowledge > Sources > Create
- Select Confluence as the connector type
- Enter the Root Page ID — the starting page for recursive import
- Name your source (e.g., “Product Documentation”)
- Save and run a manual sync
3. Import Multiple Spaces
Create a separate source for each Confluence space or section. For example, create one source for “Product Docs” pointing to one root page, and another for “Engineering Wiki” pointing to a different root page.What Gets Imported
The connector processes each page through these steps:- Fetches HTML content from Confluence
- Converts Confluence emoticon images to Unicode emojis
- Converts HTML to Markdown (tables, lists, code blocks preserved)
- Downloads attachments if the page version changed
- Rewrites internal Confluence links to AGO documentation links
- Stores the page with its position in the hierarchy
Filtering
The connector imports all pages under the root page. To import only a specific section:- Set the root page ID to the top of that section instead of the entire space homepage
- Create separate sources for different sections you want to import independently
Best Practices
- Archive outdated pages in Confluence before importing
- Select a root page that represents the top of your documentation tree — avoid the space homepage if it includes unwanted sections
- Start with a small space to verify formatting before importing large ones
- Schedule regular syncs (daily or weekly) to keep content fresh
- For large spaces (500+ pages), split into multiple sources by section
Troubleshooting
Authentication failed
Authentication failed
- Verify your API token is correct and not expired
- Check the email address matches the token owner
- Ensure the user has read permission for the space
Page not found
Page not found
- Verify the root page ID is correct
- Check the page hasn’t been deleted or moved
Missing images or attachments
Missing images or attachments
- Verify the attachments are accessible to the API user
- Attachments are downloaded again when the Confluence page version changes; after updating the page, run another sync
Formatting issues
Formatting issues
- Some Confluence macros don’t have a Markdown equivalent and may not convert cleanly
- Test with simpler page content first to isolate the issue
Broken internal links
Broken internal links
- Verify the linked pages have been imported. Targets can be under the same root or in another previously imported Confluence source.
Related
- Knowledge Connectors — All available connectors
- Knowledge Source Management — Managing sources
- Connect Notion — Similar setup for Notion
