AffiliateRail documentation
Run an affiliate program for your SaaS: the dashboard, the tracking script, the partner portal, the REST API and the MCP server.
AffiliateRail is affiliate program software for SaaS founders. Here's how it works:
- Partners share links to your site.
- The customers they send pay you through Stripe or Paddle.
- We work out who earned what.
- Your own PayPal or Wise account pays your partners.
We never hold the money and take no cut of it.
Quickstart
Sign up, add the tag, and watch a test sale get credited to a partner.
Platform guides
Settings, commission rules, attribution, payouts, the partner portal, messaging, imports and safeguards.
API
A REST API over every object in your program. The reference is interactive.
MCP
Run your program from your AI agent. Connect, sign in, and say "set up my affiliate program".
Finder
Find affiliates, write your offer once, and hand the yeses to your program with the terms they agreed.
Where people usually start
- Let your AI agent set up your program
- Install the tracking script and prove it works
- Set up commission rules
- Connect PayPal or Wise for payouts
- Give partners a branded portal on your own domain
- Make your first API call
If a page here doesn't answer it
Open the chat bubble in the bottom corner of your dashboard. It goes straight to Jimi, who built AffiliateRail. It already knows your plan, your program and the screen you were on. So start with what happened.
For machines
The API publishes its whole contract as text at api.affiliaterail.com/llms.txt. This suite lists its pages at docs.affiliaterail.com/llms.txt. Point a model at either and it can answer questions without scraping HTML.
To set up or run a merchant's program, an agent connects the MCP server at https://mcp.affiliaterail.com/mcp. The merchant signs in, so there's no key. The agent calls setup_guide first. MCP overview has the rest.