Documentation Index
Fetch the complete documentation index at: https://docs.rako.sh/llms.txt
Use this file to discover all available pages before exploring further.
Quickstart
Rako integrations revolve around five steps:- Search — an agent asks Rako for eligible offers matching user intent.
- Recommend — the agent presents an offer and records the attribution event.
- Checkout — the agent requests a checkout URL or handoff for the recorded recommendation.
- Convert — Rako reconciles the checkout, payment webhook, merchant report, or milestone into the conversion ledger.
- Settle — Rako validates the conversion, handles disputes or clawbacks, and calculates merchant commission, network fee, and builder payout.
Minimal API sequence
checkoutUrl when the merchant has a connected payment processor. Rako embeds AAP metadata into the payment link so that the eventual payment webhook can be joined back to the recommendation.
Fastest path: MCP
Add the Rako MCP server to an MCP-compatible client:mcp-config.json
search_offersto find eligible offers.recommendto record attribution.checkoutto start the purchase flow.
SDK paths
JavaScript SDK
Use
@rakohq/sdk from Node.js, Deno, or Bun.Python SDK
Use
agent-attribution-protocol from Python agents and services.