Connect An Agent
Use this guide to install the MagicPay skill, let setup choose the right branch, verify status, and run the first Memory-managed workflow.
Before You Start
You need one supported runtime where the agent can install skills or persistent instructions. A raw API key is no longer the normal first-run path for landing setup; the MagicPay skill should ask magicpay setup next what to do and follow the returned instructions.
Install The Right Surface
Every runtime needs the MagicPay skill for setup, Memory-managed payment, login, identity, and confirmation flows. The MagicPay CLI bundles the product workflow and installs the browser support it needs.
npx skills add MercuryoAI/skills --skill magicpay --global --yes --copymagicpay --helpmagicpay setup next --intent landing --platform <runtime> --agent-name "<runtime> Agent" --api-url https://durcottggsiesxxqzvbb.supabase.co/functions/v1/api --env production Verify
Confirm the installed CLI exposes the current setup surface and that MagicPay can read the local setup state before starting a real checkout flow.
-
magicpay --helpmust includesetup next. - Follow the
instructionsreturned bymagicpay setup next; do not map debug states to your own prompts. - After setup, run
magicpay status. - Restart the runtime if newly installed skills are not visible.
- Begin with a browser-only task, then move to a protected form such as a shipping address.