Supabase Integration Guide
The Supabase integration monitors your PostgreSQL database, tracking connection pool capacity, storage disk usage, and server health.
What It Does
- Connection Pool Capacity: Tracks active connections against your maximum limit. Alerts on Warning at 75% capacity to prevent connection starvation.
- Disk Storage Ceiling: Monitors disk consumption against the 500 MB free tier ceiling. Flags a Red Flag alert when disk exceeds 450 MB before database write-locks occur.
- Instance Health: Checks Postgres API status and service responsiveness.
Authentication Method: Personal Access Token
Supabase management uses a Personal Access Token combined with your project reference ID. No admin OAuth configuration is required.
Step-by-Step: How to Generate Your Supabase Token
Open Supabase Account Tokens
Log in to Supabase and navigate to supabase.com/dashboard/account/tokens ↗.
Generate Access Token
Click Generate new token, provide a description such as BAFOS Monitor, and copy the generated token string (starts with sbp_).
Locate Your Project Reference
Open your project in the Supabase console. The project reference is the 20-character identifier in your URL: supabase.com/dashboard/project/<project-ref> (or in Project Settings → General).
Save in BAFOS
In BAFOS, open Project Settings → Connected Stack → Supabase. Enter your Project Reference and Personal Access Token, then click Test Connection and Save Supabase Connection.
Maintained Changelog
| Date | Type | Description |
|---|---|---|
| 2026-11-17 | Added | Dedicated /tools/supabase page with real-time pool gauges and disk usage history. |
| 2026-11-16 | Added | Blocker Radar alerts for pool exhaustion (>75%) and disk ceiling (>450MB). |
| 2026-11-14 | Initial | Supabase Management API connector with encrypted token vault storage. |