How to add your dash app to Flask

Hi,
Thanks for this post. In this question on dash behind a paywall, you said:

you can host the dash app on a route of the flask app and make sure that that route is protected
and refer to this post.

I’ve found examples of protecting a flask route but I don’t understand how to protect a dash route. How does one do that?