UI Embedding

lightning-ui-embedding

Embeds an external web application in a sandboxed iframe and manages a secure, bidirectional bridge between the host page and the embedded app.

For Use In

Lightning Experience

lightning-ui-embedding creates the iframe, applies the sandbox tokens you specify, and negotiates a bootstrap handshake with the embedded document. After the handshake completes, the host and the embedded app can exchange UI state and custom events over a MessageChannel. Communication uses postMessage, so the embedded document can either use the Salesforce embedding SDK or send the handshake messages directly.

For more information, see the Salesforce Microfrontend (UI Embedding) Developer Guide.

error fallback image
Temporary Loading Glitch
Looks like this content has briefly vanished into the horizon! Refresh the page and try again.