Add a waitlist to your Lovable app without building a backend
Lovable builds React and Vite apps from a chat prompt, and the first thing most people ask for is some version of "add a waitlist that saves emails." Lovable answers with a table, an insert call, a form and a success message. That works for the first signup and stops being enough the moment you need the list to do something.
This guide keeps the Lovable app as the home of your product and lets LaunchSuite run the waitlist itself: the form, the confirmation email, the contact list and, on Pro, the referral links. The embed takes about ten minutes once the project is published.
What gets in the way
- The prompt that asks for a database
- Ask Lovable for a waitlist that stores emails and you get a table, an insert function and a form. Each piece is reasonable on its own. The gap is everything after the insert: someone still has to send the confirmation email, count referrals and decide what a signup means for the launch. None of that comes with the table, and each missing piece becomes another prompt.
- Confirmation emails need a mail setup
- A confirmation email means a sending provider, a verified sending domain, an email template and a function that runs on every signup. Lovable can write that code, but you then own the provider account, the DNS records and what happens to bounces. LaunchSuite sends the confirmation email for every signup on the Free plan from its own sending address, so the mail setup is one less thing to debug the week you launch.
- Row rules on a public form
- A signup form on a public page writes to a table that anyone on the internet can reach. Whoever builds it has to decide which rows can be read, how to stop duplicate emails and bots, and what the public key is allowed to see. Those decisions land on you the moment the form ships. With the embed, the form is hosted by LaunchSuite and your Supabase project only holds the product data.
- Referrals are a second product
- A referral waitlist needs a unique link per person, a count of who joined through each link, and a way to show position in line. That is several tables, a redirect and a lot of edge cases before you have written any launch copy. Referral links, per-contact referral counts and the referral leaderboard are on LaunchSuite's Pro plan, and each signup gets a link without any code in your app.
- The launch page has no analytics by default
- A generated waitlist page does not tell you where visitors came from or how many of them signed up. LaunchSuite's analytics show visitors, signups, conversion rate and the sites that sent traffic. There is no UTM report, so tag the links you share by source yourself and compare the referring sites against the signups they produced.
Add the LaunchSuite waitlist to your Lovable app
Lovable builds a Vite and React app and edits it from chat. The steps below publish the waitlist in LaunchSuite first, then have Lovable place the embed in the app. You don't need a Supabase table, an edge function or a submit handler for the form.
- 01
Create and publish the waitlist in LaunchSuite
Sign in at launchsuite.co and create a project (the Free plan includes one). Start from a template or the builder, write the headline and the button text, and publish. Open the project's Embed tab and copy the slug: the value that goes inside data-launchsuite-waitlist. The form only appears once the project is published.
- 02
Ask Lovable to add the embed
Open the Lovable project chat and paste the prompt below, replacing your-slug with the slug from the Embed tab. The prompt asks for one component, so the script loads in a single place and the markup stays in your own design.
Add a waitlist section to the home page under the hero headline. Create src/components/LaunchSuiteWaitlist.tsx. It is a React component that renders <div data-launchsuite-waitlist="your-slug" /> and loads https://launchsuite.co/embed.js once with useEffect. Inside the effect, append the script to document.body only if no script with that src already exists. Do not add a Supabase table, an edge function or a form submit handler for this section. Above the component, add a short heading that says Join the waitlist. Use the existing Tailwind and shadcn styling of the page. Do not change any other file. - 03
Check the code it should produce
If Lovable writes something different, compare it with the component below. The div renders first, then the effect appends the script, so the form has its container when the script runs. The guard inside the effect keeps React's development mode from loading the script twice.
import { useEffect } from "react"; const SCRIPT_SRC = "https://launchsuite.co/embed.js"; export function LaunchSuiteWaitlist() { useEffect(() => { if (document.querySelector(`script[src="${SCRIPT_SRC}"]`)) return; const script = document.createElement("script"); script.src = SCRIPT_SRC; script.async = true; document.body.appendChild(script); }, []); return <div data-launchsuite-waitlist="your-slug" />; } - 04
Use the iframe if the script misbehaves
If the form doesn't appear in the preview, or it goes blank after you navigate away and back, switch to the iframe. It loads the form from LaunchSuite inside its own frame, so the script never runs in your app. The height is fixed, so set it to fit the form; 220 pixels fits the default layout.
export function LaunchSuiteWaitlist() { return ( <iframe src="https://launchsuite.co/embed/your-slug" title="Join the waitlist" className="h-[220px] w-full border-0" /> ); } - 05
Test the signup and publish
Submit the form in the preview with a test address. In LaunchSuite, open Contacts and confirm the signup is there and the confirmation email arrived. Then open the Publish dialog in Lovable and click Publish changes. The live site shows only the last version you published, so the form reaches visitors after that step.
On the Free plan the form carries LaunchSuite branding. Removing it is part of the Pro plan.
Publishing from the Lovable Publish dialog is free. Publishing through chat uses credits.
Lovable's custom domains need a paid Lovable plan. A custom domain for the LaunchSuite waitlist is a separate Pro setting that uses a CNAME record to cname.vercel-dns.com.
You can also link to the hosted waitlist page at your-slug.mylaunch.site from a button in the app if you would rather not embed the form.
What stays in Lovable and what moves to LaunchSuite
Split the launch into two halves before you prompt anything. The product half, the app itself with its auth, data and screens, stays in Lovable and Supabase, where it belongs. The launch half, the page people land on, the list of people who want to know when it ships, the email that tells them what happens next and the referral loop, moves to LaunchSuite.
The split matters because the two halves change at different speeds. The product changes every day while you build it. The waitlist should stay stable for weeks, because it is the thing that collects the people you will email on launch day. A waitlist that lives inside your product gets broken by every refactor, and a broken form loses signups without anyone noticing.
- Stays in Lovable: the app, its screens, the Supabase data for real users
- Moves to LaunchSuite: the waitlist page, the form, confirmation emails, contacts and referrals
- Shared: your domain, if you point one at the hosted page or at the app
How the embed fits a Vite and React app
LaunchSuite gives you two ways to show the form. The script embed renders a div with a slug, loads one file from launchsuite.co, and resizes the form to fit the space. It keeps referral links pointing back at your page. Add data-transparent="true" to the div if the form sits on a dark or coloured section and you want the background removed.
The iframe is the fallback. It loads the same form inside its own frame, so the script never runs in your app. You set the height yourself and lose the automatic resize. Use it if the preview blocks the script, or if the form goes blank when you navigate between pages and come back.
In a Vite and React app the script version works best as one small component. The component renders the div, then appends the script once inside useEffect, and only if no script with that address exists yet. React's development mode runs effects twice, so that check is what keeps the script from loading two times. The component renders after the div is in the page, so the form has its container when the script looks for it.
Publishing and where the form lives
A Lovable project starts unpublished. Publishing from the Publish dialog is free and puts the app on a lovable.app address. Each time you change the app, open the dialog and click Publish changes, because the live site only shows the last version you published. Publishing from chat uses credits, so the dialog is the cheaper route.
LaunchSuite publishes on its own schedule. Your project gets a free address on mylaunch.site, which you can share on its own if you want the waitlist to stand apart from the app. Connecting your own domain to the waitlist is a Pro feature that needs a CNAME record to cname.vercel-dns.com. Lovable's custom domains need a paid Lovable plan, so the two domain setups are separate decisions and you can make one without the other.
When to bring Supabase into the launch
Supabase earns its place once the waitlist turns into accounts. A person who signed up on the list and then logs into your app needs a row in your users table, and the link between the two is the email address. Export the contacts from LaunchSuite as a CSV (Pro) or copy the emails, then import them into the app's table when you are ready, so the people who joined early can find their account.
Until that point Supabase only holds the product data. You avoid a waitlist table with no owner, a public insert policy and a confirmation function that breaks when a provider changes its API. The contact list in LaunchSuite is the record you email from, and it stays readable without writing SQL.
Example: a habit tracker waiting for beta testers
Say you built a habit tracker in Lovable for people who want a beta before the mobile version ships. The app works, the screens are rough and you have a Supabase project with real test accounts. You want a few hundred emails from people who will try the beta, and you want to email each of them when the beta opens.
- 01
Create the waitlist project
In LaunchSuite, create a project called habit beta and start from the SaaS beta template. Write the headline, the one-line promise and the button text, then publish it. Keep the Free plan for now, since the page, the contact list and the confirmation email are all included.
- 02
Ask Lovable for the embed
Paste the prompt from the guide into the Lovable chat with the slug from the Embed tab. Lovable creates one component and places it under the headline on the home page. Check the diff and confirm it touched no Supabase files.
- 03
Publish the app and test the form
Submit the form in the preview with a test address. Open Contacts in LaunchSuite and confirm the signup landed with the confirmation email. Then click Publish changes in Lovable so the live site carries the form.
- 04
Turn on referrals (Pro)
On the Pro plan, enable referrals so each signup gets a link. Ask early testers to share it in the group where they already talk about habits. The leaderboard shows who sent the most people, which is the list of testers to invite first.
- 05
Read the list after a week
Check the visitors, signups and conversion rate on the project dashboard, and the referring sites in the traffic section. Export the contacts as a CSV (Pro) when you want to sort by answers to a custom field, such as how many days a week they already track habits.
You end the week with a list of people who asked for the beta, a count of which sites sent them, and a referral leaderboard that shows who to invite first. The Lovable app stayed focused on the product, and no Supabase table was created for a form that only needed to collect emails.
Start from a template
The SaaS beta template has a headline, a short list of what the beta includes and a signup form above the fold, which fits an app that is not public yet. Change the copy to describe the beta and the first tester group, then publish.
Open the template or compare Free and Pro
Free covers one project for good. Pro starts at $4.92 a month, billed yearly.
Questions people ask
Do I need Supabase for the waitlist?
No. The form is hosted by LaunchSuite, so the signups are stored there and you don't need a waitlist table in Supabase. Supabase still runs your product data. When a waitlist signup becomes an account, you can import the contact emails into your users table.
Does the waitlist form work on a lovable.app address?
The embed works in any page that can load a script from launchsuite.co, and the iframe works in any page that can show an iframe. The form is served by LaunchSuite, so the address of the page that holds it doesn't change how signups are stored.
Can I match the form to my app's design?
Set the colours, fonts and layout in the LaunchSuite builder so the form looks like the rest of your app. Use data-transparent="true" on the script version to drop the background, and style the heading above the component with your app's classes.
What does a signup get on the Free plan?
Every signup is added to the contact list and gets the default confirmation email. Custom confirmation content, referral links, custom fields and email flows are on the Pro plan, which has a 14-day free trial.
What happens to the signups if I move the app to a different builder later?
Nothing changes on the LaunchSuite side. The list belongs to your LaunchSuite project, so you can keep emailing it while the app moves. Export the contacts as a CSV (Pro) if you want a copy for another tool.