The Service Account integration is the recommended approach for organizations that require centralized credential management, consistent access controls, and integration continuity independent of individual user accounts.
Overview
The Confluence Service Account integration allows Wolfia to sync knowledge base articles, documentation, and team content from your Confluence instance using a dedicated service account with OAuth 2.0 authentication. This approach provides better security isolation and ensures the integration remains operational regardless of individual user changes.What we sync
- Confluence pages - Documentation, articles, and content from enabled spaces (read-only)
- Attachments - Files and documents attached to Confluence pages (read-only)
Prerequisites
Before setting up the integration, you’ll need:- Organization admin access to Atlassian Admin (admin.atlassian.com)
- Ability to create and manage service accounts
- Access to create OAuth 2.0 credentials for service accounts
Setup instructions
Step 1: Create a service account in Atlassian
First, we’ll create a dedicated service account for the Wolfia integration.- Navigate to Atlassian Admin and select your organization
- Go to Directory → Service accounts
- Click Create a service account
-
Enter a name for the service account (e.g.,
wolfia-confluence-integration)

- Click Next to proceed to app role selection
Step 2: Configure app access and roles
Grant the service account access to Confluence with appropriate permissions.- In the Select app role step, find Confluence in the list
-
Click the Roles dropdown for Confluence and select User
- User role provides read access to Confluence content without admin permissions

- (Optional) Under Groups, you can add the service account to specific Confluence groups to control which spaces it can access

- Click Create to create the service account
Service accounts are organization-level entities that exist independently of user accounts. They provide a stable identity for integrations that won’t be affected by employee departures or role changes.
Step 3: Create OAuth 2.0 credentials
Now we’ll create OAuth 2.0 credentials that Wolfia will use to authenticate.- After creation, you’ll be taken to the service account details page
- Click Create credentials

- Select OAuth 2.0 as the authentication type (recommended)

- Enter a name for the OAuth credentials (e.g.,
wolfia-oauth2)

- Click Next to proceed to scope selection
Step 4: Configure OAuth 2.0 scopes
Assign the required granular scopes for Confluence read access.- In the Select scopes step, filter by:
- App: Confluence
- Scope type: Granular
- Scope actions: Read

- Select the following granular scopes for Confluence:
- Click Next to review your configuration
- Review the OAuth credential name and selected scopes

- Click Create to generate the credentials
- Important: Copy and securely store the Client ID and Client Secret that are displayed

These scopes provide read-only access to Confluence content. Wolfia does not require write permissions to sync your knowledge base.
Step 5: Connect to Wolfia
Now we’ll configure the integration in Wolfia using your OAuth 2.0 credentials.- Log in to your Wolfia account at https://wolfia.com
- Navigate to Integrations from the main menu or go directly to https://wolfia.com/integrations
- In the Available Integrations section, find the Knowledge category
- Locate Confluence (Service Account) and click Connect
-
Enter your OAuth 2.0 credentials:
- Client ID: The Client ID from Step 4
- Client Secret: The Client Secret from Step 4
- Atlassian Organization URL: Your Atlassian URL (e.g.,
yourcompany.atlassian.net)
- Click Connect to authenticate
- Wolfia will verify the credentials and establish the connection
Step 6: Select spaces to sync
Choose which Confluence spaces to include in your Wolfia knowledge base.- After successful connection, you’ll see a list of available Confluence spaces
-
Toggle spaces: Enable or disable specific spaces for syncing
- Enabled spaces will have their content synced and made available to Wolfia
- Disabled spaces will be excluded from syncing
- Click Save to apply your space selection
- Initial sync will begin automatically for enabled spaces
What happens after setup
Once configured, Wolfia will:- Import existing content - Sync pages and attachments from enabled Confluence spaces
- Continuous monitoring - Automatically detect and sync new or updated content
- Knowledge enrichment - Use Confluence content to provide better responses to questionnaires and RFPs
- Search integration - Make Confluence content searchable within Wolfia’s knowledge base
Managing the integration
Viewing sync status
Monitor the health and activity of your Confluence integration:- Navigate to Integrations → Confluence (Service Account)
- View integration dashboard showing:
- Connection status - Active, paused, or error state
- Enabled spaces - Number of spaces currently being synced
- Last sync time - When content was last updated
- Content statistics - Number of pages and attachments synced
Adding or removing spaces
Modify which spaces are included in your knowledge base:- Go to Integrations → Confluence (Service Account) → Manage
- Toggle spaces on or off as needed
- Changes take effect immediately and trigger a sync update
Disconnecting the integration
Remove the integration entirely:- Go to Integrations → Confluence (Service Account)
- Click Disconnect
- Confirm the disconnection
- Optionally, delete the service account in Atlassian Admin if no longer needed
Security considerations
- Read-only access - The integration only requests read permissions; no write access to your Confluence content
- Service account isolation - Dedicated account separate from user accounts provides better security boundaries
- Granular scopes - Only the minimum required permissions are requested
- Audit trail - Service account activities are logged separately from user activities
Troubleshooting
Connection issues
“Invalid credentials” error- Verify the Client ID and Client Secret are correct
- Ensure the credentials haven’t been revoked in Atlassian Admin
- Check that the service account still has product access to Confluence
- Verify all required scopes are configured (see Step 4)
- Ensure the service account has access to Confluence in Atlassian Admin
- Check that the service account has access to the specific spaces you’re trying to sync
- Verify your Atlassian organization URL is correct
- Check Atlassian’s status page for any ongoing incidents
- Ensure your network allows connections to Atlassian services
Sync issues
No spaces visible after connection- The service account needs explicit access to spaces
- Contact your Confluence administrator to grant space access to the service account
- Personal spaces may not be accessible to service accounts
- Pages with restricted permissions may not be accessible
- Check page-level restrictions in Confluence
- Ensure the service account has at least view access to the pages
- Verify the
read:attachment:confluencescope is configured - Large attachments may take longer to sync
- Some file types may be excluded from text extraction
Service account issues
Cannot create service account- Organization admin permissions are required
- Service accounts feature must be enabled for your Atlassian organization
- Check your Atlassian plan supports service accounts
- Ensure you’re in the correct service account’s settings
- OAuth 2.0 credentials require specific Atlassian plans
- Contact Atlassian support if the option is not available
Support
If you encounter any issues during setup or ongoing operation, please contact Wolfia support at [email protected] with:- Integration type - Confluence Service Account
- Error messages - Specific errors from the setup process or sync logs
- Service account details - Name and configuration (without secrets)
- Screenshots - Setup screens or error dialogs (redact sensitive information)

