It is required to create database caches in the project settings > Database Configuration window. The caches contain the database connection information for project compilation (PowerServer Toolkit will connect to the target database when converting the DataWindows to C# models), and will be deployed to the PowerServer solution and then be used for the database connection for the app runtime.