View a markdown version of this page

Confluence - Amazon Bedrock

Confluence

Atlassian Confluence is a collaborative work-management tool for sharing, storing, and working on documents and pages. You can connect your Confluence Cloud instance as a data source for your managed knowledge base to crawl pages, blog posts, and their attachments. Only Confluence Cloud (SaaS) is supported; Confluence Server and Data Center are not.

Supported features

  • Crawl pages, blog posts, and their attachments across spaces

  • Automatic detection of common document fields (such as title, author, and created or modified dates)

  • Inclusion content filters for spaces, pages, and blogs

  • Inclusion or exclusion content filters for MIME types

  • Incremental content syncs for added, updated, and deleted content

  • Basic and OAuth 2.0 authentication

  • Document-level access control (ACLs), with Basic authentication and Atlassian organization admin credentials

Authentication methods

A Confluence data source supports two authentication methods. Choose one before you begin, because it determines the credentials you create and whether you can use document-level access control. We recommend Basic authentication for new data sources.

Confluence authentication methods
Method How it authenticates When to use Setup
Basic (BASIC) — recommended The connector signs in with the email address and an Atlassian API token of a Confluence user. Most data sources, and any data source that uses document-level access control. ACLs additionally require Atlassian organization admin credentials in the same secret. Set up Basic authentication
OAuth 2.0 (OAUTH2) The connector authenticates as an Atlassian OAuth 2.0 (3LO) app, using an app key, app secret, access token, and refresh token. The access token is renewed automatically with the refresh token. Use when you want a registered Atlassian app instead of an individual user account. Not supported with document-level access control. Set up OAuth 2.0 authentication

Prerequisites

In Confluence, make sure you:

  • Note your Confluence Cloud instance URL (for example, https://example.atlassian.net). The URL is the base URL ending with .atlassian.net.

In your AWS account, make sure you:

How to set up a Confluence data source

Setting up a Confluence data source involves the following steps:

  1. Set up authentication. Follow the page for your chosen method to create the credentials in Confluence and store them in AWS: Set up Basic authentication for Confluence or Set up OAuth 2.0 authentication for Confluence.

  2. Connect the data source. Create the Confluence data source in the knowledge base using the AWS Management Console or the API. See Connect a Confluence data source.

  3. (Optional) Enable document-level access control. Filter query results by each user's Confluence permissions. Requires Basic authentication with Atlassian organization admin credentials. See Document-level access controls.