If you’re here while waiting for your development build to complete, you’re in the right place! This setup can be done in parallel and will be ready when your build finishes.
Create Supabase Project
-
Create a new project on Supabase here
- Sign up for an account if you don’t have one
- Log in to your account
-
Create a new project
- Click New Project
- Choose a name for your project
- Set a database password
- Select the region closest to your users
- Click Create Project
Project Credentials
1
Find Your API Keys
Once your project is ready (this takes about 2 minutes), you need to get your credentials:Get Project URL:
- At the bottom of the left sidebar, find Project Settings
- Click on Data API
- Copy the Project URL (looks like
https://abcdefghijklmnop.supabase.co
)
- Click on API keys (NEW) (right under Data API in the same settings menu)
- Copy the anon public key (a long string starting with
eyJhbGciOi...
)
IMPORTANT: Only copy the anon public key. DO NOT copy the service_role key - this is a secret key that should never be used in your app code for security reasons.
2
Add Credentials to Your App
- Open your .env file: In your project folder, open the
.env
file you created earlier - Replace the placeholder values with your actual Supabase credentials:
Important: Replace the entire placeholder text with your actual values. Don’t add quotes around the values.
URL Configuration
Set up the authentication URLs for your development build:- In your project dashboard, go to Authentication → URL Configuration
-
Configure these settings:
- Site URL: Your app scheme from
app.json
+://
(e.g.,travelapp://
) - Redirect URLs: Your app scheme +
://**
(e.g.,travelapp://**
)
- Site URL: Your app scheme from
If you want to quickly test the app with Expo Go before moving to development builds:
- In the left sidebar, go to Authentication → Sign In / Providers
- Toggle off Confirm email under the User Signups section