> ## Documentation Index
> Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Confluence

> Search, read, and create documentation in Confluence

## At a glance

* **Availability**: Enabled by default.
* **Auth**: OAuth 2.0.
* **Connection**: A user authorizes the connection in the provider's consent screen.
* **Scopes**: `read:confluence-content.all`, `write:confluence-content`.

## Credentials

Set these per environment. See [Connect an integration](/cloud/integrations).

With a managed OAuth app, Connect works without these variables; set them to use your own OAuth app instead.

| Variable                  | Required | Description                                                                                                  |
| ------------------------- | -------- | ------------------------------------------------------------------------------------------------------------ |
| `ATLASSIAN_CLIENT_ID`     | Yes      | Atlassian OAuth Client ID (from your OAuth 2.0 app) [Docs](https://developer.atlassian.com/console/myapps/). |
| `ATLASSIAN_CLIENT_SECRET` | Yes      | Atlassian OAuth Client Secret [Docs](https://developer.atlassian.com/console/myapps/).                       |

## Tools

| Tool                 | Access | Description                                                                                                                   |
| -------------------- | ------ | ----------------------------------------------------------------------------------------------------------------------------- |
| List Atlassian Sites | Read   | List Atlassian cloud sites/resources the OAuth token can access; use the returned id as cloudId for Jira and Confluence tools |
| Search Confluence    | Read   | Search for pages and blog posts in Confluence                                                                                 |
| Get Page             | Read   | Get the content of a specific Confluence page (uses v2 API)                                                                   |
| Create Page          | Write  | Create a new page in a Confluence space (uses v2 API; requires spaceId from list\_spaces)                                     |
| Update Page          | Write  | Update the content of an existing Confluence page (uses v2 API; version.number must be current+1)                             |
| List Spaces          | Read   | List all accessible Confluence spaces                                                                                         |
| Add Comment          | Write  | Add a comment to a Confluence page (uses v1 content API)                                                                      |

## Example prompts

* Search Confluence for documentation about a specific topic or feature.
* Read and summarize a Confluence page. Extract key information and action items.
* Create a new documentation page in Confluence with structured content.
* Update an existing Confluence page with new information while preserving existing content.
