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.