Supabase
Connect a Supabase project you own and use it as an app backend. Tables, sign-in, files, and functions live in that project.
The Supabase connector attaches a Supabase project you own to one MeDo app and uses it as that app's backend. Tables, sign-in, files, and functions that MeDo generates are written into this project.
Most apps do not need this. MeDo prepares a backend for you. Connect your own project when it already exists in your Supabase account, or when you want the database account and the bill in your name.
Database size, file storage, and the Supabase plan are billed by Supabase. MeDo credits still cover generation and Skills. They are not charged for this database's capacity.
The platform backend and your own project
An app has one backend. After you connect your own project, the app does not use a platform database unless you disconnect and generate again. That next generation creates a platform database, and the app cannot connect an external project after that.
An app that already has a platform backend cannot be switched to an external Supabase project. This is not supported yet. Authorizing the connector does not change that app's backend.
Before you connect
- A Supabase account. A free project is enough to start.
- A project that is running in an organization, or permission to create one in Supabase.
Connect
- Open Skills & Connectors, find Supabase, and authorize an organization. On the Supabase consent screen, choose the organization. A space can authorize more than one.
- Attach a project to an app from either place:
- A new app. In the home prompt, open +, then Database. Open an authorized organization and pick a project.
- An existing app with no backend. Use External Supabase at the top right of the editor. Choose the organization, then the project.
- Open Supabase in the Backend view. It shows the project name and links into the Supabase dashboard. You can then ask MeDo to generate against this project.


The connector page manages organizations only. You pick the project on the app.
If you do not have a project yet, create one in Supabase from the project list, then come back and select it. MeDo does not create a project in your organization.
Once an organization is authorized for a space, members of that space can pick its projects. The authorization step says that projects in the organization are available to members of this space.

After it is connected
Describe the data to store, who can sign in, and which files to upload. MeDo creates the tables, access rules, sign-in, and functions in this project.
Supabase in the Backend view opens:
- Table editor
- SQL editor
- Users and sign-in
- Edge functions
- File storage
- Project settings

Overview stays. Disable, keep-alive, environment switching, backups, and plans do not apply there. Those settings are only for a platform database.

When authorization is lost
An organization marked Needs reauthorization means MeDo can no longer change this project or view its data. Published pages still use the project they were published with.
Authorizing the same organization again restores the app's connection. You do not pick the project again. If the app moved to another space, authorize the organization in the current space, then choose Reconnect on the Backend view.
Removing one organization removes this space's access to it. Other authorized organizations stay. The project and its data in Supabase are not deleted.
Disconnect
Disconnect affects only the current app.
- MeDo no longer uses this project for generation, the Backend view, or publish.
- The project and its data stay in Supabase. Nothing there is deleted.
- The address in the app's code is not rewritten. Published pages still use this project.
- The next time you generate, MeDo creates a platform database for this app. After that, the app cannot connect an external Supabase project.
- Before that platform database is created, you can connect the same project again.

Limits
Troubleshooting
The connector shows Connected, but an existing app still uses the platform backend. Authorizing an organization does not replace a platform backend. Switching an app that already has a platform backend to an external project is not supported yet.
A project cannot be selected. Another app is already using it, or it is not running. Pick a different project, or wait until it is running in Supabase and try again.
An organization says it needs reauthorization. Open the connector and authorize that organization again. Do not pick a project under it until it is authorized.
The Backend view says authorization is lost after a move to a new space. Authorize the same organization in the current space, then choose Reconnect.
Published pages still read and write the old project after you disconnect. That is expected. The published app keeps its address. Generate again when you want the app to use a new platform database.