4 weeks ago
I am embedding a dashboard in my react application using an iframe.
https://www.databricks.com/blog/how-embed-aibi-dashboards-your-websites-and-applications
https://docs.databricks.com/en/dashboards/index.html#embed-a-dashboard
1. How can i let my users view the dashboard, without the need to sign in to databricks?
I want databricks to be transparent for the user so the UX don't feel as if the user navigates away of my app and going through the hole login process.
2. If I have 100 users, for each I want to give access to the same dashboard, only with different dataset, what is the best way to handle that?
Cheers!
4 weeks ago
Hello @AE10
To allow users to view the dashboard without needing to sign in to Databricks, you can publish the dashboard with embedded credentials. This way, all viewers of the published dashboard can run queries using your credentials for data and compute. This allows users to see the dashboard even if they don’t have access to the originating workspace, underlying data, or SQL warehouse. However, be cautious as this might expose data to users who have not been granted direct access to it. https://docs.databricks.com/en/dashboards/index.html#publish-dashboard
To handle access for multiple users, each with a different dataset, you can use the following approach:
For example, you can use the following URL structure to pass parameters: <databricks-instance>/dashboardsv3/<dashboard-id>/published?o=<workspace-id>&f_<parameter-id>=<value>
3 weeks ago
@Alberto_Umana , This is really helpful, if we use embedded credentials does it mandatory for end user to have access to data bricks to view dashboard ?
3 weeks ago
Hi @Alberto_Umana, in the embed dialog I get this message saying "users will still need to log in..."
Am I missing some settings that I need to configure?
Also, can you maybe provide a code example for the solution you suggested above?
Cheers.
Tuesday
Hi ,
Has anyone gotten this working? I am facing the same issue when trying to get the embedded URL working from an iframe in my React application. I think I have all the necessary permissions in place, but still, the Databricks sign-in page opens instead of the dashboard.
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.
If there isn’t a group near you, start one and help create a community that brings people together.
Request a New Group