Step 1: Go to Your Supabase Project
Begin by navigating to your Supabase dashboard and opening the project you want to connect. From the top menu, click the ‘Connect’ button.[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.A pop-up window will appear, select the ‘App Frameworks’ tab and choose your app language. From this section, copy the credentials provided in the .env configuration. These credentials are required to link your Supabase backend to your Lovable project.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
Step 2: Configure Supabase Credentials in Lovable
Next, open your Lovable project and paste the Supabase credentials you copied earlier by entering them directly through chat to update the .env file with your Supabase credentials.[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.Once the credentials are added, go to the Code Editor within Lovable. From the dashboard, copy the complete SQL code we’ve prepared for database setup. This SQL script defines the database structure that Supabase will use.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
Step 3: Execute SQL in Supabase
Return to your Supabase dashboard and open the SQL Editor from the sidebar menu. Paste the SQL code you copied from the Lovable dashboard into the editor, then click the “Run” button.[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.After the query executes successfully, the required tables will be created in your Supabase database, completing the connection between Supabase and Lovable.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.And that’s it, this is how easily you can connect Supabase to Lovable. It is a simple process that allows you to build full-stack applications with minimal effort. By combining Supabase’s powerful backend capabilities with Lovable’s intuitive frontend and logic handling, you can launch scalable and secure applications faster without managing complex infrastructure. Still stuck? Contact our support team for any of your queries.
