# Embedding External Application UI inside Pega (Best Practices & Security)

**URL:** <https://forums.pega.com/t/embedding-external-application-ui-inside-pega-best-practices-security/12024>\
**Category:** General\
**Tags:** constellation, pega-platform\
**Created:** [May 19, 2026, 9:53am UTC](https://forums.pega.com/t/embedding-external-application-ui-inside-pega-best-practices-security/12024 "2026-05-19T09:53:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SankeerthanaB1595](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@SankeerthanaB1595](https://forums.pega.com/u/SankeerthanaB1595)\
**Post date:** [May 19, 2026, 9:53am UTC](https://forums.pega.com/t/embedding-external-application-ui-inside-pega-best-practices-security/12024/1 "2026-05-19T09:53:39Z")

</div>

Hello Pega Community, Good Day!  
I’m currently working on a small POC to embed an external application (built using React) within a Pega UI screen.  
As part of this, I am exploring the use of iframe-based embedding inside a Pega section/harness.

I would appreciate guidance on the following:

🔹 1. Recommended Approach

What is the recommended and supported approach to embed an external application UI inside Pega securely and in a scalable manner?

🔹 2. Configuration Requirements  
What configurations are required on:

✅ Pega side

Any specific settings to enable iframe rendering?  
Security policies to consider?

✅ External application side

Required headers (e.g., CSP, X-Frame-Options)  
Any constraints to allow embedding within Pega?

🔹 3. Security Considerations  
Are there any Pega-specific security settings (e.g., Content Security Policy, clickjacking protection, etc.) that might block iframe rendering?

🔹 4. Authentication / SSO  
What is the best practice to handle SSO authentication when embedding an application inside an iframe?

Is SAML / OAuth recommended?  
Are there any known constraints using SSO inside iframe?

🔹 5. Constellation UI Constraints  
Are there any known limitations or restrictions when using iframe in Constellation UI?

🔹 Objective  
Looking for best practices followed in enterprise implementations, especially for secure and seamless integration.

Thanks for the help!

---

<div class="post-metadata">

**Author:** ![RameshSangili](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/rameshsangili/32/23377_2.png) [@RameshSangili](https://forums.pega.com/u/RameshSangili)\
**Post date:** [May 19, 2026, 1:41pm UTC](https://forums.pega.com/t/embedding-external-application-ui-inside-pega-best-practices-security/12024/2 "2026-05-19T13:41:07Z")

</div>

Constellation - You have to build a DX component Widget to support this requirement.

regarding Oauth in Constellation - Please refer this link - [storybook - Storybook](https://pegasystems.github.io/constellation-ui-gallery/?path=/docs/widgets-oauth-connect--docs)
