Is it possible to create a generic dashboard for multiple users with Dash?


I was wondering if it is possible to create a dashboard template using plotly, dash, python to have a unique dashboard for each different user?

So one user can have 3 plots on one tab and another user would have 2 plots on the same tab when they log in.

The database can be the same for each user but the data they see or have access to is unique based on their log in credentials.

Thank you!

Yes, that is possible :slight_smile:

Thank you for your response!

Is it possible for you to provide some documentation or resources where I can read/learn more about this?

When you have setup the authentication mechanism, you should be able to access the credentials in callbacks. You can then return different content depending on e.g. the username.

1 Like

Okay I see, so I can have connection to the same database and have similar plots but device what gets shown or what data gets pulled will depend on the username and password that is received in the call back.

I will do some more reading with callbacks and authentication.

Thank you!

I think that this can be helpful:

This method works for me, but I see the problem using @Callbacks and filters inside the dashboard.

1 Like