Linking dash app to a database for read and write operations

Hi.

I have dash app that I’ll be launching soon to some our customers. Before, I do so, I’d like to setup a database connect to saves certain workflows of the app, user inputs and forms users fill out.

Additionally, I’d also like to read this data and use it as source db for charts/plots. I am open to any open source databases mysql, postgresql etc.

How do I link a database to the app for read/write operations?