Create a hosted database

Create a database in the hosted console and verify it with PostgreSQL 19 psql.

Markdown

You’ll need an approved early-access email address and the PostgreSQL 19 psql client. Join the waitlist if you’re waiting for access, or run PostDurable locally to try it on your machine.

Open your account

  1. If you have approval and this is your first visit, use the signup page with your approved email. If you have an account, sign in.
  2. Open the email link in the same browser where you requested it. The link expires after 10 minutes.
  3. Choose your account.

Create a database

  1. Enter a project name and select Create project, or use an existing project.
  2. In the project, expand Create database if the form is closed. Enter a name and select Create database.
  3. Wait for Ready. Use Refresh status to check a pending operation. If provisioning fails, review its status and use Reconcile operation if available.

Connect with psql

  1. Open the database and select Connect.
  2. Select Issue password and save the SQL password when it appears. Issuing a password replaces the previous password for the SQL owner. Viewers can see the endpoint and should ask an account administrator for a separate SQL login.
  3. Copy and run the console’s psql command. Enter the password at the prompt. The command uses direct TLS and verifies the hostname with the system trust store.
  4. Run a query to check the database and role.
SELECT current_database(), current_user;

The result should show your database ID and SQL role. Enter \q to leave psql.

Connect an application

Use a driver that supports direct TLS. Save the connection string in your server’s secret store and use it to set DATABASE_URL. If you rotate the SQL password, update the stored connection string and reconnect the application.

Manage access · Troubleshoot a connection