Blog

    Guide3 min read

    Supabase for the rest of the team: give access to the data without giving access to the database

    How to let finance, operations and leadership use your Supabase project's data without inviting them into Studio or asking a developer for every report. Which key to use, which tables to open and how to give columns business meaning.

    Sylex · Published

    If your product or operation runs on Supabase, the company's most valuable data lives there: customers, orders, invoices, usage. Developers see it in Supabase Studio. Everyone else doesn't. So the usual thing happens: someone in finance asks a developer for "a quick query", the developer exports a CSV, and the following week it happens again.

    This guide explains how to open the data to the rest of the team safely, without giving them access to the project.

    Why inviting everyone into Studio is a bad idea

    Supabase Studio is a tool for building and operating the database. Inviting business people has problems:

    • Too much access. Studio can edit tables, policies and settings. A mistake by someone who only wanted to look can break production.
    • SQL as a prerequisite. Answering "how much did we invoice this quarter?" means knowing which tables to join and how.
    • Nothing to share. A query in the SQL editor isn't a dashboard leadership can open every week.
    • Data without context. An amount_cents column in an invoices table doesn't say whether it's revenue, what currency it's in or what target it's measured against.

    Four steps to open the data safely

    1. Use a read-only key

    Never the service_role: that key bypasses every security policy. The two reasonable options are:

    • The anon key with RLS policies that allow reading only what's appropriate.
    • A dedicated Postgres user with read permission on the tables that will be used.

    2. Pick tables, not the whole database

    The business team doesn't need session, log or queue tables. Explicitly choose the tables that make sense for the business: invoices, orders, customers, projects. If the data is heavily normalized, a view that already joins it simplifies things a lot.

    3. Give columns business meaning

    The step most often skipped and the one that matters most. Each table needs to state, once:

    • Which column is the date that matters (the issue date, not when the row was created).
    • Which column is the amount and what currency it's in. If it's stored in cents, say so.
    • What it represents: revenue, cost, quantity.
    • How it's grouped: by customer, by project, by country.

    With that, anyone can ask "how is revenue tracking against target?" without knowing what the table is called.

    4. Combine it with other sources

    Supabase data rarely tells the whole story. The budget is usually in a spreadsheet, the pipeline in the CRM and expenses in accounting. The value shows up when you see them side by side.

    What changes for developers

    • Fewer report requests. Business questions stop going through the engineering team.
    • One key to audit. You know exactly which credential the business team uses and what it can read.
    • The project doesn't change. No new tables, triggers or endpoints.

    Common mistakes

    • Handing over the service_role "so it works". If something doesn't show up with the anon key, the problem is the policies, not the key.
    • Exposing tables with personal data nobody needs. If the analysis is per customer, the ID and the name are enough.
    • Mixing up dates. created_at is when the row was inserted, not necessarily when the sale happened.

    How Sylex handles it

    Sylex for Supabase connects to your project with the anon key and your RLS policies, or with a dedicated read-only user, and only reads. You choose the tables, give them business meaning once, and they appear in dashboards next to Google Sheets, Excel, Salesforce, HubSpot or Monday. The team asks questions in plain language, within their permissions, and shares dashboards with a link. The chosen tables are copied into your organization in Sylex; your Supabase project doesn't change.

    On the security side, the guide on asking your data questions with AI without exposing sensitive information covers the controls worth requiring.

    Frequently asked questions

    Does Sylex replace Supabase Studio?

    No. Studio is for the people who build and operate the database. Sylex is for the people who need the numbers and shouldn't have access to the project.

    Which key should I use?

    The anon key with RLS policies, or a dedicated user with read permission. Never the service_role.

    Does my team need to know SQL?

    No. Columns are assigned once, and then people ask in plain language or open the dashboards.

    Does Sylex modify my tables?

    No. It only reads the tables you choose.