'Automatically embedding dynamic Google Cloud Data studio

I am trying to dynamically embed Google Cloud Data Studio in my React web application. I have charts & reports already, but different dataset IDs according to the user using the app.

I want to embed charts according to the current user (which should change the dataset ID in the chart).

According to Google Cloud Data Studio integration API documentation, it is possible, to my understanding, with,

Human tasks:

  1. Create a chart
  2. Create a report

Machine tasks:

  1. Share a link that uses the report ID and change the dataset ID in the URL according to the user

The user can now access a custom report in GCDS

Currently, I have an issue with the integration API enter image description here

But I'm confident about solving it soon (probably a permission issue).

To me, all this seems to be a quite frictional process from the user and developer point of view, I don't see any feature to fully automate this process and being able to get an embedding by API?

Thanks a lot for the help and advice.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source