Soliddeploy

Creating a Supabase account, and what you can do with it

A database, login, file storage and an API your automations can run on, set up in half an hour. From account to working key, including the spots where things go wrong.

Written by Founder of SolidDeploy ·

Almost every automation we build needs somewhere for data to live: the leads from a form, the results of a scan, yesterday’s stock levels, the answers from an AI agent. A Google Sheet copes up to a few thousand rows, but not beyond that.

Supabase is that place. It is a standard PostgreSQL database with a dashboard around it, and everything you would normally have to build yourself already included: login, file storage, an API that grows automatically with your tables, and small pieces of server code. You don’t have to manage a server or install a database, and you’re not locked in: underneath it’s just Postgres, so you can always take it elsewhere.

Why we use it. A customer portal, a dashboard or an automation that needs to remember something: we usually build it on Supabase. Not because it’s the most popular, but because it’s up and running in an afternoon and the database remains the client’s own: one export and everything is somewhere else. That’s exactly why we also recommend it if you build it yourself.

What you can do with it

Supabase isn’t a database with a few extras; it’s six building blocks you can use separately. You don’t have to switch them all on.

Building blockWhat it isWhat we use it for
Database PostgreSQL, with a table view in the browser and an SQL window Leads, orders, stock levels, measurement series: anything you’ll want to filter or add up later
API Every table is instantly available as a REST and GraphQL endpoint, without you building anything An automation that writes or fetches a row, with no layer in between
Auth Login with email, magic link, Google or Microsoft, including password reset Customer portals: each customer sees only their own figures
Storage File storage with the same permissions as your tables Product photos, generated images, PDF reports, invoices
Edge Functions Small pieces of server code that run at an address Catching a webhook, running a calculation that does not belong in the browser
Realtime and vector Changes that come through live, and searching by meaning instead of by words A dashboard that updates itself; an AI agent that can consult your own documents

The combination is what makes it useful. A scan that stores a result, a portal where the customer sees that result, and an agent that gives advice based on that same data: that is three things on one foundation, not three separate systems.

What it costs

Getting started is free, and that is not a trial but a permanent plan. The limits on the free plan, as of August 2026:

  • 500 MB database and 1 GB file storage;
  • 5 GB data transfer per month;
  • two active projects per account;
  • no backups.

Watch out for the pause button. A free project that receives no calls at all for a week is paused automatically. Your data stays, but the project is offline until you switch it back on by hand. For trying things out that is fine; for something a customer is waiting on, it is not. If it is running for real, upgrade to the paid plan.

Are these numbers still correct? Check them on supabase.com/pricing, because prices and limits change.

Creating an account and a project

1

Create an account

supabase.com

Go to supabase.com and click Start your project. You sign up with GitHub or with an email address. If you have GitHub, choose that: you will need it later anyway once you start deploying code, and it saves you a password.

2

Create an organisation

Dashboard → New organization

An organisation is the folder that holds your projects and your billing. Give it your company name, not your own name: colleagues are invited per organisation, and you do not want to change that later.

3

Create your first project

Dashboard → New project

Three things you fill in here that you cannot easily undo:

  • Name. One project per application, not one project for your whole company. Splitting them later is no longer possible.
  • Database password. This is the password that gives you direct access to the database. Put it in your password manager straight away; Supabase will not show it to you again. Losing it is not a disaster, you can reset it, but then every connection that uses it has to be updated too.
  • Region. Choose Frankfurt (eu-central-1) if your customers are in the Netherlands. Every call goes there and back; a database in Virginia costs you tens of milliseconds per call that you never get back. And it saves you a conversation about where the data is stored.

Setup takes a minute or two. After that you are in your project's dashboard.

The keys: which ones there are and where they belong

This is the part where things go wrong, so read it carefully. Supabase gives you two kinds of keys, and the difference is not technical but practical: one may be seen by anyone, the other by no one.

4

Get your API keys

Project → Settings → API Keys

KeyRecognise it byWhere it belongs
Publishable sb_publishable_… In your website, your app, your JavaScript. It may be visible; what someone can do with it is up to you, through the permissions on your tables (see the next step).
Secret sb_secret_… Only on a server, in an Edge Function or in an automation. This key bypasses all permissions and can do anything.

Do you see anon and service_role instead, as long JWT strings? Then you are looking at the previous generation of keys. They do the same thing: anon corresponds to publishable, service_role to secret. New projects get the new kind.

The secret key never belongs in a browser. Not in your frontend, not in a JavaScript file, not in a public repository. It ignores every rule you have set: whoever has it can read, change and delete every row in your database. If it has ended up somewhere it does not belong, rotate it immediately on this same screen.

5

Turn on Row Level Security

Project → Table Editor → per table

Row Level Security (RLS) determines, row by row, who can do what. Without RLS, anyone with the publishable key can read a table, and that key sits in your website. This is not a setting you can forget. It is the setting.

The order we follow: turn RLS on when creating every table, and only then add rules for what is allowed. For example: a logged-in user may only see the rows that contain their own id. Supabase warns you in the dashboard when a table is open; take that warning seriously.

6

Create a personal access token

Account → Access Tokens

Besides a project's keys, there is a token for you personally: a personal access token. You need it as soon as you do anything outside the dashboard, for example with the Supabase CLI, the Management API or from an AI assistant that is allowed to manage your projects.

You create it at supabase.com/dashboard/account/tokens. Give it a name that will later tell you what it is for, for example cli-laptop-job.

This token is your account. It has the same rights as you: all organisations, all projects. So never in a script running on a server, and never shared with a supplier. For an automation, use a secret key of the project in question; then the damage never reaches beyond that one project.

Checking that it works

In the table view, create a table test with one text column naam, add a row, and fetch it with the publishable key. In a terminal:

curl "https://JOUW-PROJECT.supabase.co/rest/v1/test?select=*" \
  -H "apikey: sb_publishable_XXXX" \
  -H "Authorization: Bearer sb_publishable_XXXX"

If you get your row back, everything is set up. If you get an empty list even though there is a row, RLS is doing its job and you do not yet have a rule that allows reading. If you get an error about the key, your project's address is wrong: you will find it on the same screen as the keys.

Where to store your keys

LocationPublishableSecretPersonal access token
Website or appYesNeverNever
Server, Edge Function or automationAllowedYes, as an environment variableNo
Your own laptop (CLI)AllowedPreferably notYes
Git repositoryAllowedNeverNever

The rule to remember: anything that starts with sb_secret_ or is a personal token goes in an environment variable and nowhere else.

Five pitfalls

  • The paused project. One week of inactivity on the free plan and your automation stops getting a response. Schedule one call a day, or upgrade to the paid plan.
  • The forgotten RLS. A table without rules, with a key that sits in your website, is an open door. Turn it on by default, always.
  • The database password nobody has anymore. You can reset it, but every integration that uses it will then break. Store it when you create it.
  • No backups on the free plan. If anything of value runs on it, make your own export, or choose a plan that includes backups.
  • The wrong port for a direct connection. If you connect to Postgres directly from a script, use the connection pooler from the dashboard, not the direct connection. Otherwise you run out of connections as soon as more than one thing runs at the same time.

Frequently asked questions

What exactly is Supabase?

A PostgreSQL database in the cloud, with a dashboard and a number of built-in components around it: login, file storage, an automatically generated API and small pieces of server code. You get the building blocks of an application without managing a server.

Is Supabase free?

There is a free plan with a 500 MB database, 1 GB of storage and two projects, and it stays free. The main limitation is not the size but the pause: a project that sits idle for a week is switched off until you switch it back on.

What is the difference between the publishable key and the secret key?

Anyone may see the publishable key; it is meant for your website or app, and what it can do is determined by Row Level Security. The secret key bypasses those rules and belongs only on a server. In older projects they are called anon and service_role.

Where do I create a token for the CLI or an AI assistant?

Under your account, at Access Tokens, not under a project. A personal access token like this has the same rights as you, so only use it locally and never in a script running somewhere.

Can I leave Supabase later?

Yes, and that is one of the reasons we recommend it. Underneath, it runs standard PostgreSQL: you make a dump and restore it at another provider or on your own server. What you need to set up again are the components around it, such as login and storage.

Can I connect Supabase to my existing systems?

Yes. Every table is immediately available as an API, so an automation that reads from your webshop, your marketplace or your ERP can write straight to it. That is exactly what we usually use it for.

What is the first thing we should tackle?

Tell us about a process that takes too long, an agent you have in mind or an opportunity you have not got round to yet. We show you what it delivers and how it fits your business.