For the moddeler you define the database (type) you want to use in the Project Settings
For deployement
1) to the Cloud you are ATM restricted to the "standard" Db which is Postgress 2) when deploying to private server, you create the connection during installation as part of the setup of the Console.