Confluence - How do I link my account?
Overview
To authenticate with Confluence’s REST APIs using Basic Authentication, you need:
- Email Address - Your Atlassian account email address
- API Token - A secure token that acts as your password for API access
- Subdomain - Your Atlassian domain (e.g. your-domain.atlassian.net)
This guide will walk you through setting up Basic Authentication for Confluence.
Prerequisites:
- An Atlassian account
- Access to your Confluence instance
Step 1: Getting your API Token
-
Go to https://id.atlassian.com/manage-profile/security/api-tokens
-
Click “Create Classic API token”
-
Give your token a meaningful label (e.g. “Nango Integration”) and an Expiry Date
-
Click “Create”
-
Copy the API token immediately - you won’t be able to see it again
Important:
- Store this token securely and never share it. It provides the same access as your password.
- Basic authentication is not as secure as other methods. We recommend using it for scripts and manual calls to the REST APIs.
Note: As of March 13, 2024, API tokens have a lifespan of 1 to 365 days after which a new one has to be generated.
Step 2: Finding your Atlassian Domain
Your Atlassian domain is part of your Confluence URL. For example:
- If you access Confluence at
https://your-company.atlassian.net
- Then your domain is
your-company
Step 3: Connecting to Confluence
To authenticate:
- Enter your Atlassian account email address
- Enter your API token in the password field
- Enter your Atlassian domain (without .atlassian.net)
- Click “Connect”