Complete Lovable Tutorial

  • 54 min
Complete Lovable Tutorial Plays from YouTube

A free, step-by-step tutorial by Ferdy. Watch it right here or on YouTube.

Related: Learn more about WordPress

How to build a website or web app with Lovable

Lovable lets you build websites and web applications by simply describing what you want. You do not need to know anything about code. In this tutorial I build two projects: a tournament app for my FIFA evenings with friends, and a website for a web design agency. Then I put them online with my own domain, add a working contact form and add Google AdSense so a project can earn money.

I am not a Lovable expert. That is exactly the point: I wanted to see what a beginner can make. My tournament app worked within about an hour.

What you need

  • A free Lovable account (sign up with Google, GitHub or email)
  • Optional: ChatGPT to improve your prompts
  • Optional: a domain name, a free Supabase account for forms, and a Google AdSense account

How Lovable credits work

Before you start, it helps to understand credits. On the free plan you get five credits per day. They do not stack up: if you skip ten days, you still have five, not fifty. Every prompt costs at least one credit, and if you ask for several changes in one prompt, it can cost several credits.

I ran out of credits during the tutorial, so I upgraded. In the video, the Pro plan was about $25 per month for 100 monthly credits on top of the five daily ones, and you can use those 100 right away. You can also just wait until the next day and continue for free.

Step 1: Build your first app with one prompt

My idea: a tool that runs a tournament like the World Cup. Players are split into groups, everybody plays everybody in their group, the top two go to the knockout stage, and the winners move on automatically. Keeping track of this by hand was always a mess.

I just typed the idea the way I would explain it to a friend: the number of teams and groups should be adjustable, every team gets a name, the schedule is created automatically, number one of a group plays number two of another group, and I only fill in the scores. English is not my first language and my prompt had errors, but Lovable understood it. It came back with a plan, a design direction and a working first version.

Tip: you can ask ChatGPT to improve your prompt first. It is optional, but it often gives a better start.

Step 2: Test it and fix problems with prompts

The first version was impressive, but not perfect. After the round of 16 it jumped straight to the final. So I tested every part and described exactly what was wrong:

  1. I explained the correct order: round of 16, quarterfinals, semifinals, a match for third place, then the final.
  2. When it still went wrong, I said so again. Lovable found the bug in its own logic and fixed it.
  3. I asked for a third setting: how many teams per group go to the knockout stage.
  4. I asked to allow one group with fewer teams, so you can play with an odd number of friends.
  5. Finally I asked for more World Cup vibes in the colors and left the design up to Lovable.

The lesson: always play through your app like a real user. Fill in scores, try a draw, try odd numbers. Each problem you find is one clear prompt.

Step 3: Build a website and use the visual editor

For the second project I asked ChatGPT to write a Lovable prompt for a bright web design agency website with blue as the main color. I pasted it into Lovable, and it built a site with a home, services, portfolio, about and contact page. It was responsive on all devices straight away.

You can change things in two ways:

  • Prompts. I asked for orange gradients, a dark hero with a fixed futuristic background, a new logo that links to the homepage, a different menu order, a “Get quote” button that goes to the contact page, and portfolio items that open in a popup.
  • The Edit button. Click Edit, hover over a part of the page and click it. You can change text, images, margin, padding, background and border radius, or delete a section. Direct edits like these are handy for small fixes. Typing an instruction in the editor is still a prompt and costs a credit.

Did a change go wrong? Click the history icon in the chat and go back to an earlier version. When Lovable is not sure what you mean, it asks you. Answer in plain words and it continues.

Step 4: Publish and connect your domain

  1. Click Publish. Add a title, a description and a square favicon, then publish. You get a free lovable.app address.
  2. To use your own domain, open the project menu at the top left, go to Settings, Domains.
  3. Either buy a domain there, or choose Connect domain for a domain you already own.
  4. For an external domain, pick the manual setup. Lovable shows the DNS records you need.
  5. At your domain provider, go to DNS and add the two A records with the values Lovable gives you.

It can take from 10 minutes to a couple of days to go live. Mine worked after about 10 minutes. I prefer to get my domain with Hostinger web hosting, because then you also get a free domain for the first year and you can create an email address like info@ on your domain.

Step 5: Make the contact form work and add ads

At first, nothing happened when I sent the contact form. The form needs a database to store the messages. Lovable uses Supabase for that.

  1. Click the Supabase icon in Lovable and create a free Supabase account.
  2. Create an organization on the free plan and authorize Lovable.
  3. Create a project with a strong password and a region close to your visitors.
  4. Back in Lovable, connect that project and prompt: “connect all forms on my website with my Supabase account.”
  5. Approve the change, then send a test message. It shows up in the Supabase table editor.

To earn money with a free tool like my tournament app, I used Google AdSense. Add your site in AdSense, turn on auto ads, copy the code and prompt Lovable to place the AdSense code on your website. Then publish the update. On a paid plan you can also hide the “Edit with Lovable” badge under Project settings.

One more tip: scroll down on your Lovable dashboard to find community projects. You can remix one and change it with your own prompts.

Prefer an editable WordPress website instead? See my newest WordPress and AI tutorial, and grab ready-made prompts in the prompts library.

Frequently asked questions

Is Lovable free?

You can start for free with five credits per day. Each prompt uses at least one credit. If you need more in one day, you can upgrade to a paid plan.

Do I need to know how to code to use Lovable?

No. You describe what you want in normal language, and you can adjust things with the visual Edit mode. My prompts even had spelling errors and it still worked.

Can I use my own domain with Lovable?

Yes. Buy one inside Lovable or connect a domain you own under Settings, Domains, by adding the A records Lovable gives you at your domain provider.

Why does my Lovable contact form not send messages?

The form needs somewhere to store the data. Connect Supabase to your project and ask Lovable to connect your forms to it. Submissions then appear in your Supabase table editor.

Leave your comment

Your email address will not be published. Required fields are marked *

Never miss
a tutorial

Every tutorial lives on YouTube. Subscribe and never miss a new one.

Black Friday A full year of Hostinger web hosting + free domain for about $30 with coupon code FERDY1 year hosting + free domain: about $30 with code FERDY Ends Dec 14 Get the deal Ad