Forum Discussion
Embedding for Power BI users VS. Embedding for non-Power BI users
For integation with sharepoint, it has a built-in feature. It is simple and you don't have to code, see Integrate Power BI reports in SharePoint Online.
note that a user must have access to both the SharePoint Online site as well as the Power BI Report to view the report.
For public sharing, you can see Publish to web from Power BI
For more customizing cases, it is actually some developer stuff. For "Embedding for Power BI users", you could see this demo User Owns Data. Users must sign in with their Power BI accounts before they can acess the embedded reports. The users signing in must have suffient permission(member in workspace, RLS) to access the reports in Power BI.com, otherwise they can't access the reports embedded. As to "Embedding for non-Power BI users", you could see this demo App Owns Data. "Embedding for non-Power BI users" requires Power BI Premium license.