Confluence · Mermaid Studio · Setup
Getting started with Mermaid Studio for Confluence
Install Mermaid Studio, add your first diagram to a Confluence page with /Mermaid, pick a template and a theme, and learn what works without a licence and what needs one.
Updated
1. Install it
Installing needs an organization admin or a site admin. Atlassian's steps: open the app's page on marketplace.atlassian.com, select Get it now or Try it free, pick the site, select Review, then confirm. A message tells you the app was added. If your network filters domains, Atlassian asks you to allow *.cdn.prod.atlassian-dev.net, which is where Forge apps load their screens from.
Mermaid Studio needs nothing set up after that. There is no admin page and no setting to fill in.
2. Add a diagram to a page
Edit a page and type /Mermaid. Confluence shows the same list you get from the toolbar and filters it as you type. Choose Mermaid Studio for Confluence.
The editor opens with a small flowchart already in it, so the preview is never empty. Next to the Mermaid code box, the Live preview redraws a moment after you stop typing. Select Save to put the diagram on the page, or Cancel to leave it as it was.
3. Start from a template
The Template list (it reads Insert…) holds a starter for each diagram type: flowchart, sequence, Gantt, class, ER, state, pie and mindmap. Picking one replaces the code with that example, which is quicker than remembering the first line of each syntax.
Other Mermaid types, such as journey and timeline, also render. They have no template; type or paste the code yourself.
4. Pick a theme
The Theme list has Auto (follow Confluence), which switches with the reader's light or dark mode, and five fixed themes: default, neutral, dark, forest and base. The theme is saved with the diagram, so every reader sees the one you chose.
5. Change a diagram later
Edit the page, select the diagram, and open it with the edit icon, as with any Confluence macro. The code and the theme live in the macro on the page itself, so they are copied, versioned and restored along with the page.
6. Copy or export
On the published page, hover over a diagram to see its toolbar. Copy SVG works without a licence. Downloading the diagram as an SVG or PNG file (the PNG at twice the size, so it stays sharp in slides) needs a licence; without one the button shows Export ⭐.
7. Let AI write the code (with a licence)
Above the code box is a prompt row. Describe the diagram in plain English, for example "login flow with a retry after a wrong password", and select Generate. The app writes the Mermaid code and you can edit it like any other. Prompts are capped at 1,000 characters.
This is the only part that leaves Atlassian: the prompt is sent to an AI provider to write the code. Without a licence the button reads Generate ⭐ Pro. During an Atlassian trial, a line in the editor says until which date AI generation and PNG/SVG export are included.
Sources
Questions and answers
Where is the diagram stored?
In the macro on the Confluence page: the Mermaid code and the theme. Copying or restoring the page brings the diagram with it.
Do I need a licence to draw diagrams?
No. The editor, templates, themes, live preview and Copy SVG work without one. AI generation and SVG/PNG downloads need a licence.
Which diagram types work?
Templates exist for flowchart, sequence, Gantt, class, ER, state, pie and mindmap. Other Mermaid types such as journey and timeline render when you type the code.
How to cite this
Going Stellar (2026). Getting started with Mermaid Studio for Confluence. GOING STELLAR S.R.L..
https://goingstellar.ro/methods/getting-started-with-mermaid-studio/