Skip to content

Engineering

Connect Supabase to Crewhir

Check projects and edge functions. This guide covers how to connect Supabase, the permissions Crewhir asks for, what it can read and modify, how to test it, and how to disconnect it.

Connects with
OAuth 2.0 (sign in to Supabase)
Reads
5 actions, always on
Changes
None

How to connect Supabase

Anyone with a Crewhir account can connect Supabase. It takes about a minute, and you can connect more than one Supabase account.

  1. Sign in to Crewhir at app.crewhir.com and open Integrations in the sidebar.
  2. Find Supabase and open it, then click Connect Supabase (or Add account if one is already connected).
  3. Optionally give the account a nickname, then click Continue to Supabase.
  4. Supabase opens and asks you to sign in and choose the workspace or account to connect. Review the permissions it lists (they are explained below) and click Allow.
  5. You come back to Crewhir and the account shows Connected.
The Connect Supabase dialog in the Crewhir app (illustration)

Permissions Crewhir requests

Crewhir uses OAuth 2.0. The permissions are set on Crewhir’s app listing in Supabase, and Supabase shows the full list on its consent screen before you allow access. Crewhir only calls the actions listed below.

What Crewhir can read and modify in Supabase

This is the complete list. Crewhir can’t call anything in Supabase that isn’t here. Reading happens only when someone asks Crewhir for something that needs it.

Read

Always on. Runs when you ask.

  • Check which account is connected
  • List organizations
  • List projects
  • Read project
  • List functions

Modify

Off until you turn it on. Approved one at a time.

Crewhir can’t change anything in Supabase.

Test the integration

1. Check the connection

On the Supabase page in Crewhir, click Check next to the account. Crewhir calls Supabase with the stored credentials and confirms which account answered. You’ll see “account is working”.

Check confirms the connection works (illustration)

2. Run a read action

Start a new chat. In the message box, open the tools menu and make sure Supabase is ticked, then send:

Using Supabase, list organizations.
Choose Supabase in the tools menu (illustration)
Crewhir reads from Supabase and answers (illustration)

How to disconnect Supabase

  1. In Crewhir, open Integrations, then Supabase.
  2. Click ⋯ next to the account and choose Disconnect. (With several accounts, the menu at the top also offers Disconnect all accounts.)
  3. Confirm with Disconnect.
The account menu (illustration)
Confirm to disconnect (illustration)

Crewhir deletes the connection and its stored access and refresh tokens straight away. From then on it can’t read or change anything in Supabase.

To revoke the grant on Supabase’s side as well, remove Crewhir from the connected apps in your Supabase settings.

Data and security

  • Credentials are encrypted at rest and never shown back to anyone, including your workspace admins.
  • Crewhir only calls the 5 actions listed above, and only when someone in your workspace asks for something that needs Supabase.
  • Changes are off by default, need your approval each time, and are logged under Recent changes.
  • Disconnecting deletes the stored credentials immediately.

Read more on our security page and in the privacy policy. Questions about this integration: [email protected].