Skip to main content

The easiest way: just ask in chat

You can skip the manual setup below entirely. In your project chat, ask Rork:
Add a backend to my app
or, if you specifically want Supabase under your own account:
Connect my own Supabase project to this app
Rork asks you to sign in to Supabase and choose the organization, lists its projects, and asks which one to use. Each sign-in covers one Supabase organization, so a project in another organization needs one more sign-in. From a terminal, sign in with rork connect add supabase, then run rork supabase ls and rork supabase attach <ref>. If the backend runs under your own Supabase account, Supabase bills you directly for it on their pricing. If you would rather have Rork host the backend for you, see What is Rork Cloud.

Watch the Supabase connection walkthrough

Create a Supabase project, authorize Rork, and connect the app to its database.

Manual setup

First, go to Supabase and click new project

Image
Second, copy the Publishable key and the Project link
Image
Then, paste them into Rork with the prompt “Connect Supabase.”
Image
Rork will then instruct you on how to set it up
Image
If you want to implement Auth, check out our YouTube tutorial:
Or if you want to implement an api via edge function, read our guide: How to add an api to your app?