Recommended setup
Start from Migma handoff
In Migma, open Create, click Set up Migma with agent, and paste the copied
/setup prompt into Replit Agent.Approve agent access
Use agent registration first. Add
MIGMA_API_KEY to Replit Secrets only if the agent cannot complete registration.Choose a surface
Use the SDK for Node.js apps, REST for any backend runtime, or CLI for terminal workflows.
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.
CLI
Use Migma from terminal workflows.
Webhooks
Trigger app workflows from Migma events.