Recommended setup
1
Start from Migma handoff
In Migma, open Create, click Set up Migma with agent, and paste the copied
/setup prompt into the coding agent editing your v0 app.2
Approve agent access
Use agent registration first. Add
MIGMA_API_KEY to server environment variables only if the agent cannot complete registration.3
Keep fallback key server-side
Store
MIGMA_API_KEY in server environment variables. Do not put it in client components.4
Use email IDs
Prepare emails in Migma and store
emailId values in server config.5
Send from backend routes
Wire sends through route handlers, server actions, or trusted jobs.
Prompt
Use this only if you cannot copy the in-app handoff prompt.Next
Agent Handoff
In-app setup prompt and Copy for AI flow.
API Quickstart
Send your first API request.
SDK
Use Migma from Node.js or TypeScript.