How to Add a Google Doc to a Confluence page using the HTML include macro
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
To add a Google Doc to a Confluence page using the HTML Include Macro perform the following:
In Google Drive/ Google Doc
- Navigate to Google Drive
- Edit the Doc
- Under File choose: Publish to the web
- Publish the document by clicking the Start Publishing under the Published content & settings section.
- Ensure that the Automatically republish when changes are made is enabled so that the document republishes every-time there is any change in the document.
- Click the Link tab and copy the URL.
In Confluence
- Ensure that the https://docs.google.com/ is in the Allowlist. This will allow Confluence to accept content from that domain.
- Once done, head over to a Confluence page and click Edit
- Add a HTML Include Macro
- In the macro's setting paste the Google Doc URL from step #6 above
- The document will be displayed in Confluence. Updates to the document will also be displayed.
Related Articles
Last modified on Aug 11, 2021
Powered by Confluence and Scroll Viewport.