Recommended setup
Start from Migma handoff
In Migma, open Create, click Set up Migma with agent, and paste the copied
/setup prompt into Lovable’s agent.Approve agent access
Use agent registration first. Add
MIGMA_API_KEY as a Lovable backend secret only if the agent cannot complete registration.Add a fallback secret
Store
MIGMA_API_KEY in Lovable’s backend environment. Do not expose it in browser code.Prompt
Use this only if you cannot copy the in-app handoff prompt.Next
AI App Builders
Builder checklist and surface choice.
Agent Handoff
In-app setup prompt and Copy for AI flow.
API Quickstart
Send your first API request.