I agree with the person who asked the question. Recently, I spent a few weeks to get an embedded solution to work as I wanted to. There's a lot of documentation but it really isn't that clear on some things.
The easiest way to present your report on a web page is Publish to web as described here: https://powerbi.microsoft.com/en-us/documentation/powerbi-service-publish-to-web/
There are some disadvantages though, as described in the link. The main thing is, there's no real security with Publish to web. If someone knows the URL of the report, they are able to see it without any credentials.
The second way is to use the embedded APIs and all the things related to it, as described in the link you posted. And yes, you might need some backend
code as well.
To sum up, you need an Azure AD tenant and one account in the tenant with Power BI Pro subscription.
First, you register a PowerBI
app to Azure and write down the client id you get from that (https://dev.powerbi.com/apps). This is just to make the authentication work correctly.
Then you'll need to login to Azure portal and update the permission settings of the app you registered (https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-register-app/#apply-permissions-to-your-application-within-azure-ad).
Now you can publish the report to Power BI service. You should write down the report, workspace and dataset
GUIDs
after you have published the report. These GUIDs
are visible in the URL when you click on the report and the report dataset
.
After all of this, you're able to use the examples provided. You should have all the settings and id's that examples need. The backend
stuff might be needed, if you'd like to use a single master account in the authentication.