Everything you need to build with Swiss-hosted, AI-native databases.
Sign up at app.vaultbrix.com using email/password, Magic Link, or GitHub OAuth.
Click "New Project" and select your region. Currently available:
From your project dashboard, copy your connection details:
# Project URL
https://YOUR_PROJECT_REF.vaultbrix.ch
# API Keys (Settings > API)
ANON_KEY=eyJhbGciOiJIUzI1NiIs...
SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIs...
# Database Connection
postgresql://postgres:YOUR_PASSWORD@db.YOUR_PROJECT_REF.vaultbrix.ch:5432/postgresVaultbrix is Supabase-compatible. Use the official client libraries:
npm install @supabase/supabase-js
// Initialize client
import { createClient } from '@supabase/supabase-js'
const supabase = createClient(
'https://YOUR_PROJECT_REF.vaultbrix.ch',
'YOUR_ANON_KEY'
)
// Query your database
const { data, error } = await supabase
.from('users')
.select('*')Auto-generated RESTful API from your PostgreSQL schema:
# Base URL
https://YOUR_PROJECT_REF.vaultbrix.ch/rest/v1
# Examples
GET /rest/v1/users # List all users
GET /rest/v1/users?id=eq.1 # Get user by ID
POST /rest/v1/users # Create user
PATCH /rest/v1/users?id=eq.1 # Update user
DELETE /rest/v1/users?id=eq.1 # Delete user
# Headers required
apikey: YOUR_ANON_KEY
Authorization: Bearer YOUR_JWT_TOKENFull GraphQL endpoint powered by pg_graphql:
# Endpoint
POST https://YOUR_PROJECT_REF.vaultbrix.ch/graphql/v1
# Example query
query {
usersCollection {
edges {
node {
id
email
created_at
}
}
}
}WebSocket subscriptions for live data:
// Subscribe to changes
const channel = supabase
.channel('db-changes')
.on(
'postgres_changes',
{ event: '*', schema: 'public', table: 'messages' },
(payload) => console.log('Change:', payload)
)
.subscribe()
// Presence (who's online)
const presenceChannel = supabase.channel('room-1')
presenceChannel.on('presence', { event: 'sync' }, () => {
console.log('Online:', presenceChannel.presenceState())
})GoTrue-based authentication endpoints:
# Base URL
https://YOUR_PROJECT_REF.vaultbrix.ch/auth/v1
# Endpoints
POST /signup # Register new user
POST /token # Sign in (returns JWT)
POST /logout # Sign out
POST /recover # Password recovery
POST /magiclink # Magic link login
GET /user # Get current user
PUT /user # Update userEvery Vaultbrix project includes Snipara - an AI context engine that allows any LLM (Claude, GPT, etc.) to natively understand your schema, data patterns, and conventions without manual context assembly.
Add to ~/.claude/mcp.json:
{
"mcpServers": {
"vaultbrix": {
"command": "npx",
"args": [
"-y",
"@vaultbrix/mcp-server",
"--project", "YOUR_PROJECT_SLUG"
]
}
}
}Add to .cursor/mcp.json:
{
"mcpServers": {
"vaultbrix": {
"command": "npx",
"args": [
"-y",
"@vaultbrix/mcp-server",
"--project", "YOUR_PROJECT_SLUG"
]
}
}
}rlm_context_queryFull documentation query with semantic search
rlm_askQuick query with predictable token count
rlm_rememberStore decisions, learnings, and context
rlm_recallRetrieve relevant memories
PostgreSQL 17 with enterprise extensions, hosted in Switzerland.
-- Enable pgvector
CREATE EXTENSION IF NOT EXISTS vector;
-- Create table with embeddings
CREATE TABLE documents (
id SERIAL PRIMARY KEY,
content TEXT,
embedding vector(1536)
);GoTrue-based auth with multiple providers and enterprise SSO.
// Sign up
const { data, error } = await supabase.auth.signUp({
email: 'user@example.com',
password: 'secure-password'
})
// Sign in with OAuth
await supabase.auth.signInWithOAuth({
provider: 'github'
})S3-compatible object storage with access policies.
// Upload file
const { data, error } = await supabase.storage
.from('avatars')
.upload('user-123.png', file)
// Get public URL
const { data: { publicUrl } } = supabase.storage
.from('avatars')
.getPublicUrl('user-123.png')Serverless TypeScript/Deno functions running in Switzerland.
// functions/hello/index.ts
import "jsr:@supabase/functions-js/edge-runtime.d.ts"
Deno.serve(async (req) => {
const { name } = await req.json()
return new Response(
JSON.stringify({ message: `Hello ${name}!` }),
{ headers: { 'Content-Type': 'application/json' } }
)
})WebSocket-based real-time subscriptions and presence.
// Subscribe to new messages
supabase
.channel('messages')
.on('postgres_changes', {
event: 'INSERT',
schema: 'public',
table: 'messages'
}, (payload) => {
console.log('New message:', payload.new)
})
.subscribe()Git-like branching for your database schema and data.
# Create a branch
vaultbrix branch create feature-auth
# Make changes to your branch
# ... run migrations, test data
# View diff
vaultbrix branch diff feature-auth
# Merge to production
vaultbrix branch merge feature-auth