Atlassian’s Forge framework can now be leveraged to create AI applications enhancing Confluence Cloud, as detailed in a comprehensive guide that covers the full development lifecycle from setup to advanced usage with OpenAI APIs.
- Uses OpenAI API to summarize and index Confluence content
- Demonstrates handling data egress and caching strategies
- Example app and source code available on GitHub
What happened
Atlassian published a detailed guide on building an AI app using its Forge framework, designed specifically for Confluence Cloud. The post walks developers through creating a functional app that interacts with OpenAI’s chat completions API to generate page summaries and thematic space indexes.
The example app queries page content using the Confluence REST API, sends it to OpenAI for summarization, and presents the results within Confluence, including a button to insert summaries directly on pages. It also groups pages by thematic panels based on title analysis to improve navigation.
Why it matters
This tutorial showcases how AI can augment content management tools like Confluence to improve usability and productivity. By automating page summarization and content indexing, users can quickly grasp page value and find related information with ease, addressing common challenges in managing large knowledge spaces.
Additionally, the guide highlights important considerations such as data privacy related to user-generated content (UGC) sent to OpenAI, caching strategies to optimize API calls, and dealing with latency in large AI computations, providing a practical blueprint for responsible AI app development within enterprise environments.
What to watch next
Developers interested in Forge and AI integration should explore the open-source example app available on GitHub, which is written in TypeScript and designed for node 18 environments. It requires proper setup of environment variables including an OpenAI API key to function.
Further updates can be anticipated around Forge capabilities and API enhancements, especially regarding improved data security controls and more seamless handling of long-running AI processes. Monitoring Atlassian’s developer resources and Forge CLI developments will be essential for keeping up with best practices.