docs/content/Guides/Integrations/confluence-connector.mdx
import { Callout } from 'nextra/components' import { Steps } from 'nextra/components'
Connect your Confluence Cloud workspace to upload and process pages directly as an external knowledge base. Supports page content and attachments (PDFs, Office files, text files, images, and more). Authentication is handled via Atlassian OAuth 2.0 with automatic token refresh.
http://localhost:7091/api/connectors/callback?provider=confluencehttps://yourdomain.com/api/connectors/callback?provider=confluenceIn your app settings, go to Permissions and add the Confluence API. Enable these scopes:
read:page:confluenceread:space:confluenceread:attachment:confluenceGo to Settings in your app to find the Client ID and Secret. Copy both.
Add to your backend .env file:
CONFLUENCE_CLIENT_ID=your-atlassian-client-id
CONFLUENCE_CLIENT_SECRET=your-atlassian-client-secret
Add to your frontend .env file:
VITE_CONFLUENCE_CLIENT_ID=your-atlassian-client-id
| Variable | Description | Required |
|---|---|---|
CONFLUENCE_CLIENT_ID | Client ID from your Atlassian OAuth app | Yes |
CONFLUENCE_CLIENT_SECRET | Client secret from your Atlassian OAuth app | Yes |
VITE_CONFLUENCE_CLIENT_ID | Same Client ID, used by the frontend to show the Confluence option | Yes |
Restart your application, then go to the upload section in DocsGPT and select Confluence as the source. You'll be redirected to Atlassian to sign in, then can browse spaces and select pages to process.
</Steps>VITE_CONFLUENCE_CLIENT_ID is set in the frontend .env, then restart.?provider=confluence.