Saving flows into Database

Afar from the documentation of the module there's just the doc of the Storage API itself.

https://nodered.org/docs/api/storage/

The settings.js that you need to modify resides in your Node-RED user directory, usually .node-red in your user profile.