Skip to main content
1

Sign up

Go to dbhost.app and create an account with email or Google.
2

Create a database

Click + New Database in the dashboard and enter a display name. Check Managed SQL roles if you want separate owner, runtime, and read-only logins. It is available on every plan; leaving it unchecked uses the existing single-login creation flow.DBHost generates the internal PostgreSQL identifier automatically, provisions the database in seconds, and shows the connection details immediately.
3

Connect

Use the connection string from the database detail page. It connects through PgBouncer on port 6432:
Use the database name and the specific role username shown on the detail page. -W prompts for the password so it does not appear in your shell command. Other PostgreSQL clients, ORMs, and drivers use the same host, port, and selected role credentials. sslrootcert=system needs libpq 16 or newer; see TLS connections for older clients and other drivers.

Connection details

Each database comes with:
Keep revealed passwords in a secret store and out of shell history and source control. The database detail page can reveal or rotate an authorized role’s current credential; legacy databases also support password reset.

Prefer the CLI?

Pro and Business users can work from the terminal with the CLI:
Then authenticate with an API key from Settings:
For paid plans, Selected databases is the recommended key scope. Use Full account access only if your automation needs to create databases.

What happens under the hood

When you create a database, DBHost:
  1. Creates the legacy owner login, or a managed owner/runtime/read-only role set when you opt in, with separate generated credentials
  2. Creates a database owned by the selected owner login
  3. Adds a PgBouncer pool entry for connection multiplexing
  4. Reloads PgBouncer (zero-downtime config reload via SIGHUP)
  5. Applies the backup choice for its environment: production always gets a daily logical backup kept for 30 days; see Backups and retention
  6. Records the action in the platform activity log