About Confluence

Confluence is a collaborative workspace developed by Atlassian, designed to help teams create, organize, and share knowledge efficiently. It serves as a central hub where teams can collaborate on projects, document processes, and maintain institutional knowledge.

Key features include:

  • Dynamic Pages: Confluence allows users to create and edit pages collaboratively, making it easy to document meeting notes, project plans, and other important information.

  • Organized Spaces: Content is structured into spaces, which can be organized by team, project, or department, facilitating easy navigation and information retrieval.

  • Integration with Atlassian Tools: Confluence integrates seamlessly with other Atlassian products like Jira, enhancing project tracking and collaboration.

  • Templates and Macros: It offers a variety of templates and macros to streamline content creation and formatting.

  • Access Controls: Granular permission settings ensure that sensitive information is accessible only to authorized users.

Authentication Options

Below are possible authentication options you can choose:

Generate a Confluence API Key

  1. Log in to your Atlassian profile account.

  2. Navigate to Security in the top bar, then click Create and manage API tokens.

  3. Click Create API token, give it a name and set an expiration date.

  4. Your API key will be displayed—copy it somewhere safe.

  5. Encode the combination of your email address and API key in base64 using the format:
    your@email.com:your-api-key
    You can do this in one of two ways:

    • Run the following command in your terminal:
      echo -n 'your@email.com:your-api-token' | base64
      
    • Or use an online base64 encoder.

Integrate Confluence into xpander.ai

  1. Go to the Apps section in the sidebar of your xpander.ai dashboard.
  2. Select Confluence from the available integrations.
  3. Click Other auth options.
  4. Enter an Interface name, e.g., xpander-confluence.
  5. Select API Key as the authentication mode.
  6. Choose Integration User as the authentication scope.
  7. Paste the base64-encoded string from the previous section into the provided field.
  8. Set the Auth Type to Basic.
  9. In the Interface specific settings section, enter your Atlassian domain in the following format:
    https://{your-domain}/wiki/api/v2 (e.g., https://xpandersandbox2.atlassian.net/wiki/api/v2)
  10. Save the configuration.

Integration of Confluence into AI Agent

Once you’ve configured your Confluence account with the authentication option(s) described above, you can integrate it into your AI agent with xpander.ai:

  1. Go to the + sign located in the top right of the graph visualization of your xpander.ai agent.
  2. Select Apps.
  3. Choose Confluence with the same Interface name you configured in the previous section (e.g., xpander-confluence).
  4. Select the available Confluence operations that suit your use case.

Expose Confluence as MCP Server

Alternatively, you can also expose your Confluence account as an MCP server. To do so:

  1. Go to the Apps section in the sidebar of your xpander.ai dashboard.
  2. Select Confluence with the same Interface name you configured in the previous section (e.g., xpander-confluence).
  3. Click MCP Configuration.
  4. Enter the MCP configuration into the appropriate settings of the client app you want to use (e.g., Cursor, Windsurf, Claude Desktop, etc.).

AI Agent Confluence Prompt Library

Below are possible prompts or use cases you can try after integrating Confluence into your xpander AI agent:

I need to see who liked the feedback comment on our project proposal, can you check?
I need to update the property {property_name} on our project blog post, can you help?
Can you fetch all the inline comments on the {page_name} documentation to review feedback?
Can you help me find all attachments in our Confluence site?