Dash app behind a paywall

I have made a dashboard with Dash/Plotly/Python and I would like to place it behind a paywall.
Ideally I would like users to be able to create their own user accounts but give access to the dashboard only to the subscribed users.
I have found this basic example but it seems that each user have to be created by the admin individually.
How can this be accomplished?
Any guidance will be appreciated.
Thank you!

I would recommend looking into setting up a paywall on a Flask app (here’s an example of that, looks ok but I haven’t actually tried it). Once you have that running, you can host the dash app on a route of the flask app and make sure that that route is protected. Check out this post for some details on how to do that.

4 Likes