Dashboard wizard
Operator path. Pick a use-case template (API monetization, e-commerce, agent commerce, recurring payments). Wizards walk you through wallet, agent, and test in 10-15 minutes.
Raw API (this page)
Operator path. Direct REST calls. Best if you’ve done payments integrations before and want to understand the primitives first.
Agent quickstart
Agent author path. You’re building an AI agent (Claude, Cursor, custom runtime) that needs to transact on Sly. From token → first paid call in 10 minutes.
Prerequisites
- A Sly sandbox API key — see sign up or grab the shared playground key on any page’s “Try it” panel
- Node.js 18+ or
curl
1. Create an account
An Account is the person or business that holds funds and owns agents.id — you’ll attach an agent to it next.
2. Register an agent
An Agent is an AI actor that transacts on behalf of an Account, under a KYA tier and a wallet policy.3. Fund the wallet (sandbox only)
In sandbox you can self-fund agent wallets from a faucet:4. Send a transfer
Move funds from the agent’s wallet to a peer account:5. Watch it settle
Poll the transfer, or subscribe to webhooks:pending → processing → completed.
Shortcut: single-call setup
If you want an even shorter version that creates the account + agent + wallet in one call, use the onboarding helper:{ account, agent, wallet, credentials } in one shot. Useful for scripted setups and CI.
What just happened
You touched the full core loop:- Tenant → Account → Agent → Wallet hierarchy
- API key auth (simplest of the five methods)
- Sandbox faucet for test money
- Transfer lifecycle with observable state transitions
Where to go next
Pick an onboarding wizard
If you prefer the UI-driven path going forward, start from a template that matches your use case.
Upgrade auth
Agent tokens are fine to start. Move to Ed25519 sessions before production — same code, better security.
Understand the protocols
Transfers are the simplest case. UCP, ACP, AP2, x402, A2A, and MCP unlock merchant checkout, mandates, micropayments, and peer-to-peer agent tasks.
Set wallet policies
Before shipping to production, configure spending limits, allowlists, and kill-switches.