Embed Jupyter Notebook from private Bitbucket repository

You can also render Jupyter notebooks in Confluence from private Bitbucket repository. This option is best when notebook are often updated in version control system and should not be publicly accisible.


Bitbucket access needs to be configured before using this macro. Find the add-on in Manage apps section of Confluence configuration/admin page and then click on Configure.

App Password

In order to be able to access notebook files in Bitbucket, you need to create app password from Bitbucket setting page. You can do that from https://bitbucket.org/account/user/your-username

App password only needs Repositories read permission.

Copy crated app password and save it in macro configuration along with your username.


Once this is complete, you can use this macro like any other Confluence macro.