Apps and sites

Databases

Create a PostgreSQL database and connect your app to it.

Create and connect

Choose New database in the console. The database’s page shows its connection string; add it to your app as an environment variable (usually DATABASE_URL) and redeploy.

The console shows the schema, runs SQL, and downloads or imports a dump. Databases need a paid plan.

Still stuck?Contact support · All help articles