Getting the code out to GitHub
Everything starts here, because a repository you own is what makes the rest possible. Lovable connects to GitHub and pushes the project, which gives you the application code and the SQL migration files that define your database.
This is also the point where you find out what you actually have. The migrations tell us how your tables and access rules are set up, which is the first thing we read, and the commit history tells us how much of the app was generated in one pass versus patched by prompting afterwards.
- Connect the repository under the company's own GitHub account, not a personal one
- Check that the export is current: a repository connected months ago may be behind the live app
- Keep prompting in Lovable afterwards if you like, as long as everyone knows which side is authoritative