Supabase Setup

Connecting your FlutterFlow app to Supabase is quick and easy. Simply add your Supabase API URL and Anon Key in the Settings & Integrations section, and your data will be ready to use in FlutterFlow. With this integration, you can authenticate users and store and retrieve data from Supabase.

Follow the steps below to setup the Supabase:

Step 1: Create a new Supabase account from here. If you already have an account, login.

Step 2: To use Supabase with your FlutterFlow project, you'll need to create a project in Supabase first. If you haven't done so already, simply click on + New Project, fill in the required information, and wait a few minutes for the process to complete.

Step 3: If you haven't already, create table(s). If you're just getting started, you can uncheck the Enable Row Level Security (RLS) option to remove any restrictions on accessing the table data.

It's important to note that while disabling Row Level Security (RLS) can be useful for testing and development purposes, it's recommended that you re-enable RLS and implement an access policy that aligns with your app's requirements before deploying your app.

Here's an example of creating an "assignments" table with a foreign key relationship from created_by column to public.users.id with on delete cascade. This ensures that if a user is deleted from the "public.users" table, any data related to that user stored in your "assignments" table will also be deleted.

To use Supabase authentication, you must create a "users" table.

Step 4: Add keys in FlutterFlow.

Now you have completed the Supabase Setup! You can continue to learn about how to add Supabase Authentication and Database.


Last Updated Date: January 3, 2024

Last updated