Connect a Confluence Data Center data source
After you set up VPC connectivity and store your credentials in an AWS Secrets Manager secret, create the Confluence Data Center data source in your knowledge base. This page describes how to create the data source with the AWS Management Console or the API, followed by a reference for the connector parameters you can configure.
Note
Complete the VPC configuration and authentication setup first. See Configure VPC connectivity for a data source and Set up Basic or PAT authentication for Confluence Data Center. You need the VPC configuration ID and the secret ARN.
Create the data source
Connector parameters
The data source configuration uses the following connector parameters. To connect
to Confluence Data Center, specify CONFLUENCEONPREM as the connector type
in connectorParameters. For the fields that wrap
connectorParameters (such as
deletionProtectionConfiguration and
mediaExtractionConfiguration), see Connect a data source.
| Field | Required | Description |
|---|---|---|
authType |
Yes | The authentication type. Set to BASIC or
PERSONAL_TOKEN. See Authentication methods. |
secretArn |
Yes | The ARN of the AWS Secrets Manager secret containing your Confluence Data Center credentials. |
vpcConfiguration |
Yes | The private network path to your Confluence Data Center instance.
Contains a vpcConfigurationId field set to the ID of a VPC
configuration on your knowledge base. See Configure VPC connectivity for a data source. |
contextPath |
No | The application context path under which the Confluence Data Center
REST API is served (for example, /wiki). Omit it if the
REST API is served at the web root. |
certificateS3Path |
No | The location of the TLS certificate for your Confluence Data Center
instance, used when you connect over HTTPS. Contains
s3BucketName and s3KeyName. |
| Field | Required | Description |
|---|---|---|
crawlPage |
No | Whether to crawl pages. |
crawlBlog |
No | Whether to crawl blog posts. |
crawlPageAttachment |
No | Whether to crawl page attachments. Crawled only when
crawlPage is also true. |
crawlBlogAttachment |
No | Whether to crawl blog post attachments. Crawled only when
crawlBlog is also true. |
crawlPersonalSpace |
No | Whether to crawl personal spaces. |
Note
Unlike Confluence Cloud, Confluence Data Center does not support crawling archived spaces or archived pages.
| Field | Required | Description |
|---|---|---|
inclusionSpaceUrls |
No | Space URLs to include. |
inclusionPageUrls |
No | Page URLs to include. |
inclusionMimeTypes |
No | MIME types to include. |
exclusionMimeTypes |
No | MIME types to exclude. |
maxFileSizeInMegaBytes |
No | Maximum size, in megabytes, of any single file the connector
ingests. Provide as a numeric string (for example,
"50"). |
Change the authentication method
You can change a data source's authentication method (for example, from Basic to
personal access token) by updating the data source with the new authType
and a secret that contains the matching credentials, using the UpdateDataSource operation or the AWS Management Console.
Next steps
After you create the data source, sync it to ingest content into your knowledge base. For details, see Sync a data source.