Add auth and a database to an existing app
The right order to layer Cloud on top of a working UI without breaking it.
- Enable Lovable Cloud from the project sidebar.
- Ask Lovable to add sign-up and sign-in flows with your preferred provider.
- Design the initial schema in prompt form and generate a migration.
- Enable RLS and generate policies scoped to auth.uid().
- Ship an admin route and gate it with a user_roles table.