Point dbwarden at your databases and models.
Run dbwarden init once: it creates the migrations/ layout and a declarative dbwarden.py, and it is safe to run again later, since it never touches the database. Declare each database with four required parameters, database_name, default, database_type, and database_url_sync, then point model_paths at the package that holds your models. dbwarden settings show prints what was resolved, so the config can be checked before anything else runs.
from dbwarden import DbwardenDatabase
class Primary(DbwardenDatabase):
database_name = "primary"
default = True
database_type = "sqlite"
database_url_sync = "sqlite:///./app.db"
model_paths = ["app.models"]$ dbwarden init
$ dbwarden settings show