Before you start
- A running database. See Create a database.
- A way in: public access turned on, or a VPC connected. Without either, only the dashboard’s own tabs reach the database.
Steps
1
Open Connect
Open the database and go to the Connect tab.
2
Pick where you connect from
- The internet: your laptop, another cloud, a tool. Shown when public access is on.
- Your VPC: Raff servers on the same network. Shown when a VPC is connected.
raffadmin is used.3
Copy the address
Each address card shows the port and a Copy button. Show password reveals the password in the string.

4
Use it in your app
The code tabs give the same address ready to paste: URI, .env, and clients for each engine (for PostgreSQL:
psql, node, python, go, prisma).Which address and port
Hostnames:
- Public:
<database_id>.public.db.raffusercloud.com - Private (inside the VPC):
<database_id>.db.raffusercloud.com
Examples
sslmode=verify-full (PostgreSQL) or --cacert (Valkey).
From your laptop to a private database
A database on a VPC only, without public access, is reached through a VM on the same VPC:localhost:5432. The Connect tab shows this line with your values.
Next steps
Manage users
Give each app its own user and password.
Connection pooling
Pooled or direct, and why.