Skip to main content
This is an updated and improved version of the Confluence connector! If you’re setting up Confluence with C1 for the first time, you’re in the right place.

Capabilities

To limit sync times, a limited list of Spaces entitlements and their associated grants are synced. See the Spaces entitlements synced by default section of this page for more information.

RBAC space roles

The Confluence connector supports two modes for syncing space access:
  • Granular space permissions (default): Syncs individual noun-verb permission pairs (for example, read-space, administer-space) per space. This is the default behavior.
  • RBAC space roles: Syncs Confluence’s built-in space roles and their assignments instead of granular permissions. Enable this mode by setting the --use-rbac flag (or BATON_USE_RBAC=true).
The connector uses one mode or the other — not both. When RBAC mode is enabled, granular space permissions are not synced, and the Space Roles and Space Role Assignments resource types become active.
RBAC mode requires that Space Roles are enabled and entitled on your Confluence instance. If the RBAC endpoints are unavailable (for example, because a trial or beta grant has expired), the connector’s Validate step fails with the message:RBAC data endpoints are unavailable (space-roles returned 404) — this can happen when a trial or beta grant for RBAC has expiredIf you see this error, either disable --use-rbac or contact Atlassian to ensure Space Roles are enabled on your instance.

Gather Confluence credentials

Configuring the connector requires you to pass in credentials generated in Confluence. Gather these credentials before you move on.
ImportantA user with Administrator access in Confluence must perform this task.

Create an API token

1
Log into your Confluence account with Administrator access.
3
Click Create API token.
4
Give your token a label, such as C1, and click Create.
5
Carefully copy and save the newly generated API token.
Done. Next, move on to the connector configuration instructions.

Configure the Confluence connector

To complete this task, you’ll need:
  • The Connector Administrator or Super Administrator role in C1
  • Access to the set of Confluence credentials generated by following the instructions above
Follow these instructions to use a built-in, no-code connector hosted by C1.
1
In C1, navigate to Integrations > Connectors and click Add connector.
2
Search for Confluence v2 and click Add.
3
Choose how to set up the new Confluence connector:
  • Add the connector to a currently unmanaged app (select from the list of apps that were discovered in your identity, SSO, or federation provider that aren’t yet managed with C1)
  • Add the connector to a managed app (select from the list of existing managed apps)
  • Create a new managed app
4
Set the owner for this connector. You can manage the connector yourself, or choose someone else from the list of C1 users. Setting multiple owners is allowed. If you choose someone else, C1 will notify the new connector owner by email that their help is needed to complete the setup process.
5
Click Next.
6
Find the Settings area of the page and click Edit.
7
Enter your Confluence domain (the URL of your Confluence instance is <YOUR DOMAIN>.atlassian.net) into the Confluence site domain field.
8
Enter the username for your Confluence account in the Username field.
9
Paste the API token into the API key field.
10
Optional. If want to sync information on Confluence users’ personal spaces and their permissions, uncheck the Skip syncing personal spaces and their permissions box.
11
Click Save.
12
The connector’s label changes to Syncing, followed by Connected. You can view the logs to ensure that information is syncing.
Done. Your Confluence connector is now pulling access data into C1.

Spaces entitlements synced by default

Each Confluence Space has its own set of permissions and allowed actions, which can result in a very large set of entitlement and grant access information in each Space. The Confluence connector syncs entitlements formed by valid pairs of targets (nouns) and operators (verbs), such as administer-space or read-space.
When configuring the connector in C1, the noun and verb fields are pre-filled with a suggested subset (space noun and 6 common verbs). These suggested values only pre-populate the configuration form — they are not automatically applied. If you leave the noun and verb fields empty (or do not set --noun / --verb flags), the connector syncs all available nouns and verbs listed below.
All available targets (nouns):
  • attachment
  • blogpost
  • comment
  • page
  • space
All available operators (verbs):
  • administer
  • archive
  • create
  • delete
  • export
  • read
  • restrict_content
  • update
Not all target-operator (noun-verb) pairs are valid. To limit what the Confluence connector syncs to C1, use the --noun and --verb flags when setting up the Confluence connector in self-hosted mode, or configure the noun and verb fields in the C1 UI for cloud-hosted connectors. See the baton-confluence repo’s README for more information.
Space permission entitlements are only synced when RBAC mode is disabled (the default). When --use-rbac is enabled, the connector syncs Space Roles and Space Role Assignments instead. See RBAC space roles for details.