Skip to Content
IntegrationsSupabase

Supabase

Connect Supabase and your assistant can work with your database — selecting and counting rows, inserting, updating, upserting, and deleting data, and calling stored procedures.

What’s included

With Supabase connected, your assistant can:

  • Read data — select rows and count rows in your tables
  • Write data — insert single rows or batches, update, upsert, and delete rows
  • Run logic — call remote procedures (Postgres functions)

Connecting Supabase

  1. Go to Integrations
  2. Find Supabase and click Connect
  3. Enter your Supabase project subdomain and service role key (find them in your Supabase project’s API settings)
  4. Return to Town

Your assistant works directly against your live database. You can revoke access anytime from Supabase.

What your assistant can do

CapabilityWhat it doesMakes changes?
Select rowsRead data from a tableNo
Count rowsCount matching rowsNo
Insert rowsAdd single rows or batchesYes
Update and upsert rowsModify or create-or-update rowsYes
Delete rowsRemove rowsYes
Call proceduresRun Postgres functionsYes*

* Procedures may read or write depending on how they’re defined.

Use cases

  • Data lookups — “how many signups landed in the users table this week?”
  • Quick fixes — update a row after a support conversation.
  • Data logging — routines that insert rows from other tools.

Good to know

  • Writes and deletes change your live database — use approval-required tool settings in routines that modify data.
  • For project provisioning, see the Supabase Management API integration.
Last updated on