Estimated time: 10-15 minutes. You need access to:
- A Clarion workspace
- Atlassian Administration for your Confluence site
- A service account that can view and search content in the Confluence spaces you want Clarion to use
Prerequisites
Before connecting Confluence in Clarion, make sure you have:- Your Confluence site URL, for example
https://example.atlassian.net - A Confluence service account with access to the relevant spaces
- An OAuth 2.0 credential created for that service account
- These credential scopes (granular — Clarion uses the Confluence REST API v2):
read:page:confluenceread:space:confluencesearch:confluence
Clarion uses the service account’s client credentials to request short-lived Confluence access tokens automatically. You do not need to reconnect the integration just because an access token expires.
Step 1 - Create a Confluence service account
- In Atlassian Administration, open Directory and create a service account.
- Grant the service account access to Confluence.
- Make sure the service account has access to the spaces Clarion will read.
- Search content
- View page content
- List spaces
Step 2 - Create OAuth 2.0 credentials for the service account
- Open the service account in Atlassian Administration.
- Go to Credentials.
- Create an OAuth 2.0 credential.
- Grant only these scopes:
read:page:confluenceread:space:confluencesearch:confluence
- Copy the Client ID and Client secret.
Step 3 - Connect Confluence in Clarion
- In Clarion, go to Integrations.
- Open Confluence.
- Enter:
- Site URL
- Client ID
- Client Secret
- Default Space Key (optional)
- Click Connect Confluence.
Step 4 - Verify and maintain the connection
After connecting:- Review the saved Confluence site and client ID.
- Set or update Default Space Key if you want Clarion to scope searches to a space automatically.
- Click Save after any changes.
- Click Verify Connection to confirm Clarion can access Confluence successfully.
- Use Disconnect if you want to remove Confluence access from the workspace.
How Confluence tools use this integration
When Confluence tools are enabled, Clarion can:- Search pages with CQL
- Read a page by id
- List spaces
Troubleshooting
”Failed to resolve Confluence cloud ID”
Check that Site URL is exactly your Confluence Cloud URL, for example:https://example.atlassian.net
/wiki, /spaces, or /display.
”Confluence credential is missing required scopes”
Recreate or update the OAuth 2.0 credential so it includes:read:confluence-content.allread:confluence-space.summarysearch:confluence