There are two ways to insert the diagram into the Confluence page
1. From the toolbar, click at insert icon (+)
Select the Mermaid Diagram from the search result
2. With the slash(/) shortcut, type /mermaid in the Confluence Page
Select the Mermaid Diagram from the dropdown
3. When done, the diagram looks like
If you see the box below
You will need to publish or preview the page from the top right of the toolbar
Then click at Allow button, before you start to use it.
Next steps:
How to update an existing diagram
Exporting configuration