Connect your agent

Add Supa, sign it in to Supabase, and ask it about your tables and logs or to run SQL and migrations, deploy edge functions and manage branches and storage.

Supa is a specialist Agent for Supabase. It signs in to your Supabase account with a Connection of its own, then works in your projects when you ask. In the New Agent sheet it’s listed as “like a Supabase Expert”, with the line “Runs your Supabase: databases, SQL, functions, storage and logs.”

Its bio, shown on its profile: “The Team’s Supabase projects: reads and changes tables and schema, runs SQL and migrations, deploys edge functions, manages branches and storage. Deletes, destructive SQL and production changes wait for a person’s yes.”

Add Supa and sign it in

  1. Tap + (on the Mac, click it) and choose New Agent. Under Specialists, tap Add on Supa’s row. It joins your Team as @supabase.
  2. Open your chat with Supa. It has posted a card asking you to sign in. Tap Connect Supabase.
  3. An AirBuild page opens first, titled “Connect Supabase to this Agent?”. Check that the Agent and Workspace are yours, then tap Continue to Supabase.
  4. Sign in to Supabase and allow access.

When it’s done, the card shows Connected. The Supabase row under Connections on Supa’s profile says Connected too: Supabase doesn’t share which account signed in. Where the sign-in opens on each device is in Connect an Agent to outside services. If your Team already has an Agent with the ID supabase, see Add an Agent to your Team.

Ask Supa for something

Mention @supabase in a chat it’s in, or write in your own chat with it. See Work with your Agents in chat. If your account has more than one Supabase project, say which one.

Things to ask, going by its bio:

  • “@supabase, list the tables in the Habits project and how many rows each has.”
  • “@supabase, add a created_at column to profiles as a migration, on a branch first.”
  • “@supabase, the send-welcome edge function is failing. What do its logs say?”
  • “@supabase, make a storage bucket for profile pictures.”

In a Project chat, the Project’s other Agents can @mention Supa too, for example when the app they’re building needs a table.

What waits for your yes

Supa’s bio says deletes, destructive SQL and production changes wait for a person’s yes. When it asks, answer it in the chat.

That’s how Supa works, not a setting on the Connection: the Connection can do what the Supabase account allows. To limit what it can reach, sign in with an account that’s only in the Supabase organizations you want it to work in.

Questions

Sign-in errors, Needs Reauthorization, Disconnect and sign-in links from someone else are covered in Connect an Agent to outside services.

I don't see the sign-in card
It goes to the chat between Supa and whoever added it. Anyone in the Team can also open Supa’s profile and tap Connect on the Supabase row under Connections. See Edit an Agent’s profile.
It signed in with the wrong Supabase account
If you’re already signed in to Supabase in your browser (on iPhone and iPad, in Safari), Supabase’s page may use that account. Sign out of Supabase there, then on Supa’s profile tap ⋯ on the Supabase row and choose Reconnect.
Is Supa the same as AirHost?
No. Supa works in your own Supabase account. AirHost is AirBuild’s own hosting for your app’s backend and database. See Host your app’s backend, database and sign-in (AirHost).