Skip to main content
This walkthrough goes from a fresh install to a running service with a backup. It takes about five minutes, most of which is waiting for the service to provision.
You need a SabaothCloud account with a plan that has room for another service. See Plans and pricing.
1

Install the CLI

You need Node.js 22.12 or later. See Install the CLI.
2

Create an API key

In the dashboard, open API Keys, click Create API Key and copy the key. It starts with mpg_ and is shown only once. See API keys.
3

Log in

Paste the key at the hidden prompt. The CLI checks it, saves it in your OS keychain and selects its organization:
4

Create a service

Choose a name and the resources to give it. CPU is in millicores (500 is half a vCPU), memory in MiB and storage in GiB.
The CLI shows exactly what it will create and asks you to confirm, because a service is billable:
Note the service ID (clu_abc here). You’ll use it in the next steps.
5

Wait until it is ready

Run it again until Status shows ready. Provisioning usually takes a couple of minutes. To list every service instead, run sabaoth postgres list.
6

Get the connection details

Once the service is ready, sabaoth postgres get shows its host, port, database and username:
The CLI never shows passwords. Create a database user and get its password in the dashboard; see Database users. To connect from outside SabaothCloud, see Networking.
7

Follow the logs

Log events stream in as they happen. Press Ctrl-C to stop. See sabaoth postgres logs for filtering by severity and replaying history.
8

Take a backup

Confirm with y. The backup is queued, then runs in the background. Check on it with:

Clean up

If you created the service just to try things out, delete it so it stops costing money:
You’ll be asked to type the service ID back to confirm. Deletion is permanent.

Next steps

Scripting and CI

Use --json, exit codes and SABAOTH_API_KEY in pipelines.

Command reference

Every flag for every command.