Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can We Embed Confluence Pages as Preview Panels on External Sites?

Navira Zainab
Contributor
October 28, 2025

 

Hi everyone 👋

I’m exploring ways to embed Confluence public pages as preview panels directly within our company’s main website—similar to the new Global Preview Panel Atlassian recently introduced.

Here’s what we’re aiming for:

  • When a visitor lands on our website and clicks a linked article, they should be able to read it in a seamless preview mode—without leaving the current tab or window.
  • They should also have the option to open the full article in a new tab if preferred.
  • The experience should feel like headless documentation: clean, contextual, and frictionless.

Question:
Is this kind of functionality achievable using Confluence’s current APIs or embedding options? Has anyone implemented something similar—perhaps using iframe embeds, REST API, or a custom integration?

Would love to hear your thoughts, examples, or workarounds!

Thanks in advance 🙌

1 answer

2 votes
Jayesh Raghuvanshi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 28, 2025

@Navira Zainab 

 

Direct iframe embedding of Confluence Cloud pages on your own website is generally blocked by Atlassian’s security headers (X-Frame-Options SAMEORIGIN and CSP frame-ancestors ‘self’), so a native “preview panel” via iframe isn’t reliable across pages or tenants. The workable pattern is to fetch page HTML via the Confluence Cloud REST API and render it in your site’s modal/drawer, or publish content to a docs site and integrate that endpoint into your UI

Suggested Approached

  • Server-side render with REST API: Use the Confluence Cloud REST API to fetch page HTML (body.view or body.export_view), then render in your site’s preview panel/modal so users don’t leave the tab
  • Handle media and links: REST responses often include attachment links that require auth or rewriting; proxy images/files or rewrite URLs before injecting into your UI to avoid broken media in previews

Thanks

Jayesh R

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events