Quickstart
Tested with: zb CLI 0.1 · PostgreSQL 17 · macOS 15, Ubuntu 24.04, Windows 11
-
Install
zband sign in. The browser opens for the login; the token is stored in your OS keychain.shell brew install zerobase/tap/zb # macOS / Linux (Homebrew)scoop install zerobase/zb # Windows (Scoop)zb login -
Create an instance. Sizes, regions and engines are validated against the catalogue before anything is provisioned; the command prints the hourly price and monthly estimate and waits for the instance to be ready.
shell zb instances create --engine postgres --engine-version 17 --size s1 --region us-east --name pg-demo -
Reveal the credentials once and add your IP to the allow-list.
shell zb instances credentials reveal pg-demo # shown once; store it in your secret managerzb api PUT /v1/orgs/{org}/instances/pg-demo/network -d "{\"allow_cidrs\": [\"$(curl -s https://api.ipify.org)/32\"]}"zb api GET /v1/orgs/{org}/ca.pem > databasezy-ca.pem -
Connect.
zb connectspawns the engine’s own client (psql,mysql,valkey-cli,mongosh) with TLS verification and a short-lived credential, so nothing is pasted into a shell history.shell zb connect pg-demo
- Sign up at app.databasezy.com. The free tier needs no card and gives you one
f0instance in one project. - New instance: choose an engine, version, size and region. The wizard shows the hourly price and monthly estimate before you confirm; secure placement appears only after your org has signed the BAA.
- When the instance is ready (typically under a minute), the Connect tab shows the host, port, a one-time credential reveal, the CA download and per-language snippets identical to the ones in these docs.
- Under Network, add your egress IPs to the allow-list. Then paste the connection string into your app.
What you get with every instance
Section titled “What you get with every instance”- A TLS 1.3 endpoint on
<engine>-<id>.<region>.databasezy.com, re-encrypted to the pod inside the cell. - Per-instance credentials generated inside the cell; the control plane stores only a reference.
- An IP allow-list on every plan, including Free.
- Engine-native backups streamed to object storage from inside your namespace (policy depends on plan).
- Metering for compute, storage, egress and backups, visible live under Usage.
- An audit log of every control-plane action.
Next steps
Section titled “Next steps”- Connect from your language with verify-full TLS and pooling.
- Deploy on your platform or from Kubernetes.
- Migrate an existing database with
zb migrate.