Atlassian Confluence

There are two ways to integrate diagrams from a Structurizr workspace into Atlassian Confluence.

HTML macro

The first is to use the built-in HTML Macro, although this needs to be enabled by an administrator on your Confluence installation. To embed a diagram, simply use the embed code. You can find this by clicking the button while viewing the diagram you would like to embed.

Structurizr macros

The second approach is to use one of the free Confluence macros that have been built specifically to embed diagrams from Structurizr. The macros can be installed via the Atlassian Marketplace and then inserted into your Confluence page via the Macro Browser.

Atlassian Confluence Macro Browser

There are three macros you can use.

1. Structurizr Public Embed

This macro embeds a diagram from a public Structurizr workspace.

Structurizr Public Embed macro

2. Structurizr Private Embed

This macro embeds a diagram from a private Structurizr workspace. As detailed on the iframe embed page, this functionality is only available to Cloud Plan customers.

Structurizr Private Embed macro

3. Structurizr Express Embed

This macro embeds the Structurizr Express diagram defined in the body of this macro. As detailed on the Embedding Structurizr Express diagrams page, this functionality is only available to Cloud Plan customers.

Structurizr Express Embed macro

The diagram definition can either be specified via the Diagram definition source parameter, or inline via the macro body.

Structurizr Express Embed macro

Atlassian Cloud

When using the Structurizr macros for Atlassian Cloud, none of the data you provide to the macros is stored by us.