Lightning Out is a feature that allows Lightning Components to be used in pages that are run from non-Salesforce servers allowing components to be added to external apps. A JavaScript library is included in the page on the origin server. Markup is added to configure & activate the Lightning components app. Lightning Out pulls the components app into the page over a secure connection & inserts it into the DOM of the page.

Lightning Out is a feature that allows Lightning Components to be used in pages that are run from non-Salesforce servers. This allows Lightning Components to be added to external apps. A JavaScript library is included in the page on the origin server. Markup is added to configure & activate the Lightning components app. Lightning Out pulls the Lightning components app into the page over a secure connection and inserts it into the DOM of the page.

At this point the “normal” Lightning component code takes over and runs as would be expected from within Salesforce. For this to work, a secure connection requiring authentication with Salesforce via REST which must be configured by the creator of the Lightning Out component is required.

history | excerpt history