Supabase
Projects, database (SQL), Edge Functions and health
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- Personal access token (sbp_…)SecretRequired
Where to find them
At supabase.com/dashboard/account/tokens click “Generate new token”. You can limit it to specific organizations or projects: grant at least “Projects” read access (used by the connection test) and “Database” read access for SQL queries (read and write access if you want to modify data). Choose the expiry and copy the token (sbp_…).
OAuth 2.0
PKCEYour OAuth appBring your own OAuth app: register one with Supabase, then create a custom auth config with its client ID and secret and our redirect URI. Setup guide
Registering the OAuth app
- At supabase.com/dashboard open your organization settings → “OAuth Apps” (supabase.com/dashboard/org/_/apps) and click “Add application”.
- Name it “Maua.Culturewire”, set the website to https://www.example.com and, as the callback URL, the redirect URI shown below.
- Grant only the permissions you will use: “Read” for “Organizations”, “Projects”, “Database” and “Edge Functions” (running SQL queries requires “Write” for “Database”; better not to grant “Secrets”).
- Click “Confirm” and copy the “Client ID” and the “Client Secret”. When connecting, the user chooses which organizations to authorize.
Default scopes
No scopes required
Tools (2)
Supabase API request
SUPABASE_SEND_REQUESTAuthenticated call to the Supabase API (https://api.supabase.com). Any endpoint of the API is allowed. Examples: GET /v1/projects, GET /v1/organizations, GET /v1/projects/{ref}/health?services=db,auth,rest, POST /v1/projects/{ref}/database/query/read-only {"query": "select …"}, GET /v1/projects/{ref}/functions, GET /v1/projects/{ref}/advisors/security, GET /v1/projects/{ref}/types/typescript.
Required scopes
No scopes required
Input
Supabase API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically. Read-only SQL query
SUPABASE_RUN_READ_ONLY_QUERYRun SQL as the read-only user of a project's database and return the rows. Tables must be qualified with their schema (public.table).
Required scopes
No scopes required
Input
Read-only SQL query input Name Type Description projectrequiredstringProject ref (20 letters; GET /v1/projects → ref) queryrequiredstringRead-only SQL, e.g. select id, email from public.customers limit 20

