Connection types
Two connection types are available for Confluence.| Type | Description | Best for |
|---|---|---|
| Confluence (OAuth) | Connect a Confluence Cloud workspace via Atlassian OAuth | Getting started quickly with Confluence Cloud |
| Confluence (API Key) | Connect by entering your Confluence base URL, email, and API token | Confluence Server / Data Center, or fine-grained control with API tokens |
Both types allow the AI agent to search Confluence after connection.
Prerequisites
- Admin role in AI Helpdesk is required
- Confluence (OAuth): Confluence Cloud admin rights required
- Confluence (API Key): Requires the ability to generate an API token in Atlassian account settings (Atlassian security settings)
Connect via Confluence (OAuth)
Connect a Confluence Cloud workspace using Atlassian OAuth.Open Knowledge Integration settings
Select Settings from the left navigation, then open the Integration tab.
Click Add Integration in the Knowledge Integration section and select Confluence (OAuth).
Authenticate with Atlassian
You are redirected to the Atlassian OAuth page.
Log in with your Atlassian account and grant access to AI Helpdesk.
Narrow the crawl scope (optional)
By default, all spaces, pages, and blog posts are crawled. To restrict crawling to specific entities, configure the following.- Click the Configure (gear icon) on the connected card
- Enter the URLs of the spaces, pages, or blog posts to crawl in the Entity URLs field, one URL per line (up to 100 URLs)
- Select at least one content type to index under Object Types to Crawl (Space / Page / BlogPost / Attachment / Comment)
- Click Save
Connect via Confluence (API Key)
Connect by entering your Confluence base URL, email address, and API token.Required information
| Field | Description | Example |
|---|---|---|
| Confluence Base URL | URL of your Confluence instance | https://yourcompany.atlassian.net/wiki |
| Email of the account that generated the API token | bot@example.com | |
| API Token | Token generated in Atlassian account settings | — |
Open Knowledge Integration settings
Select Settings from the left navigation, then open the Integration tab.
Click Add Integration in the Knowledge Integration section and select Confluence (API Key).
Generate an API token
Open Atlassian account security settings and click Create API token.
Copy the generated token.
API tokens can only be viewed immediately after creation. If you miss it, generate a new one.
Enter connection details
Fill in the Confluence Base URL, Email, and API Token in the connection form.Click Save. A connection test runs automatically.
Narrow the crawl scope (optional)
After connecting, all spaces, pages, and blog posts are crawled by default. To restrict crawling to specific entities, configure the following.- Click the Configure (gear icon) on the connected card
- Enter the URLs of the spaces, pages, or blog posts to crawl in the Entity URLs field, one URL per line (up to 100 URLs)
- Select at least one content type to index under Object Types to Crawl (Space / Page / BlogPost / Attachment / Comment)
- Click Save
Using Confluence with the AI Agent
Once connected, the AI agent includes Confluence in knowledge searches automatically. To explicitly reference Confluence in a Playbook step, use the{{document_search}} tool.
Disconnect Confluence
Open Knowledge Integration settings
Go to Settings > Integration tab and open the Knowledge Integration section.
Troubleshooting
Status remains “Error”- Confluence (OAuth): Click the Reconnect button to re-run the OAuth flow
- Confluence (API Key): The token may be expired or revoked. Generate a new token in Atlassian account settings and update the configuration

