First time creating a connector? Read this first.
Requirements
You will need:- A Confluence Cloud account or Confluence Data Center installation.
- The site URL for your Confluence Cloud account or Confluence Data Center installation.
- A user in your Confluence Cloud account or Confluence Data Center installation.
- The user must have the correct permissions in your Conflunce Cloud account or Confluence Data Center installation to access the target spaces and pages.
-
One of the following:
- For Confluence Cloud or Confluence Data Center, the target user’s name or email address, and password. Change a Confluence Cloud user’s password. Change a Confluence Data Center user’s password.
- For Confluence Cloud only, the target user’s name or email address, and API token. Create an API token.
- For Confluence Data Center only, the target user’s personal access token (PAT). Create a PAT.
-
Optionally, the keys (not display names) of the specific spaces in the Confluence instance to access. To get a space’s key,
which is different from a space’s display name, open the space in your web browser and look at the URL. The space’s key is the part of the URL after
spaces/but before the next/after that.
Document permissions metadata
The source connector outputs any permissions information that it can find in the source location about the processed source documents and associates that information with each corresponding element that is generated. This permissions information is output into thepermissions_data field, which is within the
data_source field under the element’s metadata field. This information lists the users or groups, if any, that have
permissions to read, update, or delete the element’s associated source document.
The following example shows what the output looks like. Ellipses indicate content that has been omitted from this example for brevity.
Examples
To create a Confluence source connector, see the following examples. For more information on working with source connectors using the Unstructured API, see Source endpoints.Configuration settings
Replace the preceding placeholders as follows:string
required
A unique name for this connector.
string
required
The URL to the target Confluence Cloud instance.
integer
default:"500"
The maximum number of Confluence spaces to access within the Confluence Cloud instance.
integer
default:"150"
The maximum number of documents to access within each space.
string
An array of space keys (not display names) specifying the spaces to access, for example:
["luke","paul"]. If no space keys are specified and max_num_of_spaces is exceeded for the instance, you might get unexpected results.boolean
default:"false"
Set to
true to download images and replace the HTML content with Base64-encoded images.boolean
default:"false"
Set to
true to download any embedded files in pages.string
For username and API token authentication, or username and password authentication: the name or email address of the target user.
string
For username and API token authentication: the user’s API token value. For personal access token (PAT) authentication: the target user’s PAT value (set
cloud to false).boolean
default:"false"
For username and API token authentication, or username and password authentication: set to
true if you are using Confluence Cloud.string
For username and password authentication: the user’s password.
string
Provides authentication for Unstructured Foundation. Unstructured Foundation enables you to processes your files once, maintain a persistent enrichment index, and gives every AI tool your team uses persistent access to your organization’s knowledge without file uploads.Not supported for the Unstructured Pipeline API.
string
Provides authentication for Unstructured Foundation. Unstructured Foundation enables you to processes your files once, maintain a persistent enrichment index, and gives every AI tool your team uses persistent access to your organization’s knowledge without file uploads.Not supported for the Unstructured Pipeline API.

