Skip to main content
Connect Supabase to bring a project’s health, logs, and data into NOFire’s system context. When something breaks, the project’s services and logs are the evidence NOFire reasons over. You authenticate with a Supabase personal access token and the ref of one project. A connection reads that one project.

What NOFire reads

A paused project has no services to read. NOFire reports its status only.

Prerequisites

  • A Supabase account with access to the project.
  • The project’s Project ref.
  • Permission to create a personal access token.

Step 1: Create a Supabase access token

Create a personal access token in Supabase

  1. Open Account, Access Tokens in Supabase.
  2. Create a personal access token.
  3. Copy the token now. You cannot view it again after you leave the page.
Use a dedicated token named nofire so you can rotate or revoke it without touching other integrations. A personal access token carries your account’s access. The connection only reads the one project you name.

Find the Project ref

The 20-letter ref in your project’s URL.

Step 2: Add Supabase connection to NOFire AI

  1. Open Connections and click Connect on Supabase.
  2. Fill in the form:
    • Name: defaults to supabase (for example, production-supabase)
    • Access token: masked. Create a personal access token in Supabase under Account, Access Tokens.
    • Project ref: for example, abcdefghijklmnopqrst
  3. Click Connect.
NOFire checks the token before it saves the connection. It reads the project and its service health. An unhealthy service does not fail the check, because explaining it is NOFire’s job. A saved connection shows the toast Connection created followed by its name.

Connect the database through PostgreSQL

The Supabase connection reads health, logs, and read-only query results. For query performance, lock activity, and pg_stat_* views, also connect the project’s Postgres database with the PostgreSQL connector. The two connections are independent. You can use either or both.
  1. In Supabase, create a read-only role for NOFire. Follow Step 1 of the PostgreSQL page.
  2. Copy the database connection string or host details from your project’s database settings in Supabase.
  3. Follow Step 2 of the PostgreSQL page to add the connection from Connections, using the role from step 1.
Name the connection after the project, for example production-supabase-db, so it is easy to tell apart from the Supabase connection.

Test the connection

  1. Open Connections and make sure that the Supabase connection shows Connected. A connection that shows Failing did not authenticate.
  2. Ask NOFire a question that needs project context, for example “is my Supabase project healthy?”. An answer that names your project confirms the connection works end to end.

Troubleshooting

The form shows the toast Supabase connection test failed with one of these reasons.
The token is wrong, revoked, or expired. Create a new one under Account, Access Tokens.
The ref is not the 20-letter ref from the project’s URL, or the token’s account has no access to that project.
The account behind the token cannot read the project’s services.
A paused project fails the check. Restore it in Supabase, then connect again.