SnappStart free
All Posts

How to Add Login & User Accounts to Your App

Add sign-up and login to your app in minutes. Snapp uses your connected Supabase project, so you own the user list.

SNAPP TeamJune 24, 20263 min read54 views
How to Add Login & User Accounts to Your App

How to Add Login & User Accounts to Your App

If you want people to sign in, save their own data, or have private accounts, your app needs login. In Snapp, login runs on your connected Supabase project, so adding it is as simple as asking.

Animated guide, User login. Steps: connect, ask, send, test, see

This guide shows you how to add sign-up and login in a couple of minutes.

---

Before you start

Login needs a database, so connect Supabase first. If you haven't done that yet, follow our Connect Supabase guide. It takes about two minutes.

---

Step by step

1. Open your app and open the chat.

2. Tap the Add User Login shortcut. Snapp writes the request into the message box for you: "Add user login and sign up with email and password, so users can create accounts and log in." You can change it before you send it, for example: - "Require users to sign in before they can see their tasks" - "Add a sign-in screen with a Forgot password link"

3. Send it. Snapp adds sign-up, sign-in and sign-out, plus a Forgot password option, and keeps users signed in between visits.

4. Try it in the preview: create an account, sign out, and sign back in.

There's no separate switch to turn on. Login is added through the chat, the same way you build everything else in Snapp.

---

How it works

  • New users are stored in your Supabase project, under Authentication, then Users.
  • Sign-up uses email and password.
  • Sessions persist, so users stay signed in.
  • When you connect Supabase with the Connect Supabase button, Snapp turns off Supabase's "Confirm email" setting, so new users can sign in right away. It also sets up the page that opens from a password reset email, so Forgot password works without extra setup.

    Because this all runs on your own Supabase project, you own the user list.

    ---

    Tips

  • Gate specific screens. Tell Snapp exactly what should be private: "Only signed-in users can create posts, but anyone can read them."
  • Personalize per user. Once login exists, ask: "Show each user only their own bookings."
  • Want email confirmation? Turn "Confirm email" back on in Supabase (Authentication, then Sign In / Providers, then Email). Add your own email provider (SMTP) in Supabase too: its built-in email service only sends a few emails per hour for the whole project, and sign-ups fail with "email rate limit exceeded" when it runs out.
  • ---

    Common questions

    Do I need to set up a login server?

    No. Supabase runs it for you, and Snapp wires it into your app.

    Can users sign in with Google or Apple?

    Yes. Email and password is the default. Ask Snapp to add the buttons, then turn the provider on in your Supabase project with your own Google or Apple keys. Our Google and Apple login guide shows every step. Questions? Ask in our community.

    Sign-up fails, or new accounts can't sign in.

    This is a Supabase setting, not a bug in your app. If you connected your project before Snapp started turning off "Confirm email", turn it off yourself: Supabase, Authentication, Sign In / Providers, Email, turn off "Confirm email" and save. Or reconnect Supabase from Snapp.

    Where do I see who signed up?

    In Snapp's Data Panel on the Users tab, or in your Supabase dashboard under Authentication, then Users. See viewing and managing your app data.

    ---

    What's next

    With accounts in place, you're ready to:

  • Sell subscriptions or premium features with in-app purchases: tap Add in-app subscriptions in the chat. For physical goods and services, accept payments with Stripe.
  • Share your app and let real people sign up.

---

Share:

SNAPP Team

Articles and content from the SNAPP team

Related Posts

Build Your Own App with SNAPP

Develop mobile apps with AI, no coding required

Start Free