Skip to content

Build your first phone app

Turn your plan into a phone app for iPhone and Android. Your AI tool builds it with Expo, a free toolkit. Then you save the code on GitHub and send a test version to the stores.

Before you start

The first two are required. They set up your AI tool and write PLAN.md, which the steps read. The other three are short, optional reads.

  1. Set up your AI tool
  2. Plan your idea
  3. Working with an AI agent
  4. Saving your code
  5. How the pieces fit

You’ll need

  • A Mac, Windows or Linux computer, and an iPhone or Android phone.
  • GitHub account. The free plan includes private repositories.
  • Expo account. The free plan includes up to 15 Android and 15 iOS cloud builds a month.
  • Apple Developer Program account. It costs $99 a year, and only TestFlight and the App Store need it.
  • Google Play Console account. It costs $25 once, and only Google Play needs it.

Your part

  • Install Expo Go on your phone and scan the code to open your app.
  • Try every change on your own phone.
  • Create your GitHub, Expo and store accounts, and sign in to them yourself.
  • Pay any store fees, and send your app for public release yourself.

Copy the prompt for the whole guide

Paste it into your AI tool. It works through every step below with you, and tells you when it needs you.

All 18 steps, in one prompt
I’m following the BuildLadder guide “Build your first phone app”.
What the guide says I’ll end up with: An app built from your plan and tested by real people. Its code is saved on GitHub, and testers can install it through TestFlight or Google Play internal testing. A public store release is a separate step.
This comes from https://buildladder.com/guides/mobile-app-expo. If you can open web pages, read https://buildladder.com/guides/mobile-app-expo.md for the current version. BuildLadder guide, tool, concept, answer and setup pages all work this way: add .md to the address.

How to work with me:
- Go through the steps below in order, one at a time.
- Do what you can yourself in this folder: write code, run commands, check settings. If a service has an official command-line tool, like the Vercel CLI, you can offer to use it. Ask me before you install anything, sign in to anything or spend money.
- When a step needs me, like making an account or clicking in a dashboard, tell me exactly what to do in small steps. Then wait until I say it’s done.
- The actions, checks and fixes in each step were written for me, the reader. Where one says “your AI tool”, that means you, and “Say:” means something I would say to you.
- Never ask me to paste passwords or secret keys into this chat. I type those into the service’s own settings.
- After each step, tell me how to check it worked. Once Git is set up, save a version each time a step works. Then ask if I’m ready for the next one.
- Use plain words. I may never have coded before.
- Some steps are a choice between tools. Ask me which one I want, then open that tool’s steps page and work through its steps with me, the same way as here. Number them as the guide’s page does: 4.1, 4.2 and so on for step 4. If you can’t open web pages, ask me to copy the prompt from that page and paste it in. Then carry on with the next step.

## Step 1 of 18: Set up the app

Read PLAN.md in this folder. It has my plan for a phone app.

Set up a new Expo app for it in this folder. If there are already files here, keep them and ask before replacing anything. Check the official Expo docs for the current way to create a project.

Create only the starting app. Then tell me, step by step:
- what you made, and what the main files are for
- anything I need to install or sign in to myself
- how to start the app so I can open it on my phone

Don’t build the features yet.

It worked when: Your AI tool has made a new Expo app in your folder and told you the command that starts it.

If something goes wrong:
- It says Node.js is missing. Expo needs Node.js. Ask your AI tool: “How do I install Node.js on my computer?” Follow its steps, then try again.

## Step 2 of 18: Open it on your phone

This step is mine to do. Walk me through it, one action at a time:
- On your phone, install Expo Go from the App Store or Google Play.
- Connect your phone and your computer to the same Wi-Fi.
- On iPhone, sign in to Expo Go with your Expo account.
- On iPhone, also ask your AI tool to sign you in to Expo on your computer, with the same account. You type the password yourself.
- Ask your AI tool to start the app. A square QR code appears.
- Scan the QR code with your phone. Your app opens in Expo Go.

It worked when: Your starter app is open on your phone.

Before we move on, check with me:
- When your AI tool changes a word on the screen, does your phone update?

If something goes wrong:
- Your phone won’t connect after scanning. Ask your AI tool: “Start the app in tunnel mode so my phone can connect.”
- Expo Go says the project needs a different version. Update Expo Go from the app store. If it still fails, copy the message into your AI tool’s chat.

## Step 3 of 18: Save a working version

My app works right now. I want to save this version, so I can go back to it if something breaks later.

Set up Git in this folder if it isn’t set up yet, with main as the branch name. Make sure .env and any other files with keys are listed in .gitignore, so they’re never saved. Then save a version (a commit) with a short message like “First working version”.

Explain in plain words what you did, and how I can go back to this version later. Don’t upload anything online yet.

It worked when: Your AI tool lists your saved version when you ask: “Show me my saved versions.”

If something goes wrong:
- It asks for a name and email for Git. Give your name, and the email on your GitHub account or the one you’ll sign up to GitHub with. If the email doesn’t match, GitHub doesn’t count your saved versions, and neither does the Leaderboard.

## Step 4 of 18: Undo a change on purpose

I want to practice undoing a change, so I know it works before I need it.

1. Change one word I can see on the first screen of my app.
2. Show me where to see the change. Then take my app back to the version I saved last.
3. Tell me how to check the old word is back.

Then explain in plain words what going back to a saved version brings back, and what it leaves alone. For example, it doesn’t change data or settings I keep in an online service.

It worked when: You see the new word, and then the old word comes back.

Before we move on, check with me:
- Can you name one thing that going back doesn’t undo?

If something goes wrong:
- It seems to have lost newer work. Ask: “Show me all my saved versions.” Newer saved versions are usually still there. Ask it to bring back the newest one.

## Step 5 of 18: Build the first screen

Read PLAN.md, especially “First screen”.

Build that screen as the first screen of my Expo app. Use the real words from the plan. Clearly mark anything that’s still a placeholder.

Make it:
- easy to read, with text that isn’t too small
- easy to tap, with buttons big enough for a thumb
- work with the phone’s screen reader, with labels on buttons and images

Keep it to this one screen. When you’re done, tell me what to look at on my phone and what to try.

It worked when: The first screen on your phone says what you planned.

Before we move on, check with me:
- Can you tap every button easily with your thumb?

If something goes wrong:
- You don’t like how it looks. Describe it in your own words, like “make the buttons rounder and the text bigger”. Change one thing at a time.

## Step 6 of 18: Add screens and a way between them

Read PLAN.md, especially “User journey”.

Add the other screens my first version needs, and a simple way to move between them. Suggest whether tabs, a list that opens into details, or something else fits my app, and why. Check the current Expo docs for how to set this up.

Keep the screens simple, and keep everything that already works. When you’re done, tell me how to reach each screen on my phone.

It worked when: You can follow the user journey in PLAN.md on your phone, from start to finish.

Before we move on, check with me:
- Can you always get back to where you started?

## Step 7 of 18: Add the next piece

Read PLAN.md and look at my app as it is now.

Ask me which one thing I want to add or change next, and wait for my answer.

Before you change anything, tell me:
- what you’ll change
- how it should work, including when something goes wrong

Keep everything that already works. Make only this one change. When you’re done, give me a short list of things to try on my phone, and what I should see for each one. If something doesn’t match, fix it before we add anything else.

It worked when: Everything on your AI tool’s list of things to try works on your phone.

If something goes wrong:
- Something that used to work is now broken. Say: “This used to work and now it doesn’t. Here’s what I see: … Please fix it without changing anything else.” Or go back to your last saved version.
- The app shows a red error screen. Copy the error message into the chat and ask: “What does this mean, and how do I fix it?”

## Step 8 of 18: Make it remember things

Read PLAN.md and look at my app.

My app should remember information after it’s closed. Tell me what needs to be saved. Then suggest a simple way to save it on the phone. Check the current Expo docs for the options.

If my plan needs accounts, or information shared between people or phones, don’t set that up here. Tell me why. “Choose how people sign in” and “Choose a database” cover those.

After I agree, make the change and tell me how to test it, including closing and reopening the app.

It worked when: Your app keeps its information after you close it completely and open it again.

## Step 9 of 18: Choose how people sign in

Pick a service if people need an account in your app. Skip this if they don’t. Do the Phone app only steps too. Leave any step that needs your own domain until “Get sign-in ready for real people”.

This choice is optional. Ask me whether I need it, and skip it if I don’t.

Ask me which of these I want:
- Supabase: Pick Supabase if your product also saves data in tables, or you already use Supabase for your database. Steps (the “Add sign-in with Supabase” part): https://buildladder.com/tools/supabase.md
- Firebase: Pick Firebase if you already use Google’s Firebase tools, or want Google sign-in with no separate Google Cloud setup. Steps (the “Add sign-in with Firebase” part): https://buildladder.com/tools/firebase.md
- Clerk: Pick Clerk if you want ready-made sign-in screens fast, or your data lives somewhere else. Steps: https://buildladder.com/tools/clerk.md

## Step 10 of 18: Choose a database

Pick one if people or phones share information. Skip it if saving on the phone is enough. Use the one you signed in with. Clerk’s Firebase connection can’t be turned on for new apps. With Clerk, use Supabase, then do “Connect Clerk to Supabase”.

This choice is optional. Ask me whether I need it, and skip it if I don’t.

Ask me which of these I want:
- Supabase: Pick Supabase if your data fits in tables, like customers and their orders, or you already use Supabase for sign-in. Steps (the “Save data with Supabase” part): https://buildladder.com/tools/supabase.md
- Firebase: Pick Firebase if your data is a loose mix of records, or you already use Google’s Firebase tools. Steps (the “Save data with Firebase” part): https://buildladder.com/tools/firebase.md

## Step 11 of 18: Test it with real people

This step is mine to do. Walk me through it, one action at a time:
- Follow the user journey in PLAN.md on your own phone, from start to finish.
- If you can, try it on an iPhone and on an Android phone. They can behave differently.
- Turn on the phone’s screen reader (VoiceOver on iPhone, TalkBack on Android) and try the main screen.
- Hand your phone to a friend. Ask them to do the main thing without help. Watch, and don’t explain.
- Write down where they got stuck or confused.

It worked when: You have a short list of real problems, in your own words.

Before we move on, check with me:
- Did someone other than you use the app?

## Step 12 of 18: Get an honest review

Read PLAN.md and look at my whole app. First ask me what I noticed when people tested it.

Then review it against the plan. Check:
- the main user journey
- how easy it is to read and tap
- how it works with a screen reader
- what happens when something goes wrong or there’s no internet

List the problems from most to least important. For each one, tell me how to see it and the smallest fix. Say clearly what you checked and what you couldn’t check.

Then fix only the first problem, and tell me how to check it’s fixed on my phone. Don’t change anything else.

It worked when: You have a list of problems in order of importance, and the top one is fixed.

Before we move on, check with me:
- Does the rest of your app still work?

## Step 13 of 18: Choose where to save your code

Your saved versions live only on your computer so far. Put them online in a private GitHub or GitLab repository. Your store builds start from that copy. The Leaderboard counts GitHub activity, so joining it needs a GitHub account too.

Ask me which of these I want:
- GitHub: Pick GitHub if you want to follow most guides and examples as written, or work with people who already use it. Steps: https://buildladder.com/tools/github.md
- GitLab: Pick GitLab if your team, school or company already uses it, so your code lives where theirs does. Steps: https://buildladder.com/tools/gitlab.md

## Step 14 of 18: Prepare for the app stores

Read PLAN.md. I may release my app on the App Store and Google Play.

Check the official Apple and Google pages, not your memory.
Add a release checklist to PLAN.md.
In it, list what each store account costs, the files and text each store listing needs, and the steps only I can do.
Explain how uploading a build, the store’s review and the public release are separate steps.
Ask me before you spend money or create an account.

It worked when: PLAN.md has a release checklist with every account, file and step you need.

If something goes wrong:
- Google Play won’t let you release your app to everyone yet. New personal Google Play accounts must first run a closed test with at least 12 testers for 14 days in a row. Start finding testers early.

## Step 15 of 18: Get sign-in ready for real people

This step is optional. Ask me whether I want it, and skip it if I don’t.

This step is mine to do. Walk me through it, one action at a time:
- Supabase and Clerk need a domain of your own for this. If you don’t have one yet, buy one from a domain seller such as GoDaddy, Namecheap or Cloudflare Registrar.
- Open “Choose how people sign in” again and open the service you picked.
- If you picked Supabase, do “Send real emails with your own email service”. Until then, Supabase only emails people on your Supabase team.
- If you picked Clerk, do “Make your own Google keys for launch”. Until then, Google sign-in only works for testing.

It worked when: Anyone can sign up with your sign-in service, not only you and your team.

## Step 16 of 18: Send a test version to the stores

Read PLAN.md and the release checklist in it. I want to send a test version of my app to the App Store and Google Play.

Before you build:
1. Save a version and push it to my online repository. Tell me which version you’ll build from.
2. Check the official Expo docs for EAS Build and EAS Submit. Don’t rely on memory.

Then walk me through it one step at a time:
- installing EAS CLI and signing in to my Expo account. I’ll type my password myself.
- setting my app’s bundle identifier for iPhone and package name for Android
- making a production build for iPhone, Android or both
- for Google Play: creating the app in Google Play Console, and adding a Google Service Account key to Expo, before the first upload
- sending each build with EAS Submit: to App Store Connect, where it shows in TestFlight, and to Google Play’s internal testing track

Ask me before every command that signs in, creates something in a store, or costs money. Don’t submit anything for public release. I do that myself.

It worked when: A test version of your app is in TestFlight or Google Play’s internal testing, built from the code in your repository.

Before we move on, check with me:
- Does the test version open when you install it on your phone through TestFlight or Google Play?
- If your app has sign-in, can you sign up in the test version as a new person?

If something goes wrong:
- The iPhone build doesn’t show in TestFlight yet. Apple processes each upload first. Expo says this usually takes 10 to 15 minutes.
- The Google Play upload fails because it can’t find your app or a key. Create the app in Google Play Console first, then add the Google Service Account key to Expo.
- You want builds to start from GitHub. After one build from your computer works, ask your AI tool to follow Expo’s guide to building from GitHub.

## Step 17 of 18: Improve it with real feedback

Read PLAN.md. People have started using my app.

Help me make sense of what happened. Ask me what people tried, what confused them, and what didn’t work. Keep what they actually said separate from my guesses.

Then suggest a short list of improvements, most useful first, and help me pick one. Tell me if the change needs a new store release or can be sent as an update. Add my pick to PLAN.md under “Next”.

It worked when: PLAN.md names one next improvement under “Next”.

Before we move on, check with me:
- Is your next improvement based on something a real person did or said?

## Step 18 of 18: Join the Leaderboard

This step is optional. Ask me whether I want it, and skip it if I don’t.

This step is mine to do. Walk me through it, one action at a time:
- Open buildladder.com/profile in your browser.
- If it asks you to sign in, select Continue with GitHub. That signs you in and connects GitHub in one go.
- If you’re already signed in with email or Google, select Connect GitHub.
- On GitHub, check what BuildLadder asks to see, then select Authorize.
- If BuildLadder asks about the Newsletter, choose what you want, then select Save and continue.
- Your repository is private, so let GitHub count it. On GitHub, select your profile picture, then Your profile.
- Above the contribution calendar, select Contribution settings. Turn on Private contributions if it’s off. Others then see how many contributions you made each day, never the details.
- Open the Leaderboard on BuildLadder and find your name. New activity can take a while to appear.

It worked when: You can find your name on the Leaderboard.

Before we move on, check with me:
- Does your profile show your GitHub name and picture?

If something goes wrong:
- Your saved versions don’t show on GitHub’s contribution calendar. GitHub counts a version only when Git uses an email on your GitHub account. Ask your AI tool: “Which email does Git use here, and is it on my GitHub account?”
- It says that GitHub account already belongs to another BuildLadder account. You signed in with GitHub before. Sign out, then select Continue with GitHub to use that account.

The steps

  • Steps marked AI tool are done by your AI tool when you paste the prompt. The rest are yours.
  • Save a version after every step that works.
  • If a screen looks different from a step, ask your AI tool where the setting moved.
  • Never paste a password or secret key into the chat.

Tick Done when a main step works, including after you finish your chosen tool’s instructions. Optional steps can wait and don’t count toward your progress.

  1. A starter app on your phone

    Set up the app

    AI tool

    Your AI tool creates a new Expo app in your product’s folder. Expo lets one set of code run on both iPhone and Android.

    It worked when: Your AI tool has made a new Expo app in your folder and told you the command that starts it.

    It says Node.js is missing.

    Expo needs Node.js. Ask your AI tool: “How do I install Node.js on my computer?” Follow its steps, then try again.

  2. Open it on your phone

    You

    See your app running on your own phone. You’ll use Expo Go, a free app that opens your app while you build it.

    1. On your phone, install Expo Go from the App Store or Google Play.
    2. Connect your phone and your computer to the same Wi-Fi.
    3. On iPhone, sign in to Expo Go with your Expo account.
    4. On iPhone, also ask your AI tool to sign you in to Expo on your computer, with the same account. You type the password yourself.
    5. Ask your AI tool to start the app. A square QR code appears.
    6. Scan the QR code with your phone. Your app opens in Expo Go.

    It worked when: Your starter app is open on your phone.

    Check this step
    • When your AI tool changes a word on the screen, does your phone update?
    Your phone won’t connect after scanning.

    Ask your AI tool: “Start the app in tunnel mode so my phone can connect.”

    Expo Go says the project needs a different version.

    Update Expo Go from the app store. If it still fails, copy the message into your AI tool’s chat.

  3. Save a working version

    AI tool

    Your AI tool saves a version of your app while it works. A saved version is a copy you can go back to if a later change breaks something. Git, the tool that saves it, calls it a commit.

    It worked when: Your AI tool lists your saved version when you ask: “Show me my saved versions.”

    It asks for a name and email for Git.

    Give your name, and the email on your GitHub account or the one you’ll sign up to GitHub with. If the email doesn’t match, GitHub doesn’t count your saved versions, and neither does the Leaderboard.

  4. Undo a change on purpose

    AI tool

    Practice going back before you need to. Your AI tool changes one word, then takes your app back to your saved version.

    It worked when: You see the new word, and then the old word comes back.

    Check this step
    • Can you name one thing that going back doesn’t undo?
    It seems to have lost newer work.

    Ask: “Show me all my saved versions.” Newer saved versions are usually still there. Ask it to bring back the newest one.

  5. Your planned screens, working

    Build the first screen

    AI tool

    Your AI tool builds the first screen from your plan. You look at it on your phone and ask for changes in plain words.

    It worked when: The first screen on your phone says what you planned.

    Check this step
    • Can you tap every button easily with your thumb?
    You don’t like how it looks.

    Describe it in your own words, like “make the buttons rounder and the text bigger”. Change one thing at a time.

  6. Add screens and a way between them

    AI tool

    Most apps need a few screens and a way to move between them, like tabs along the bottom or a back button.

    It worked when: You can follow the user journey in PLAN.md on your phone, from start to finish.

    Check this step
    • Can you always get back to where you started?
  7. Add the next piece

    AI tool

    Build the rest one small piece at a time. Come back to this step for each must-have in PLAN.md.

    It worked when: Everything on your AI tool’s list of things to try works on your phone.

    Something that used to work is now broken.

    Say: “This used to work and now it doesn’t. Here’s what I see: … Please fix it without changing anything else.” Or go back to your last saved version.

    The app shows a red error screen.

    Copy the error message into the chat and ask: “What does this mean, and how do I fix it?”

  8. Information that stays, with accounts if you need them

    Make it remember things

    AI tool

    Right now your app may forget everything when you close it. This step saves information on the phone, so it’s still there next time.

    It worked when: Your app keeps its information after you close it completely and open it again.

  9. Choose how people sign in

    Choose oneOptional

    Pick a service if people need an account in your app. Skip this if they don’t. Do the Phone app only steps too. Leave any step that needs your own domain until “Get sign-in ready for real people”.

    Compare them: Supabase, Firebase or Clerk: which sign-in fits my product?

    SupabasePick Supabase if your product also saves data in tables, or you already use Supabase for your database.8 steps
    1. Supabase, ready for sign-in

      Create or open your Supabase project

      You

      A Supabase project holds your database and your user accounts. Use one project for both, so your accounts and data stay together.

      1. If you already made a Supabase project for this product, for its database or its sign-in, open it at supabase.com/dashboard and skip the rest of this list.
      2. Otherwise, open supabase.com/dashboard and sign in or create an account. Choose the option that creates a new project.
      3. In the form, choose the organization that will hold it, and enter a name, such as your product’s name.
      4. Set a strong database password and save it in your password manager.
      5. If it asks for a region, pick the one closest to the people who will use your product.
      6. If the form offers access through Supabase’s Data API, keep it on.
      7. Create the project, then wait until its dashboard is ready.

      It worked when: You can see your Supabase project’s dashboard, the page where you manage it.

      Check this step
      • Is your database password saved somewhere safe?
      It says you’ve reached the limit of free projects.

      The free plan allows 2 active projects. Pause one you don’t use, or use a project you already have.

      Your project is paused.

      Open it in the dashboard and unpause it.

    2. Check email sign-in and web addresses

      You

      Email sign-in is on by default in Supabase. You check it, and tell Supabase which web addresses people may return to after they sign in.

      1. In Supabase, open Authentication, then Sign In / Providers, and select Email.
      2. Check that Email is on. Keep email confirmation on, so people must confirm their address.
      3. Open Authentication, then URL Configuration. Set Site URL to the address your product opens at on your computer, like http://localhost:3000.
      4. Under Redirect URLs, add that address followed by /**, like http://localhost:3000/**. This lets Supabase send people to any page in your product.

      It worked when: Email shows as on under Sign In / Providers, and your product’s address is saved in URL Configuration.

      You don’t know your product’s address.

      Ask your AI tool: “What address does my app open at on my computer?”

    3. Working sign-in pages

      Add sign-up and sign-in pages

      AI tool

      Your AI tool connects your product to Supabase and builds the pages for signing up, signing in and signing out. You paste the keys in yourself.

      It worked when: Your product has sign-up and sign-in pages, and your .env file holds the two Supabase values.

      Check this step
      • Does the sign-up page show the form and the Google button?
      • Does your AI tool confirm that Git ignores .env?
      It says the API key is invalid, or it can’t reach Supabase.

      Copy the values again from the Connect button in your Supabase project. Check for extra spaces, then restart your product.

      You can’t find a publishable key.

      Open Settings, then API Keys, in your Supabase project. The publishable key starts with sb_publishable_.

    4. Turn on Google sign-in

      You

      Google needs to know your product before the Google button works. You make a client ID and a client secret in Google Cloud, then paste them into Supabase.

      1. In Supabase, open Authentication, then Sign In / Providers, and select Google. Copy the Callback URL shown there.
      2. In a new tab, open console.cloud.google.com. Create a project for your product, or pick one you already have.
      3. Open Google’s authentication setup for that Cloud project. If it asks, enter your product’s name and a contact email.
      4. In the OAuth client list, start creating a client. Choose Web application. A phone app needs this Web client too.
      5. Under Authorized JavaScript origins, add your product’s address, like http://localhost:3000.
      6. Under Authorized redirect URIs, paste Supabase’s Callback URL exactly. Then click Create.
      7. When Google shows the client ID and client secret, copy them into your password manager.
      8. Back in Supabase’s Google settings, turn Google on, enter the client ID and secret, and save.
      9. When you put your product online, add its live address under Authorized JavaScript origins, remove the localhost address, and switch your Google app to In production.

      It worked when: Google shows as on under Sign In / Providers, and the Google button in your product opens Google’s sign-in screen.

      Google shows a redirect_uri_mismatch error.

      The redirect URI in Google must match Supabase’s Callback URL exactly. Copy it again, with no extra spaces or slashes. Google says changes can take 5 minutes to a few hours.

      Some people can’t sign in with Google.

      Google’s Testing status limits access to listed test accounts unless the app only asks for name, email and profile. Other test authorizations expire after seven days. In Google’s authentication setup, check the audience and publishing status before you put your product online.

      Google’s screen shows an address ending in supabase.co.

      That’s normal at first. A custom domain for your Supabase project, or brand verification under Branding in Google, shows your own name instead.

    5. Phone app only: make sign-in links open your app

      You

      A phone app needs its own link that opens the app after sign-in or email confirmation. A web address alone may send people to a browser instead.

      1. Ask your AI tool: “What URL scheme does my app have in app.json? If there isn’t one, add one, like myapp.”
      2. In Authentication, then URL Configuration, add your app’s scheme followed by ://** to Redirect URLs, such as myapp://**. Save the change.
      3. Ask your AI tool to make a development build, so you can test these links on your phone.
      4. Keep email confirmation on. If a link doesn’t open the app, confirm your email in the browser, then open the app and sign in.
      5. For native Google sign-in, create an OAuth client in Google Cloud for each phone platform you support. Your AI tool can find the identifiers those forms need.
      6. In Supabase’s Google settings, add the client IDs separated by commas: the Web ID first, then one for each phone platform. Save the change.
      7. Tell your AI tool: “This is an Expo app. Follow Supabase’s current Expo docs for deep links and for native Google sign-in. Save the session on the phone the way those docs do.”

      It worked when: Redirect URLs lists your app’s scheme, like myapp://**, and Supabase’s Google settings list a client ID for the Web and for each phone platform.

      Google sign-in does nothing in Expo Go.

      Native Google sign-in needs a development build. Expo’s guide says the Google sign-in library can’t run in Expo Go.

      You don’t know your SHA-1 fingerprint.

      Ask your AI tool: “Show me the SHA-1 fingerprint for my Android build, for testing and for the Play Store.” Supabase says to add both to Google.

    6. Tested and ready for real people

      Make a page for signed-in people only

      AI tool

      Pick one page that only signed-in people should see, like a dashboard. Visitors who aren’t signed in get sent to the sign-in page instead.

      It worked when: The page opens when you’re signed in, and sends you to sign in when you’re not.

      The page opens even when you’re signed out.

      Say: “I’m signed out and the protected page still opens. Please find out why and fix it.”

    7. Test sign-up, sign-out and Google

      You

      Use your product the way a new person would. Try every way in and out, and check that Supabase saved the accounts.

      1. Sign up with the email you use for Supabase. Supabase’s built-in email only sends to your Supabase team, and only 2 emails an hour.
      2. Open the confirmation email and click the link. You should land back in your product.
      3. Sign out. Then open your page for signed-in people. It should send you to sign in.
      4. Sign in with your email and password. That page should open.
      5. Sign out again. Click Continue with Google and pick your Google account.
      6. In Supabase, open Authentication, then Users. Check that your test sign-ups are listed.
      7. When you put your product online, add its live address in URL Configuration.

      It worked when: Email sign-up, sign-out, sign-in and Google sign-in all work, and your test accounts appear in Supabase.

      The confirmation email never arrives.

      Check your spam folder. If it isn’t there, wait an hour and try again.

      It says “Email address not authorized”.

      That address isn’t on your Supabase team. Test with your own address, or do “Send real emails with your own email service”.

      The email link opens a page that doesn’t load.

      Check Supabase’s Site URL and allowed redirect addresses against the address your product actually opens at. If you changed ports or domains, update those settings.

    8. Send real emails with your own email service

      You

      Supabase says its built-in email isn’t for real use. Before real people sign up, you connect your own email service through custom SMTP. The Email concept compares the services.

      1. Pick an email service, like Resend, Amazon SES or SendGrid, and verify your domain there. Its Tool page has the steps.
      2. In that service, find its SMTP details: host, port, username and password.
      3. For Resend, the host is smtp.resend.com, the port is 465, the username is resend, and the password is a Resend API key.
      4. In Supabase’s authentication settings, open SMTP Settings and turn on custom SMTP.
      5. For the sender, enter an address on your verified domain that people can reply to, like hello@yourname.com, and your product’s name.
      6. Enter the host, port, username and password from your email service, then save.
      7. Supabase then allows 30 emails an hour at first. To send more, raise it under Authentication, then Rate Limits.
      8. Sign up with an address that isn’t on your Supabase team.

      It worked when: An address outside your Supabase team gets the confirmation email, sent from your domain with your sender name.

      It still says “Email address not authorized”.

      Custom SMTP isn’t saved yet. Open SMTP Settings again, check every field, and click Save.

      The emails land in spam.

      Finish verifying your domain in your email service. It gives you DNS records to add where you bought the domain.

      Sending fails after you saved.

      Check the host, port, username and password against your email service’s SMTP page. Make a new password or API key there if you’re not sure.

    FirebasePick Firebase if you already use Google’s Firebase tools, or want Google sign-in with no separate Google Cloud setup.7 steps
    1. Firebase, ready for sign-in

      Create or open your Firebase project

      You

      A Firebase project holds your user accounts. Use the same project as your database, so your accounts and data stay together.

      1. If you already have a Firebase project for this product, open it at console.firebase.google.com and skip the rest of this list.
      2. Otherwise, go to console.firebase.google.com and sign in with your Google account.
      3. Choose the option that creates a project. Name it after your product and finish the form.
      4. On the project overview, start adding a web app. An Expo app uses this web setup too, and it works in Expo Go.
      5. Enter a nickname for the web app and finish registering it.

      It worked when: Your web app is listed under Project settings in your Firebase project.

      You don’t see the Web choice.

      If the project already has an app, click Add app first. The choices appear after that.

    2. Turn on email sign-in and check web addresses

      You

      You choose how people sign in, and which web addresses may use sign-in.

      1. Open Firebase Authentication from the console menu. If it shows a button to get started, click it.
      2. Open Sign-in method. Turn on Email/Password, then save.
      3. Open the Settings tab, then Authorized domains.
      4. If localhost isn’t in Authorized domains, add it, so sign-in works while your product runs on your computer.
      5. When you put your product online, add its live address to Authorized domains and remove localhost.

      It worked when: Email/Password shows as on under Sign-in method, and Authorized domains lists localhost.

      You can’t find Authentication.

      Look under Security in the left menu. Older screens may list it under Build.

    3. Working sign-in pages

      Add sign-up and sign-in pages

      AI tool

      Your AI tool connects your product to Firebase and builds the pages for signing up, signing in and signing out. You paste the config values in yourself.

      It worked when: Your product has sign-up and sign-in pages, and your .env file holds your Firebase config values.

      Check this step
      • Does the sign-up page show the form and the Google button?
      • Does your AI tool confirm that Git ignores .env?
      The AI tool says the Firebase API key must be secret.

      Google says Firebase API keys are safe to include in app code. Your rules protect the data. Admin keys, like service account keys, must stay secret.

      It says auth/unauthorized-domain.

      Your product’s address isn’t in Authorized domains. Add it on the Settings tab under Authentication, then try again.

    4. Turn on Google sign-in

      You

      On a website, Google sign-in only needs turning on in Firebase Authentication. A phone app needs this too.

      1. In Firebase Authentication, open Sign-in method.
      2. Find Google in the list of providers and turn it on.
      3. If it asks for a support email, pick your own address.
      4. Click Save.
      5. Open your product and click the Google button. Pick your Google account.

      It worked when: You can sign in to your product with Google and land back in it, signed in.

      Google sign-in fails in Safari or Firefox after the redirect.

      Those browsers block the storage that Firebase’s redirect uses. Say: “Follow Firebase’s redirect best practices and fix Google sign-in for my setup.”

      The popup closes and nothing happens.

      Your browser may have blocked it. Allow popups for your product’s address, or ask your AI tool to use a redirect instead.

    5. Phone app only: keep people signed in and add Google

      You

      Email and password sign-in works in Expo Go with the web app you registered. Keeping people signed in and Google sign-in need a little more on a phone.

      1. Tell your AI tool: “This is an Expo app using the Firebase JS SDK. Keep people signed in after the app closes, following Expo’s Firebase guide.”
      2. Google sign-in on a phone needs a development build, because the Google sign-in library can’t run in Expo Go. Ask your AI tool to make one with Expo’s guide.
      3. In Firebase’s Project settings, register each phone platform you support. Ask your AI tool for the identifiers that platform’s form needs.
      4. Download the configuration file for each platform you added: google-services.json for Android, GoogleService-Info.plist for iOS. Put it in your product’s folder.
      5. Tell your AI tool: “Add Google sign-in with a development build, following Expo’s Google authentication guide and Firebase’s current docs. Use the configuration files I added.”

      It worked when: People stay signed in after closing the app, and Google sign-in works in a development build.

      Check this step
      • Does Project settings list each phone platform you added under Your apps?
      Google sign-in does nothing in Expo Go.

      That’s expected. Ask your AI tool to make a development build and test Google there.

      You don’t know your SHA-1 fingerprint.

      Ask your AI tool: “Show me the SHA-1 fingerprint for my Android build, for testing and for the Play Store.”

    6. A private page, tested

      Make a page for signed-in people only

      AI tool

      Pick one page that only signed-in people should see, like a dashboard. Visitors who aren’t signed in get sent to the sign-in page instead.

      It worked when: The page opens when you’re signed in, and sends you to sign in when you’re not.

      The page opens even when you’re signed out.

      Say: “I’m signed out and the protected page still opens. Please find out why and fix it.”

    7. Test sign-up, sign-out and Google

      You

      Use your product the way a new person would. Try every way in and out, and check that Firebase saved the accounts.

      1. Sign up with your own email and a password.
      2. Sign out. Then open your page for signed-in people. It should send you to sign in.
      3. Sign in with your email and password. That page should open.
      4. Sign out again. Click Continue with Google and pick your Google account.
      5. Open Users in Firebase Authentication. Check that your test sign-ups are listed.

      It worked when: Email sign-up, sign-out, sign-in and Google sign-in all work, and your test accounts appear in Firebase.

      Sign-up gets blocked after a few tries.

      Firebase allows 100 new accounts an hour from one internet connection. Wait a while, then try again.

      Password reset emails stop arriving.

      The free Spark plan sends 150 password reset emails a day. Check your spam folder, or wait until tomorrow.

    ClerkPick Clerk if you want ready-made sign-in screens fast, or your data lives somewhere else.9 steps
    1. Clerk, ready for sign-in

      Create a Clerk application

      You

      A Clerk application is where your user accounts live. You create it in Clerk’s dashboard and choose how people sign in.

      1. Go to dashboard.clerk.com and create a free account.
      2. On the dashboard home, start creating an application and enter your product’s name.
      3. In the sign-in options, turn on email and Google if they’re offered.
      4. Finish creating the application. Keep its Development instance selected while you build and test.

      It worked when: Your new Clerk application shows a Development banner in the dashboard.

      You can’t find the sign-in options.

      Open User & authentication in the left menu. You can turn options on there at any time.

    2. Turn on email sign-in

      You

      Clerk can sign people in with a code or a link sent to their email. You choose how email sign-in works.

      1. In the Clerk dashboard, open User & authentication.
      2. Under email, turn on signing up and signing in with an email address.
      3. Choose verification by an emailed code. You can type the code in while testing.
      4. If you also want passwords, turn on the password option on the same page.
      5. Save your changes if the page asks you to.

      It worked when: Email sign-in is on in User & authentication, using a code sent by email.

      You’re not sure whether to use passwords.

      Email codes alone are fine to start. People type a code instead of remembering a password.

    3. Phone app only: turn on the Native API

      You

      Clerk’s Expo guide says a phone app needs Clerk’s Native API turned on before sign-in works.

      1. In the Clerk dashboard, open the Native applications page.
      2. Turn on the Native API. Clerk notes this opens a way in that skips the CAPTCHA checks browsers get. That’s expected for phone apps.
      3. In Expo Go, use Clerk’s hosted sign-in screens, which open in a browser inside your app. Clerk’s native screens and a native Google button need a development build.
      4. A phone app gets only the publishable key, in .env as EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY. Never put the secret key, which starts with sk_, in a phone app.
      5. Before building for a phone store, return to Native applications and add the identifiers for each phone platform you support. Your AI tool can find them in app.json.

      It worked when: The Native applications page shows the Native API as on.

      You can’t find Native applications.

      Make sure you’re in the right application and in its Development instance. Search Clerk’s docs for “Native applications”.

    4. Clerk’s sign-in screens in your product

      Add sign-up and sign-in pages

      AI tool

      Your AI tool adds sign-up and sign-in. You fill in the keys your kind of product needs. A phone product uses only the publishable key.

      It worked when: Clicking Sign in in your product opens Clerk’s sign-in screen, with email and a Google button.

      Check this step
      • Does your env file hold the keys your SDK needs, and for Expo only the publishable key?
      • Does your AI tool confirm that Git ignores .env?
      You lost the secret key.

      If you need a new server secret, open Clerk’s API keys page and create a replacement. Keep it out of phone code.

      The AI tool wants to run a Clerk setup tool that makes a new app.

      Say: “Use the Clerk application I already made. Don’t create a new one.”

    5. Turn on Google sign-in for testing

      You

      In development, Clerk lets you use Google without any Google setup. It uses Clerk’s shared Google keys, which are only for testing.

      1. In the Clerk dashboard, open SSO connections.
      2. If Google isn’t listed, select Add connection, then For all users, then Google.
      3. Leave Use custom credentials off for now. Clerk’s shared keys work in your Development instance.
      4. Open your product and click Sign in. Click the Google button and pick your account.

      It worked when: You can sign in to your product with Google while it runs on your computer.

      Google’s screen shows an address ending in accounts.dev.

      That’s normal in development. Your own domain shows once you set up production.

      Google sign-in fails inside another app’s browser.

      If Google sign-in is blocked inside an embedded browser, open your site in Chrome or Safari and test again.

      A native Google button doesn’t work in your phone app.

      It needs a development build, a Web OAuth client and a client for each phone platform you support. Clerk’s Expo Google guide lists the fields.

    6. A private page, tested

      Make a page for signed-in people only

      AI tool

      Pick one page that only signed-in people should see, like a dashboard. Visitors who aren’t signed in get sent to the sign-in page instead.

      It worked when: The page opens when you’re signed in, and sends you to sign in when you’re not.

      The page opens even when you’re signed out.

      Say: “I’m signed out and the protected page still opens. Please find out why and fix it.”

    7. Test sign-up, sign-out and Google

      You

      Use your product the way a new person would. Try every way in and out, and check that Clerk saved the accounts.

      1. Sign up with your own email. Type the six-digit code Clerk sends you.
      2. For an extra test account, use an address with +clerk_test, such as jane+clerk_test@example.com, and the code 424242. Clerk sends no real email to it.
      3. Sign out. Then open your page for signed-in people. It should send you to sign in.
      4. Sign in again with your email. That page should open.
      5. Sign out again, then sign in with Google.
      6. Open Users in Clerk’s dashboard. Check that your test accounts are listed.

      It worked when: Email sign-up, sign-out, sign-in and Google sign-in all work, and your test accounts appear in Clerk.

      The code email doesn’t arrive.

      Check your spam folder. Development sends up to 100 emails a month, so use a +clerk_test address to keep testing.

      It says you’ve reached a user limit.

      Development instances allow up to 100 users. Delete old test users on the Users page.

    8. Your own Google keys and your database

      Make your own Google keys for launch

      You

      Do this when you put your product online. Clerk’s shared Google keys only work in development, so you make a production instance with your own Google client ID and secret.

      1. Use the instance selector at the top of Clerk’s dashboard to set up the production instance. It needs a domain you own. Follow its domain and security checks.
      2. In the production instance, open SSO connections and select Google. Turn on Enable for sign-up and sign-in and Use custom credentials.
      3. Copy the Authorized Redirect URI that Clerk shows. Keep Clerk’s Google settings open.
      4. In Google Cloud, open the Cloud project for your product. In its OAuth client settings, start creating a client.
      5. Choose Web application. Under Authorized JavaScript origins, add your domain, like https://yourname.com.
      6. Under Authorized redirect URIs, paste Clerk’s Authorized Redirect URI exactly. Click Create.
      7. Copy the client ID and secret when Google shows them. Enter them in Clerk’s Google settings and save.
      8. In Google’s authentication setup, find the app’s publishing status and publish it for real sign-ins. Google may review its name, logo or requested permissions.
      9. For a website, put the pk_live_ and sk_live_ keys in your host’s settings, then put your site online again.
      10. For Expo, replace EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY with the pk_live_ value in your build settings and make a new build. Keep sk_live_ only on a separate server, if you have one.
      11. For a native Google button in a phone app, also create a client for each phone platform you support. Add the phone app on Clerk’s Native applications page too.

      It worked when: Google sign-in works on your live site or release build, with your own Google keys.

      Check this step
      • Does Google’s sign-in screen show your own domain?
      Google shows a redirect_uri_mismatch error.

      The redirect URI in Google must match the one Clerk gave you exactly. Copy it again, with no extra spaces or slashes.

      Some people can’t sign in with Google.

      Google’s Testing status limits access to listed test accounts unless the app only asks for name, email and profile. Other test authorizations expire after seven days. In Google’s authentication setup, check the audience and publishing status before you put your product online.

    9. Connect Clerk to Supabase

      You

      This lets Supabase’s access rules use your Clerk sign-in. Do it once you have a Supabase project, from “Create or open your Supabase project”.

      1. In the Clerk dashboard, open the Supabase integration setup at dashboard.clerk.com/setup/supabase.
      2. Choose your options, then select Activate Supabase integration. Copy the Clerk domain it shows.
      3. In Supabase, open Authentication, then Sign In / Providers. Select Add provider, choose Clerk, and paste the Clerk domain. Save.
      4. Tell your AI tool: “I use Clerk for sign-in and Supabase for data, connected with Supabase’s Clerk provider. Follow Clerk’s current Supabase guide. Send Clerk’s session token to Supabase, and write access rules that match each row’s user_id to auth.jwt()->>'sub'.”

      It worked when: Supabase’s Sign In / Providers page lists Clerk.

      Your AI tool wants to make a Clerk JWT template for Supabase.

      Supabase calls that older way deprecated. Say: “Use the Clerk provider in Supabase instead.”

      Saving data fails with a permission error.

      Say: “Saving fails with Clerk and Supabase. Check that the Supabase client sends Clerk’s session token, and that my access rules use auth.jwt()->>'sub'.”

  10. Choose a database

    Choose oneOptional

    Pick one if people or phones share information. Skip it if saving on the phone is enough. Use the one you signed in with. Clerk’s Firebase connection can’t be turned on for new apps. With Clerk, use Supabase, then do “Connect Clerk to Supabase”.

    Compare them: Supabase or Firebase: which database fits my product?

    SupabasePick Supabase if your data fits in tables, like customers and their orders, or you already use Supabase for sign-in.5 steps
    1. A project and a plan for your tables

      Create or open your Supabase project

      You

      A Supabase project holds your database and your user accounts. Use one project for both, so your accounts and data stay together.

      1. If you already made a Supabase project for this product, for its database or its sign-in, open it at supabase.com/dashboard and skip the rest of this list.
      2. Otherwise, open supabase.com/dashboard and sign in or create an account. Choose the option that creates a new project.
      3. In the form, choose the organization that will hold it, and enter a name, such as your product’s name.
      4. Set a strong database password and save it in your password manager.
      5. If it asks for a region, pick the one closest to the people who will use your product.
      6. If the form offers access through Supabase’s Data API, keep it on.
      7. Create the project, then wait until its dashboard is ready.
      8. If you use Clerk for sign-in, do “Connect Clerk to Supabase” now that the project exists.

      It worked when: You can see your Supabase project’s dashboard, the page where you manage it.

      Check this step
      • Is your database password saved somewhere safe?
      It says you’ve reached the limit of free projects.

      The free plan allows 2 active projects. Pause one you don’t use, or use a project you already have.

      Your project is paused.

      Open it in the dashboard and unpause it.

    2. Design your first table

      AI tool

      A table holds one kind of thing, like notes or orders, in rows and columns. Your AI tool reads your plan and suggests the simplest tables.

      It worked when: Your AI tool has described your tables in plain words and written one SQL file that creates them with access rules.

      Check this step
      • Does each table match something in your PLAN.md?
      • Can you say in your own words who can see each table’s rows?
      The plan has more than you expected.

      Say: “Keep only what the must-have features need. We can add more later.”

      You don’t know what should be private.

      Think about who should see each thing. Notes might be private, while a shop’s products are public. Tell your AI tool in plain words.

    3. Protected tables your product can use

      Set who can read and write

      You

      Row Level Security decides who can see or change each row. You run the SQL your AI tool wrote, then check that every table is protected.

      1. Read the plain-English comments in the SQL file. If any rule surprises you, ask your AI tool to change it first.
      2. In your Supabase dashboard, open SQL Editor. Paste the whole file, then click Run.
      3. Open Table Editor and check that your new tables are there.
      4. For each table, check that Row Level Security is on and the rules match what you agreed with your AI tool.
      5. Open Security Advisor. If it lists a problem, copy the warning to your AI tool and ask for the smallest fix.
      6. Each time you add a table later, check Security Advisor again.

      It worked when: Every table shows Row Level Security turned on, with rules you understand.

      Check this step
      • Does Security Advisor show no errors for your tables?
      Running the SQL shows an error.

      Copy the whole error message to your AI tool. Ask: “What does this mean, and how do I fix the file?” Then run the fixed file.

      A table says Row Level Security is off.

      Anyone with your public key could read or change it. Ask your AI tool for SQL that turns it on with the right rules, then run it.

    4. Save and load data in your app

      AI tool

      Your AI tool connects your product to the new tables. Things people add get saved in Supabase and show up again when they come back.

      It worked when: Your product saves something, and it’s still there after you refresh the page or reopen the app.

      Check this step
      • In Table Editor, can you see the row you added?
      Nothing saves, or the list is always empty.

      Row Level Security may be blocking it. Say: “Saving doesn’t work. Check my rules and grants against Supabase’s docs and fix the smallest thing.”

      It says “permission denied”.

      The table may be missing a grant. Copy the error to your AI tool and ask it to check the grants in Supabase’s Row Level Security guide.

    5. Test with two accounts

      You

      Two test accounts prove that your access rules keep each person’s data private.

      1. Sign in to your product as yourself and add two or three items.
      2. Sign out. Sign up as a second test person, using another email address you own.
      3. As the second person, check that the first person’s items don’t appear. Add one item of your own.
      4. Sign out and sign back in as yourself. Check that you only see your own items.
      5. Open Table Editor. Check that each row’s owner matches the account that added it.
      6. Write down anything that looked wrong, and fix it before real people use your product.

      It worked when: Each test account sees only its own items.

      Check this step
      • Did your own items come back after you signed in again?
      The second person can see the first person’s items.

      Stop and fix this first. Say: “My second test account can see the first account’s data. Check my access rules and code, and fix them.”

      The second account’s confirmation email doesn’t arrive.

      Add your second address to your Supabase team, or do “Send real emails with your own email service”.

    FirebasePick Firebase if your data is a loose mix of records, or you already use Google’s Firebase tools.5 steps
    1. A locked database and a plan for your data

      Create or open your Firebase project and add a database

      You

      Your data lives in a Firebase project, and Cloud Firestore is its database. You start it locked, so no app can read or write until you add rules.

      1. If you already have a Firebase project for this product, such as one made for sign-in, open it at console.firebase.google.com. Then go straight to Databases & Storage.
      2. Otherwise, go to console.firebase.google.com and sign in with your Google account.
      3. Choose the option that creates a project. Name it after your product and finish the form.
      4. On the project overview, start adding a web app. An Expo app uses this web setup too, and it works in Expo Go.
      5. Enter a nickname for the web app and finish registering it.
      6. In the left menu, open Databases & Storage, then Firestore. Click Create database.
      7. Pick a location close to the people who will use your product.
      8. Choose Production mode, then click Create. It blocks all reads and writes from apps until you write rules.

      It worked when: Your Firebase project has an empty Firestore database, locked until you add rules.

      You picked Test mode by mistake.

      Test mode lets anyone read and change your data. “Set who can read and write” fixes it, so don’t add real data until then.

      You can’t choose a location.

      Your project’s location was already set. That’s fine. Carry on with the location shown.

    2. Design your first collection

      AI tool

      Firestore saves each record as a document, a small set of named fields. Documents of one kind go in a collection. Your AI tool plans these from PLAN.md.

      It worked when: Your AI tool has explained your collections in plain words and written a firestore.rules file with commented rules.

      Check this step
      • Does each collection match something in your PLAN.md?
      • Can you say in your own words who can read each collection?
      The plan has more than you expected.

      Say: “Keep only what the must-have features need. We can add more later.”

      You don’t know what should be private.

      Think about who should see each thing. Notes might be private, while a shop’s products are public. Tell your AI tool in plain words.

    3. Protected data your product can use

      Set who can read and write

      You

      Security Rules decide who can read or change each document. You paste in the rules your AI tool wrote, test them, then publish them.

      1. Read the plain-English comments in firestore.rules. If any rule surprises you, ask your AI tool to change it first.
      2. In the Firebase console, open Databases & Storage, then Firestore, then the Rules tab.
      3. Replace what’s in the editor with the whole firestore.rules file.
      4. Open Rules Playground. Try reading a document as a signed-in person who does not own it, then start the test. It should be denied.
      5. Click Publish. New rules can take a minute to work, and up to 10 minutes to reach everything.
      6. Each time you add a collection later, update firestore.rules and publish it again.

      It worked when: Your rules are published in Firestore, and the playground turns away someone who doesn’t own the document.

      Publishing shows an error in the rules.

      Copy the error and its line number to your AI tool. Ask it to fix firestore.rules, then paste in the new version.

      You don’t know what to try in the playground.

      Ask your AI tool: “Give me one Rules Playground test that should be denied, step by step.”

    4. Save and load data in your app

      AI tool

      Your AI tool connects your product to Firestore. Things people add get saved and show up again when they come back.

      It worked when: Your product saves something, and it’s still there after you refresh the page or reopen the app.

      Check this step
      • In Firestore, can you see the document you added?
      It says permission denied, or missing permissions.

      Your rules blocked the request. Say: “Firestore is blocking this. Compare my code with firestore.rules and fix the smallest thing.”

      The AI tool says the Firebase API key must be secret.

      Google says Firebase API keys are safe to include in app code. Your rules protect the data. Admin keys, like service account keys, must stay secret.

    5. Test with two accounts

      You

      Two test accounts prove that your Security Rules keep each person’s data private.

      1. Sign in to your product as yourself and add two or three items.
      2. Sign out. Sign up as a second test person, using another email address.
      3. As the second person, check that the first person’s items don’t appear. Add one item of your own.
      4. Sign out and sign back in as yourself. Check that you only see your own items.
      5. Open Firestore in the Firebase console. Check that each document has the owner your AI tool designed for it.
      6. To test without real accounts, ask your AI tool to set up the Firebase Local Emulator Suite. It runs on your computer and needs Java.

      It worked when: Each test account sees only its own items.

      Check this step
      • Did your own items come back after you signed in again?
      The second person can see the first person’s items.

      Stop and fix this first. Say: “My second test account can see the first account’s data. Check my access rules and code, and fix them.”

      Sign-up gets blocked after a few tries.

      Firebase allows 100 new accounts an hour from one internet connection. Wait a while, then try again.

  11. The biggest problems fixed

    Test it with real people

    You

    Watch someone else use your app. Ten minutes of watching teaches you more than a day of guessing.

    1. Follow the user journey in PLAN.md on your own phone, from start to finish.
    2. If you can, try it on an iPhone and on an Android phone. They can behave differently.
    3. Turn on the phone’s screen reader (VoiceOver on iPhone, TalkBack on Android) and try the main screen.
    4. Hand your phone to a friend. Ask them to do the main thing without help. Watch, and don’t explain.
    5. Write down where they got stuck or confused.

    It worked when: You have a short list of real problems, in your own words.

    Check this step
    • Did someone other than you use the app?
  12. Get an honest review

    AI tool

    Your AI tool reviews your app against your plan. It fixes the most important problem first. Come back to this step for each problem you want fixed.

    It worked when: You have a list of problems in order of importance, and the top one is fixed.

    Check this step
    • Does the rest of your app still work?
  13. Your code saved and a test version in the stores

    Choose where to save your code

    Choose one

    Your saved versions live only on your computer so far. Put them online in a private GitHub or GitLab repository. Your store builds start from that copy. The Leaderboard counts GitHub activity, so joining it needs a GitHub account too.

    Compare them: GitHub or GitLab: which should I use?

    GitHubPick GitHub if you want to follow most guides and examples as written, or work with people who already use it.7 steps
    1. Your code in a private repository

      Create a private repository

      You

      A repository is your product’s home on GitHub. You make an empty one, so your AI tool can fill it with your files.

      1. Go to github.com and sign in. If you don’t have an account, go to github.com/signup and follow the prompts. You’ll be asked to check your email.
      2. In the upper-right corner, click the plus icon, then New repository.
      3. Check that Owner shows your own username, not an organization.
      4. Type a Repository name, like my-site. Use letters, numbers, dashes and dots.
      5. Choose Private.
      6. Leave the README, .gitignore and license options off. Your product already has files, and an empty repository takes them without a clash.
      7. Click Create repository.

      It worked when: GitHub shows your empty private repository, with a Quick Setup box that holds its address.

      Keep: The address in Quick Setup that ends in .git, for “Upload your code with your AI tool”.

      It says the name is already taken.

      You already have a repository with that name. Pick another name, or open the one you have.

      You already ticked README and created the repository.

      That’s fine. Tell your AI tool before it uploads, so it gets the README first.

    2. Upload your code with your AI tool

      AI tool

      Your AI tool saves a first version (Git calls it a commit), connects your folder to GitHub under the name origin, and pushes your files up.

      It worked when: Your product’s files show on your repository page on github.com.

      Check this step
      • Is .env missing from the file list, as it should be?
      The push is rejected.

      The repository may already have a README. Tell your AI tool: “The push was rejected. Get what’s on GitHub first, then push again. Don’t force it.”

      Git asks for a username and password.

      Tell your AI tool: “Set up GitHub CLI and run gh auth login, so I can sign in through my browser.”

      You can see .env on GitHub.

      Make new keys at each service now, because anyone who can see the repository can read the old ones. Then ask your AI tool to remove .env and add it to .gitignore.

    3. Count your private work on the Leaderboard

      YouOptional

      The BuildLadder Leaderboard counts work in a private repository only when your GitHub profile shows private contributions. People then see how many contributions you made each day, never your code. Skip this if you’d rather not show that.

      1. On GitHub, click your profile picture, then Your profile.
      2. Above the contribution calendar, click Contribution settings.
      3. Turn on Private contributions if it’s off.

      It worked when: Private contributions is turned on in Contribution settings on your GitHub profile.

    4. One change, reviewed and merged

      Make a change on a branch

      AI tool

      A branch is a copy of your work where you try a change. Main stays as it was until you merge the change in.

      It worked when: The branch menu on your repository page lists a new branch with your change, and main is unchanged.

      The change went straight onto main.

      Tell your AI tool: “That went onto main. Move the change to a new branch, and put main back how it was.” Do this before you push.

    5. Open a pull request

      You

      A pull request asks to merge your branch into main. It shows every line that changed, so you and a reviewer can check it first.

      1. On GitHub, go to the main page of your repository.
      2. In the yellow banner above the file list, click Compare & pull request. If there’s no banner, choose your branch in the branch menu first.
      3. Check that base is main and compare is your new branch.
      4. Type a title that says what changed, and a short description of why.
      5. Click Create pull request.

      It worked when: You see a pull request page with your title and a Files changed tab.

      Check this step
      • Open Files changed. Do you see only the change you asked for?
      Files changed shows things you didn’t ask for.

      Tell your AI tool: “The pull request has changes I didn’t ask for. Explain each one, and undo the ones we don’t need on this branch.”

    6. Get the change reviewed

      AI tool

      A review is a second look before a change reaches main. Your AI tool can read the whole change and list problems in plain words.

      It worked when: Your AI tool lists problems, most serious first, or says that nothing needs fixing.

      Check this step
      • Do you understand each problem in the list?
      • Are the fixes you chose now in the pull request?
      The review lists something you don’t understand.

      Ask your AI tool: “Explain that problem as if I’ve never coded. What could go wrong for a visitor?”

    7. Merge it into main

      You

      Merging brings the branch’s change into main. If a host puts your site online from main, your change goes online at this moment.

      1. Under your repository name, click Pull requests, then open yours.
      2. Scroll to the bottom and click Merge pull request.
      3. Click Confirm merge.
      4. GitHub offers to delete the branch. You can, because its change is now in main.
      5. Tell your AI tool: “I merged the pull request. Switch to main and get the latest version from origin.”

      It worked when: The pull request shows as merged, and main on GitHub has your change.

      Check this step
      • Did your AI tool say it switched to main?
      You can’t click Merge pull request, because of conflicts.

      Main changed in the same lines since you made the branch. Tell your AI tool: “My pull request has conflicts. Bring main into my branch, show me each clash, and fix it with me.”

    GitLabPick GitLab if your team, school or company already uses it, so your code lives where theirs does.6 steps
    1. Your code in a private project

      Create a private project

      You

      On GitLab, your code’s online home is called a project. You make an empty one, so your AI tool can fill it with your files.

      1. Go to gitlab.com and sign in. If you don’t have an account, go to gitlab.com/users/sign_up and follow the prompts.
      2. In the upper-right corner, select Create new, the plus icon, then New project/repository.
      3. Select Create blank project.
      4. Type a Project name, like my-site. Next to it, check that the address uses your own username.
      5. Under Visibility Level, choose Private.
      6. Leave Initialize repository with a README off. Your product already has files, and an empty project takes them without a clash.
      7. Select Create project.

      It worked when: GitLab shows your empty private project, with a page that explains how to add your files.

      Keep: The address that ends in .git, under Code or on the empty project page, for “Upload your code with your AI tool”.

      The address uses a group name, not your username.

      Pick your username in the address list. On the free plan, a private group is limited to five people, while your personal projects are not.

      GitLab offers you a trial of a paid plan.

      You don’t need it. The free plan is enough to save your code and merge changes.

    2. Upload your code with your AI tool

      AI tool

      Your AI tool saves a first version (Git calls it a commit), connects your folder to GitLab under the name origin, and pushes your files up.

      It worked when: Your product’s files show on your project page on gitlab.com.

      Check this step
      • Is .env missing from the file list, as it should be?
      The push is rejected.

      The project may already have a README. Tell your AI tool: “The push was rejected. Get what’s on GitLab first, then push again. Don’t force it.”

      Your password doesn’t work when Git asks for it.

      With two-step sign-in turned on, GitLab won’t take your password here. Tell your AI tool: “Set up the GitLab CLI and run glab auth login with the browser sign-in.”

      You can see .env on GitLab.

      Make new keys at each service now, because anyone who can see the project can read the old ones. Then ask your AI tool to remove .env and add it to .gitignore.

    3. One change, reviewed and merged

      Make a change on a branch

      AI tool

      A branch is a copy of your work where you try a change. Main stays as it was until you merge the change in.

      It worked when: Your project’s Branches page, under Code, lists a new branch with your change, and main is unchanged.

      The change went straight onto main.

      Tell your AI tool: “That went onto main. Move the change to a new branch, and put main back how it was.” Do this before you push.

    4. Open a merge request

      You

      A merge request asks to merge your branch into main. GitHub calls the same thing a pull request. It shows every changed line, so you can check it first.

      1. In your project’s left sidebar, select Code, then Merge requests.
      2. In the upper-right corner, select New merge request.
      3. Choose your new branch as the source branch and main as the target branch.
      4. Select Compare branches and continue.
      5. Type a title that says what changed, and a short description of why.
      6. Select Create merge request.

      It worked when: You see a merge request page with your title and a Changes tab.

      Check this step
      • Open the Changes tab. Do you see only the change you asked for?
      It says a merge request already exists for this branch.

      Each branch can have only one open merge request. Follow the link GitLab shows to open it.

      The changes include things you didn’t ask for.

      Tell your AI tool: “The merge request has changes I didn’t ask for. Explain each one, and undo the ones we don’t need on this branch.”

    5. Get the change reviewed

      AI tool

      A review is a second look before a change reaches main. Your AI tool can read the whole change and list problems in plain words.

      It worked when: Your AI tool lists problems, most serious first, or says that nothing needs fixing.

      Check this step
      • Do you understand each problem in the list?
      • Are the fixes you chose now in the merge request?
      The review lists something you don’t understand.

      Ask your AI tool: “Explain that problem as if I’ve never coded. What could go wrong for a visitor?”

    6. Merge it into main

      You

      Merging brings the branch’s change into main. If a host puts your site online from main, your change goes online at this moment.

      1. In your project’s left sidebar, select Code, then Merge requests, and open yours.
      2. Scroll to the merge section under the description.
      3. Leave Delete source branch on if you see it. The branch’s change will be in main, so you won’t need the branch.
      4. Select Merge. If you see Set to auto-merge instead, select that. It merges when all required checks pass, including any required approvals.
      5. Wait until GitLab shows Merged, then tell your AI tool: “I merged the merge request. Switch to main and get the latest version from origin.”

      It worked when: The merge request shows as merged, and main on GitLab has your change.

      Check this step
      • Did your AI tool say it switched to main?
      GitLab says the branch has conflicts.

      Main changed in the same lines since you made the branch. Tell your AI tool: “My merge request has conflicts. Bring main into my branch, show me each clash, and fix it with me.”

  14. Prepare for the app stores

    AI tool

    Getting into the App Store and Google Play takes accounts, a store listing, and a review by Apple and Google. Your AI tool writes a checklist of what you need.

    It worked when: PLAN.md has a release checklist with every account, file and step you need.

    Google Play won’t let you release your app to everyone yet.

    New personal Google Play accounts must first run a closed test with at least 12 testers for 14 days in a row. Start finding testers early.

  15. Get sign-in ready for real people

    YouOptional

    Before testers get a build, finish the sign-in steps you left for later. Skip this if your app has no sign-in, or you picked Firebase.

    1. Supabase and Clerk need a domain of your own for this. If you don’t have one yet, buy one from a domain seller such as GoDaddy, Namecheap or Cloudflare Registrar.
    2. Open “Choose how people sign in” again and open the service you picked.
    3. If you picked Supabase, do “Send real emails with your own email service”. Until then, Supabase only emails people on your Supabase team.
    4. If you picked Clerk, do “Make your own Google keys for launch”. Until then, Google sign-in only works for testing.

    It worked when: Anyone can sign up with your sign-in service, not only you and your team.

  16. Send a test version to the stores

    AI tool

    Expo builds your app from the code in your repository and uploads it to Apple and Google. Testers try it first. The public release is a separate review you start yourself.

    It worked when: A test version of your app is in TestFlight or Google Play’s internal testing, built from the code in your repository.

    Check this step
    • Does the test version open when you install it on your phone through TestFlight or Google Play?
    • If your app has sign-in, can you sign up in the test version as a new person?
    The iPhone build doesn’t show in TestFlight yet.

    Apple processes each upload first. Expo says this usually takes 10 to 15 minutes.

    The Google Play upload fails because it can’t find your app or a key.

    Create the app in Google Play Console first, then add the Google Service Account key to Expo.

    You want builds to start from GitHub.

    After one build from your computer works, ask your AI tool to follow Expo’s guide to building from GitHub.

  17. Your next improvement and your place on the Leaderboard

    Improve it with real feedback

    AI tool

    Real people use your app in ways you don’t expect. Let what they say choose your next small improvement. Build it with “Add the next piece”.

    It worked when: PLAN.md names one next improvement under “Next”.

    Check this step
    • Is your next improvement based on something a real person did or said?
  18. Join the Leaderboard

    YouOptional

    Your product can be shared now. If you want a public builder profile, the Leaderboard ranks people by GitHub activity. Connect your GitHub account once, and the versions you save to GitHub count toward your place. BuildLadder never sees your code.

    1. Open buildladder.com/profile in your browser.
    2. If it asks you to sign in, select Continue with GitHub. That signs you in and connects GitHub in one go.
    3. If you’re already signed in with email or Google, select Connect GitHub.
    4. On GitHub, check what BuildLadder asks to see, then select Authorize.
    5. If BuildLadder asks about the Newsletter, choose what you want, then select Save and continue.
    6. Your repository is private, so let GitHub count it. On GitHub, select your profile picture, then Your profile.
    7. Above the contribution calendar, select Contribution settings. Turn on Private contributions if it’s off. Others then see how many contributions you made each day, never the details.
    8. Open the Leaderboard on BuildLadder and find your name. New activity can take a while to appear.

    It worked when: You can find your name on the Leaderboard.

    Check this step
    • Does your profile show your GitHub name and picture?
    Your saved versions don’t show on GitHub’s contribution calendar.

    GitHub counts a version only when Git uses an email on your GitHub account. Ask your AI tool: “Which email does Git use here, and is it on my GitHub account?”

    It says that GitHub account already belongs to another BuildLadder account.

    You signed in with GitHub before. Sign out, then select Continue with GitHub to use that account.

Stuck? Try these, in order
  1. Stop asking it to “fix it”. Say exactly what’s wrong.

    Paste this into the same chat. It asks your AI tool to find the problem with you.

    Troubleshooting prompt
    I’m following “Build a phone app” on BuildLadder and something isn’t working.
    This comes from https://buildladder.com/guides/mobile-app-expo. If you can open web pages, read https://buildladder.com/guides/mobile-app-expo.md for the current version. BuildLadder guide, tool, concept, answer and setup pages all work this way: add .md to the address.
    
    Ask me which step I’m on, what I tried and what happened, one question at a time. Look at the files in this folder if you can. Then explain the problem in plain words and suggest the smallest fix. Don’t change anything that already works.

  2. Check the service isn’t down.

    If you use one of these, open its status page before changing any code: Supabase, Vercel, Netlify, Cloudflare, Stripe, Clerk, Firebase, Resend, GitHub, Expo, Claude, OpenAI.

  3. Go back to your last saved version.
    Troubleshooting prompt
    Take my product back to the last saved version that worked. First show me which version that is and what will change. Don’t delete anything else.

  4. Make the change smaller.
    Troubleshooting prompt
    Let’s make a smaller change. Undo what you just tried. Then do only the first part of it, and tell me how to check that part works before we go on.

  5. Ask a person.

    Copy this, fill in each line, and post it in a community like r/vibecoding. Take out any keys or passwords first.

    Problem report
    What I'm building: (one sentence)
    What I asked my AI tool to do: (the last request)
    What I expected: (what should happen)
    What happened instead: (what you see)
    The exact error, if any: (copy it here)
    What I've tried: (each attempt, in order)
    My tools: (AI tool, website or app, hosting)

All done? Check it’s ready to share

Your test build is ready

Send your testing invitation to someone who can try the main task. When you want a public release, start the store review from your developer account.

Look things up

Questions people ask

Words used on this page

Expo
Expo is a framework for building iPhone and Android apps from one set of code. You write it in JavaScript with React Native, a phone version of React, and test it on your own phone.
Node.js
Node.js is a free program that lets JavaScript run on your computer, outside a web browser. Many website-building tools need it, and installing it also gives you npm.
npm
npm is a tool that downloads ready-made code other people have shared, so you don't write everything yourself. It comes with Node.js and runs from the terminal.
Terminal
A terminal is a text window where you type commands to your computer instead of clicking buttons. Some AI tools, like Claude Code, can run inside it.
Expo Go
Expo Go is Expo’s free test app for iPhone and Android. It opens the app you are building on your own phone, with no Apple or Google fee. It runs only the features built into it.
Git
Git is a free tool on your computer that keeps a history of your product's files. It lets you save versions, compare them, and go back if something breaks.
Commit
A commit is a saved version of your product at one moment, with a short note about what changed. Git keeps every commit, so you can look back or undo a change later.
Accessibility
Accessibility means building your website or app so everyone can use it, including people with disabilities. It should work with a keyboard alone and with tools that read the screen aloud.
React
React is a set of ready-made JavaScript code for building the parts of an app that people see and click. It lets you build pages from reusable pieces, like a button or a menu.
Bug
A bug is a mistake in your code that makes your app act in a way you didn't intend. It might crash, show the wrong thing, or quietly do nothing.
Error message
An error message is text a program shows when something goes wrong. It usually says what failed and where, which helps you or your AI tool find the fix.
Database
A database is an organized place where an app stores information so it's still there later. It keeps things like accounts, posts, and orders, and finds them quickly.
Backend
The backend is the behind-the-scenes part of an app that visitors never see. It runs on a server, where it saves data and checks who is signed in.
Authentication
Authentication is how an app checks who you are, usually when you sign in. Common ways are a password, a code sent to your email, or a "Sign in with Google" button.
Build
A build turns your product's code into the finished files that a web browser or phone can run. For a mobile app, the build is the file you install or send to an app store.
Production
Production is the live version of your website or app that real people use. Changes there affect everyone, so you test them in a preview first.
TestFlight
TestFlight is Apple’s way to share your iPhone app with testers before it’s on the App Store. Testers install the TestFlight app, open your invite and get your build.
Push
Pushing sends the commits you saved on your computer up to your online copy, like GitHub or GitLab. Until you push, your new versions exist only on your computer.
GitHub
GitHub is a website that stores your Git repositories online. It keeps a backup of your product's history and lets you share code and work with other people.

Official pages

Updated