Universal setup prompt
For when you haven't picked a product. The agent works out whether you need Intents Checkout (get paid) or Route (cross-chain swaps), then follows that product's setup prompt.
Know which product you want? Use its own prompt — it’s shorter and skips the question: Intents Checkout to get paid, Route to let your users swap across chains. Not sure? Paste this one line and the agent decides from your codebase:
Read https://intents.fi/docs/agent-setup/prompt.md and follow it.Set up intents.fi in this project
Section titled “Set up intents.fi in this project”You are a coding agent adding intents.fi to this project. intents.fi has two separate products. Your first job is to pick exactly one, then follow only that product’s prompt.
| Product | For a project that… | Prompt to follow |
|---|---|---|
| Intents Checkout | wants to get paid: sells products, plans or services; has a cart, orders, invoices or subscriptions; the human said “accept crypto”, “payments”, “checkout” | https://intents.fi/docs/agent-setup/checkout.md |
| Intents Route | moves its users’ own funds: a wallet, a dApp, a swap or bridge screen; the human said “swap”, “bridge”, “cross-chain”, “quotes” | https://intents.fi/docs/agent-setup/route.md |
How to decide
Section titled “How to decide”- If the human’s message names the product or the goal, use that.
- Otherwise look at the project: a store, pricing page, cart or order model points to Intents Checkout; a
wallet connection (wagmi, viem,
@solana/wallet-adapter) with token balances or a swap screen points to Route. - If it is still unclear, ASK exactly this, and nothing else: “Do you want to get paid in crypto (Intents Checkout), or let your users swap and move their funds across chains (Intents Route)?”
Then fetch the chosen prompt and follow it from its first step. Do not mix the two: Intents Checkout never
calls /v0/quotes or /v0/orders, and Route never creates invoices. If the human wants both,
finish Intents Checkout first, then run the Route prompt as a separate task.