function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sfdc Developer07_dev_07Sfdc Developer07_dev_07 

What are the different ways to display lightning component publicly into external website(non-Salesforce platform) without authorization?

What are the different ways to display lightning component publicly into external website(non-salesforce platform) without authorization?

Below approach is correct or not - according to best practices?
  • Site.com site (Included lightning componets into vf page using lightning out)
  • Embedded the salesforce site as iframe into external website.

Thanks in advance.
 
{tushar-sharma}{tushar-sharma}
You can directly use Lightning component in external website using Lightning out.
Check below sample steps are same for lightning: https://newstechnologystuff.com/2019/05/28/use-lightning-web-components-in-lightning-out/

If this answer helps you, please mark it as accepted.

Regards,
Tushar Sharma