Skip to main content
Connect Confluence as a knowledge source. The AI agent can then search and reference Confluence pages when answering employee inquiries.

Connection types

Two connection types are available for Confluence.
Both types connect to Confluence Cloud (for example, https://yourcompany.atlassian.net). AI Helpdesk requests read-only access only and never modifies your Confluence content.

Prerequisites

  • Admin role in AI Helpdesk is required
  • Authorize with Confluence (OAuth): Confluence Cloud admin rights required
  • API Token: Requires the ability to generate an API token in Atlassian account settings (Atlassian security settings)
  • Knowledge sources must be initialized. If the Knowledge sources section shows the Initialize Knowledge sources button, click it and wait until initialization finishes
AI Helpdesk does not apply page-level permissions from Confluence. It may use any page that the connected Atlassian account can access. These pages can be used to answer questions from every employee in your organization who uses AI Helpdesk.Take care when connecting spaces or pages that contain sensitive information. Before you start the first sync, limit the spaces and pages to import with Space URLs and Page URLs. For details, see Limit what to import.

Connect via OAuth

Connect Confluence Cloud by authorizing with your Atlassian account.
1

Start connecting a source

Select Settings from the left navigation, then open the Integration tab. Click Connect a source in the Knowledge sources section and select Confluence.
2

Choose the connection method

Select Authorize with Confluence.
3

Authenticate with Atlassian

Click the Authorize with Confluence button. You are redirected to the Atlassian authorization page. Log in with your Atlassian account and grant access to AI Helpdesk.
4

Set what to import

After authorization, you return to AI Helpdesk and the Configure Confluence screen appears. Set what to import and click Save Settings (Limit what to import). To set it later, click Skip for now.
5

Start the first sync

Click Start first sync. To run the sync later, click Skip for now.
6

Confirm the connection

A Confluence row appears in the Knowledge sources section. When the sync finishes, the row’s badge shows Synced.

Connect via API token

Connect by entering your Confluence base URL, email address, and API token.

Required information

1

Start connecting a source

Select Settings from the left navigation, then open the Integration tab. Click Connect a source in the Knowledge sources section and select Confluence.
2

Choose the connection method

Select API Token.
3

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.
4

Enter connection details

Fill in the Confluence Base URL, Email, and API Token. Leave Enable Confluence search on, then click Save.
If “Connection failed.” appears, verify the URL, email, and API token. An incorrect API token is not detected when you save. It shows up as Sync failed when you sync.
5

Set what to import

On the Configure Confluence screen, set what to import and click Save Settings (Limit what to import). To set it later, click Skip for now.
6

Start the first sync

Click Start first sync. To run the sync later, click Skip for now.
7

Confirm the connection

A Confluence row appears in the Knowledge sources section. When the sync finishes, the row’s badge shows Synced.

Limit what to import

By default, all spaces, pages, and blog posts are crawled. To crawl only specific spaces or pages, set the following on the Configure Confluence screen. To change the settings later, click Edit Config in the menu (…) of the Confluence row.
  1. Select at least one content type to index under Object Types to Crawl (Space, Page, Blog post, Attachment, Comment). Space, Page, and Blog post are selected by default
  2. To narrow by space, enter space URLs in Space URLs, one URL per line (up to 100 URLs). For example, https://yourcompany.atlassian.net/wiki/spaces/IT. When you specify a space URL, the whole space is crawled. You do not need to specify each page or blog post in the space
  3. To crawl only specific pages, enter page URLs in Page URLs, one URL per line (up to 100 URLs). Include the page title part in each page URL. For example, https://yourcompany.atlassian.net/wiki/spaces/IT/pages/12345/Page+Title. Sub-pages under each page are synced too, so adding the top page is enough
  4. To filter by file type, select MIME types in Include MIME types (optional) and Exclude MIME types (optional). You can choose from application/pdf, text/plain, image/jpeg, and application/json
  5. Click Save Settings
AI Helpdesk indexes only Page and Blog post content. Selecting Attachment or Comment has no effect. If you select neither Page nor Blog post, AI Helpdesk indexes nothing.
The following rules apply to MIME type filtering.
  • If you select no MIME types, all supported MIME types are crawled
  • If the include and exclude settings conflict, the exclude setting takes precedence
  • Filtering works by MIME type only. You cannot specify file name patterns or regular expressions

Using Confluence with the AI Agent

Once connected, the AI agent includes Confluence in knowledge searches automatically. The AI agent does not access Confluence each time it answers a question. Instead, it searches the content that each sync imports and indexes. Pages you add or update in Confluence appear in search results after the next sync. By default, the sync schedule is set to Manual (default). With Manual, Confluence syncs only when you click Sync Now. You can find it in the menu (…) of the Confluence row in the Knowledge sources section. To sync automatically, open Sync schedule in the same menu and change it to Every hour, Every 6 hours, Daily, or Weekly. You need the AI Helpdesk Admin role to run a sync or change the sync schedule. To explicitly reference Confluence in a Playbook step, use the {{document_search}} tool.

Read the sync history

To open the sync history, click the badge that shows the sync status of the Confluence row (such as Synced). You can also click Sync history in the row’s menu (…). The sync history shows the following counts for each of the latest 20 syncs. The sync still includes unchanged documents in Scanned and counts them as Skipped.

Disconnect Confluence

1

Open Knowledge sources

Go to Settings > Integration tab and open the Knowledge sources section.
2

Disconnect

Click Disconnect in the menu (…) of the Confluence row you want to disconnect. In the confirmation dialog, click Disconnect for an OAuth connection or Delete for an API token connection.For 5 seconds after you click the button in the dialog, you can click Undo in the notification to cancel the disconnection.
After disconnecting, the AI agent will no longer search Confluence.

What gets imported

The text of pages and files is imported. Embedded images are not shown in answers — their content is converted to descriptive text and referenced instead.

Troubleshooting

The row’s badge shows “Connection broken” or “Sync failed”
  • OAuth: Click Edit credential in the row’s menu (…), then click Re-authenticate in the confirmation dialog. Authorize with Atlassian again
  • API token: The token may be expired or revoked. Generate a new token in Atlassian account settings, then enter it again from Edit credential in the row’s menu (…)
Certain pages do not appear in search results If Space URLs or Page URLs are configured, only the specified spaces and pages are searched. Check the configuration and confirm the correct URLs are included. All sync history counts are 0 after you set space or page URLs If Scanned is 0 in the sync history, no page matched the URLs you set. It does not mean that nothing changed since the previous sync.
  • Do not type a page URL by hand. Open the target page in your browser, and copy the URL from the address bar as is
  • Enter a space URL up to the space key, for example https://yourcompany.atlassian.net/wiki/spaces/IT
  • Include the page title part in a page URL. For example, https://yourcompany.atlassian.net/wiki/spaces/IT/pages/12345/Page+Title
  • You cannot save a page URL without the title part. If a URL saved earlier has no title part, the page is not imported
  • You cannot specify a folder URL
Last modified on October 20, 2026