Documentation

Example: Add a Database

Provision a PostgreSQL or Redis service and connect it to your app in minutes.

1. Create the database

From your project, add a new Database service. Choose PostgreSQL or Redis, select a version, and pick the tier that matches your workload.

2. Connect your app

Nouva injects connection strings into your app as environment variables. Use the private URL inside the platform for the best performance.

DATABASE_URL=postgres://...

3. Verify and monitor

Deploy your app to load the new variables, then verify connectivity. Monitor logs and resource usage from the database service panel.