Embed a Supabase integration in your product
Add Supabase to your product for your customers, and give your AI agents governed access to it.
Supabase wraps a Postgres database in a platform, and an embedded Supabase integration gives your product all of it: tables exposed through an auto-generated REST API, auth users, storage buckets and realtime change subscriptions, per project the customer connects. Row level security is what really shapes the integration. Whether you call as an authenticated user or with the service role changes which rows come back, and a policy the customer wrote themselves can quietly filter results your product expected, so the calling identity matters more than the query. fastn keeps each project's URL and keys per customer, so a service role key never sits in your frontend, and monitors the connection, proposing a fix for your team to approve if Supabase changes its API.
In your product
Embedded for your customers. Per-tenant auth, customized per customer, monitored by fastn.
- Let a customer connect their own project, and your product reaches their tables through the generated REST endpoints.
- Call as the correct identity so each customer's row level security policies apply instead of being bypassed.
- Upload and fetch files from a customer's storage buckets without your product having to hold the objects itself.
- Subscribe to realtime changes so your product refreshes when a row changes in the customer's project.
For your AI agents
Governed, audited access for the agents you build, through the MCP server.
- An agent queries a table under an identity whose row level security policies bound what it can see.
- An agent creates or updates a row within granted permissions, with the project and table recorded.
- An agent looks up an auth user's record to confirm who a request belongs to before acting on it.
Example prompt
Show this auth user's row in the profiles table and the files they have in their storage bucket.
Set up Supabase in 4 steps
- 01Enable the Supabase connector from your fastn dashboard.
- 02Have each customer authorize their own Supabase account, so calls run under their credentials rather than a shared key.
- 03Decide which records, datasets and fields your product needs, map those fields, then enable the actions and triggers you want.
- 04Call it from your product and expose it to your agents through the same governed integration.
Why teams use the Supabase integration
- Ship a Supabase integration without building it. Your customers connect their own Supabase account inside your product and work their records, datasets and fields there, and nothing lands on your team.
- Handle the part that actually costs time: schemas differ per customer and change without notice, and volumes can be large. fastn handles the auth, token refresh, rate limits and pagination, and when Supabase changes, its maintainer agent proposes a tested fix, so a Supabase update does not start in your backlog.
Used by these teams
Works well with
Often used alongside
Tools the same teams tend to run next to Supabase, across other categories.
More in Data & Storage
Other Data & Storage apps your customers can connect the same way. All Data & Storage integrations
Supabase integration FAQ
Can AI agents use this Supabase integration?
Yes, through the fastn MCP gateway, scoped per customer and audited. An agent queries a table under an identity whose row level security policies bound what it can see. For example: "Show this auth user's row in the profiles table and the files they have in their storage bucket."
Does the Supabase integration adapt when a customer's schema changes?
Schema and field mapping is configuration per customer, so a change on their side is a mapping update rather than a code change and a release on yours.
How are large Supabase reads handled?
Pagination and throttling are handled for you, and initial backfills are rate-limited so a large import does not exhaust a customer's API allowance.
What can I build with the Supabase integration?
A common starting point: let a customer connect their own project, and your product reaches their tables through the generated REST endpoints. The use cases above list the rest.
Add Supabase to your product
Start free with 3 customer connections. No sales call required, and no per-customer integration code.