Skip to content

CloudSitus Databases · early access

A Postgres database that never leaves the country you pick.

One request creates a database with sign-in, file storage, vectors and a knowledge graph, in the region you name. The Supabase client you already use connects with two values.

storageauthorders · EUEUFrankfurtstorageauthorders · CHCHZurichstorageauthorders · USUSN. Virginia

9

Regions, one cell each (early access)

Postgres 16

With pgvector and a graph built in

3

Keys per database, revoked together

0

Rows copied between regions

Databases · Create

One call, in the region you name

Name the region in the request — there is no default, because where a database lives is a decision. You get back its address and its keys.

  • A region whose cell is not open is refused, never placed elsewhere
  • Agents can create one through the MCP server or a cloudsitus.yaml spec, with your confirmation
Get started
Request/api/v1/databases
POST/api/v1/databases
Authorization
Bearer cs_live_…
{ "region": "EU", "label": "notes" }
Response 201 Created
id
eu_k3v9q0x7m2a4b8c1
supabase_url
db-eu.cloudsitus.com/p/eu_k3v9q0x7m2a4b8c1
anon_key
… (publishable)
service_role_key
… (secret)

Databases · Connect

Your Supabase client, unchanged

createClient with the URL and the anon key, and tables, filters, storage, sign-in, functions, scheduled jobs and realtime work as you expect.

  • Row-level security, one transaction per request
  • Moving from Supabase or any Postgres? Import plans it first, read-only
Get started
app.ts@supabase/supabase-js
const db = createClient(SUPABASE_URL, ANON_KEY) const { data } = await db  .from('notes')  .select('id, title')  .limit(3)
Result
data[0]
{ id: 1, title: "Kick-off" }
data[1]
{ id: 2, title: "Budget" }
data[2]
{ id: 3, title: "Hiring" }

Databases · Auth & storage

Users and files next to the data

Sign-in runs against the database’s own auth, so identities stay in the region. Files sit in buckets in the same cell and are shared through short-lived links.

  • Row-level security sees the signed-in user as auth.uid()
  • Signed links that expire when you say
Get started
upload.tssame cell
await db.auth.signInWithOtp({ email }) const bucket = db.storage.from('uploads')await bucket.upload('contracts/lease.pdf', file)await bucket.createSignedUrl('contracts/lease.pdf', 60)
Result
signedUrl
https://db-eu…/storage/v1/… · 60 s

Databases · AI built in

Vectors and a graph beside your tables

Every database ships pgvector and the situs_graph schema: store embeddings next to your rows, and walk relationships with neighbors() or rank with similar() in one query.

  • pgvector, pg_trgm and pgcrypto in every database
  • Neighbours to a depth of six in one call
Make the embeddings
situs_graph.neighbors('doc:lease-2041', 2)read_only
iddepthpath
tenant:acme1{doc:lease-2041, tenant:acme}
unit:4b1{doc:lease-2041, unit:4b}
invoice:88122{…, tenant:acme, invoice:8812}

One SQL call, next to your tables

What you ask → what actually happens

Databases, in the words people use.

Mechanism, not adjectives: each line is what the API does when you ask for it.

“Give our app a database in the EU.”

POST /api/v1/databases with region: EU. It is created in the EU cell, or refused if that cell is not open.

“Keep using supabase-js.”

createClient(supabase_url, anon_key): tables, storage, sign-in, functions, scheduled jobs and realtime, per the published contract.

“Each customer’s data in their own country.”

One database per region under the same label. A query names its region; personal rows are never copied across.

“Semantic search over our documents.”

Store embeddings in a pgvector column, or rank with situs_graph.similar(), next to the rows they describe.

“Move our Supabase project here.”

An import inspects the source read-only and shows a plan; running it copies schema, data, users and files into a new database, with scheduled jobs paused until you start them.

“Get our data out.”

Exports dump the database and zip the files, and work even without credit. Point-in-time restore creates a new database.

Capabilities

Also in Databases.

01

Row-level security

Policies as on Supabase, with auth.uid() for the signed-in user.

02

Edge functions

Functions that run in the database’s own region.

03

Scheduled jobs

Cron schedules without running a scheduler.

04

Realtime

Changes pushed to your clients as they happen.

05

Point-in-time restore

Restore a moment you pick into a new database.

06

Exports, always

A dump and a zip of your files, even without credit.

The API

One call to create, two values to connect.

Create over the API, the MCP server or a spec; connect with the Supabase client. The same keys reach every surface.

  • POST /api/v1/databases
  • region
  • label
  • supabase_url
  • anon_key
  • /rest/v1
  • /auth/v1
  • /storage/v1
  • /functions/v1
  1. request
  2. cell
  3. database
  4. keys
curl https://cloudsitus.com/api/v1/databases \
  -H "Authorization: Bearer $CLOUDSITUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "region": "EU", "label": "notes" }'

Resident, or refused

One cell per region

Each region has its own cell. A database is created in the cell of the region you name, and refused if that cell is not open yet — never placed somewhere else for you.

  • A region with no open cell answers 422 region_not_available.
  • Personal tables stay in their region; only a shared schema you choose reaches every member.
  • No SQL text, parameters or rows are written to any log.
POST /api/v1/databases
HTTP/2 201
{ "id": "eu_k3v9q0x7m2a4b8c1",
  "supabase_url": "https://db-eu.cloudsitus.com/p/eu_k3v9q0x7m2a4b8c1",
  "anon_key": "…",
  "service_role_key": "…",
  "read_only_key": "…" }

Regions and prices

Where your database can live

Early access: cells open region by region. Each one is a separate cluster in that region.

Database cells · early access
RegionCell location
CHSwitzerlandZurich
EUEuropean UnionFrankfurt
UKUnited KingdomLondon
USUnited StatesN. Virginia
ASIAAsia-PacificSingapore
ANZAustralia · NZSydney
INDIAIndiaMumbai
LATAMLatin AmericaSão Paulo
MENAMiddle East · N. AfricaUAE

Early access: cells open region by region. Every region and who hosts it. Prices are on the pricing page.

FAQ

Databases, answered.

Does my Supabase code work?
Yes, for the parts the contract lists: createClient(supabase_url, anon_key) works as on Supabase — tables and filters (REST), storage buckets and signed URLs, sign-in, edge functions, scheduled jobs and realtime. The anon, service_role and read-only keys are issued per database and revoked together by rotating the key.
Where does my data live?
In the region you name when you create the database: its own Postgres database and role in that region’s cell. A region with no open cell refuses the request (422 region_not_available) — the database is never placed somewhere else for you.
Are rows ever copied between regions?
No. Asking for the same database in several regions gives you one database in each. Personal tables stay locked to their region; only a shared schema you choose to write to every member reaches all of them.
What is built in?
Every database ships pgvector, pg_trgm, pgcrypto and the situs_graph schema: nodes and edges with neighbors() and similar(), so vectors and a property graph live next to your tables.
What does it cost?
On use, from the same prepaid balance as every call: a small idle share, storage and statement time. Creating a database needs credit for 24 idle hours of your databases. Prices are on the pricing page.
Can I take my data out?
Yes. Exports dump your database and zip your storage, and they work even without credit. Point-in-time restore creates a new database from a moment you pick.

Any or all location, securely, privately, easily.

Create your first resident database.

Situs is the legal word for where an asset sits, and so whose law governs it. CloudSitus makes that a setting on every call, every database and every file.

https://cloudsitus.com/mcp