Confluence
Connect & Ingest data from Confluence Cloud
Confluence is Atlassian's team workspace and knowledge management platform where teams create, organize, and collaborate on documents, meeting notes, project plans, and more. The Sling Confluence connector extracts data from the Confluence Cloud REST API v2, supporting spaces, pages, blog posts, comments, attachments, labels, tasks, versions, and more.
CLI Pro Required: APIs require a CLI Pro token or Platform Plan.
Setup
The following credentials and inputs are accepted:
Secrets:
email(required) -> Your Atlassian account email addressapi_token(required) -> Your Atlassian API tokendomain(required) -> Your Confluence Cloud domain (e.g.,your-company.atlassian.net)
Inputs:
anchor_date(optional) -> The starting date for historical data extraction (default: 1 year ago). Format:YYYY-MM-DD
Getting Your API Token
Log in to your Atlassian account at id.atlassian.com
Go to Security > API tokens
Click Create API token
Give your token a descriptive label (e.g., "Sling Integration")
Set an expiration date (up to 1 year)
Click Create and copy the token
Your domain is the subdomain of your Confluence Cloud instance (e.g., if your URL is https://acme.atlassian.net/wiki, the domain is acme.atlassian.net).
Using sling conns
sling connsEnvironment Variable
See here to learn more about the .env.sling file.
Sling Env File YAML
See here to learn more about the sling env.yaml file.
Replication
Here's an example replication configuration to sync Confluence data to a PostgreSQL database:
Selective sync with specific endpoints:
Endpoints
spaces
All Confluence spaces (global, personal)
No
pages
All pages across all spaces
No
blog_posts
All blog posts across all spaces
No
attachments
All file attachments
No
tasks
All tasks from pages and blog posts
No
groups
All user groups
No
custom_content
All custom content types
No
page_footer_comments
Footer comments on each page
No
page_inline_comments
Inline comments on each page
No
page_labels
Labels assigned to each page
No
page_versions
Version history for each page
No
page_content_properties
Content properties for each page
No
child_pages
Child pages for each page
No
blog_post_footer_comments
Footer comments on each blog post
No
blog_post_inline_comments
Inline comments on each blog post
No
blog_post_labels
Labels assigned to each blog post
No
blog_post_versions
Version history for each blog post
No
blog_post_content_properties
Content properties for each blog post
No
attachment_labels
Labels assigned to each attachment
No
attachment_versions
Version history for each attachment
No
attachment_content_properties
Content properties for each attachment
No
space_labels
Labels assigned to each space
No
space_permissions
Permissions for each space
No
space_properties
Properties for each space
No
To discover available endpoints:
How It Works
Queues and Dependencies
The Confluence connector uses a queue-based system for parent-child relationships:
spacespopulates thespace_idsqueue, which feeds intospace_labels,space_permissions, andspace_propertiespagespopulates thepage_idsqueue, which feeds intopage_footer_comments,page_inline_comments,page_labels,page_versions,page_content_properties, andchild_pagesblog_postspopulates theblog_post_idsqueue, which feeds intoblog_post_footer_comments,blog_post_inline_comments,blog_post_labels,blog_post_versions, andblog_post_content_propertiesattachmentspopulates theattachment_idsqueue, which feeds intoattachment_labels,attachment_versions, andattachment_content_properties
This means child endpoints automatically iterate over the parent data, so you get comments, labels, and versions for all synced content without additional configuration.
API Versions
The connector primarily uses the Confluence Cloud REST API v2 with cursor-based pagination for optimal performance. The groups endpoint uses the v1 API with offset-based pagination as group listing is not available in v2.
Rate Limiting
The Confluence Cloud API uses a points-based rate limiting model:
Core objects (pages, spaces, attachments): 1 point per request
Identity/access (users, groups, permissions): 2 points per request
Quotas reset hourly at the top of each UTC hour
The connector automatically:
Limits to 5 requests per second
Uses up to 5 concurrent requests for child endpoints
Retries with exponential backoff on 429 (rate limit) responses
Retries with linear backoff on 500+ server errors
If you are facing issues connecting, please reach out to us at [email protected], on discord or open a Github Issue here.
Last updated
Was this helpful?