Use an Atlassian service account for Jira, Jira Service Management, and Confluence workflows. One credential can serve all three products on the same site when its account access and token scopes cover each product.
Setting up a Confluence knowledge base connector? Use the connector scope list. For Search, follow the Confluence Search service-account guide. Jira Search uses each teammate's OAuth account; a workflow service account does not replace that connection.
Create the account and token
An Atlassian organization admin completes these steps:
- Open Atlassian Administration, select the organization, then Directory → Service accounts → Create service account.
- Give the account access to the intended site's Jira and/or Confluence apps. Grant the project and space permissions its workflows need, including access to restricted content.
- Select the service account, then Create credentials → API token → Next.
- Name the token, set an expiry between 1 and 365 days, and select Next.
- Select the scopes below for the products and operations you need. Review and create the token, then copy it. Atlassian shows it only once.
See Atlassian's service-account setup and token instructions.
Choose scopes
Start with the connection and read scopes for each product, then check the scope requirements for your workflow operations.
Jira and Jira Service Management
read:jira-user covers the current-user check when you add the credential, including through Jira Service Management. Add read:servicedesk-request for Service Management requests.
Confluence
read:confluence-user covers the current-user check. The space picker needs read:space:confluence; page reads and the page picker need read:page:confluence.
Confluence knowledge base connectors
A Confluence knowledge base connector reads pages, blog posts, attachments, labels, and the space permissions and page restrictions it mirrors. Its service-account token needs every scope below, not only the Confluence scopes above:
Without read:attachment:confluence, pages still sync, but their PDF, Word, Excel, and PowerPoint attachments are not indexed and each sync reports a partial source listing. To fix a token that is missing scopes, create a replacement token with the full list. A credential admin then opens the credential in Integrations, selects Reconnect, and enters the new token and site domain. Connectors that use the credential keep using it.
Workflow actions
Add scopes for the actions your workflow performs:
Deletes, webhooks, Assets, and other operations can require additional scopes. Check the endpoint's complete scope set in the Jira, Jira Service Management, or Confluence API reference.
Use the App and Scope type filters to find both classic and granular scopes. Scopes and account permissions are separate: the account must also have access to the project, space, or content.
Use an OAuth 2.0 credential instead of a token
A service account can also have an OAuth 2.0 credential: a client ID and secret with the scopes you select when you create it. Sim requests a 60-minute access token from auth.atlassian.com with the client credentials grant whenever a workflow needs one and calls api.atlassian.com/ex/{jira|confluence}/{cloudId} with it, so nothing expires in Sim the way a pasted token does.
- Atlassian supports these credentials for the Jira and Confluence REST APIs. It does not list Jira Service Management, so use a scoped API token for Service Management operations.
- In Directory → Service accounts, select the service account, then Create credentials → OAuth 2.0, choose the scopes listed above, and copy the client ID and secret. Atlassian shows the secret only once.
- When you add the credential in Sim, set Authentication to OAuth 2.0 credential (client credentials) and paste the client ID and secret instead of an API token.
- Once the OAuth 2.0 credential is revoked in Atlassian, Sim can no longer request tokens with it. To rotate, create a new credential and Reconnect the Sim credential with its client ID and secret.
Add the credential to Sim
- Open Integrations in your workspace sidebar, then Jira, Jira Service Management, or Confluence.
- Select Add to Sim → Add service account. If only service accounts are available, select Add service account directly.
- Keep Authentication on Scoped API token and paste the API token, or choose OAuth 2.0 credential and paste its client ID and secret. Enter Site domain, such as
your-team.atlassian.net. Omithttps://and any path. Optionally add a display name and description. - Select Add service account. Sim checks the token (or a token minted from the OAuth 2.0 credential) against the selected product's current-user endpoint; resolve any error before continuing.
- In your workflow's Jira, Jira Service Management, or Confluence block, select the credential and configure the operation.
The credential appears on all three integration pages, but adding it only validates the selected product. Check account access and scopes before using another product.
Troubleshooting and rotation
For a Search source, follow Confluence's service-account setup and replacement steps.