Skip to main content

Documentation Index

Fetch the complete documentation index at: https://agentref.co/docs/llms.txt

Use this file to discover all available pages before exploring further.

AgentRef is affiliate tracking software for SaaS. It connects your Stripe account, tracks referral clicks, attributes conversions, and pays affiliates – all with zero upfront cost. Start free, then upgrade when your program needs higher limits.
No per-seat pricing.

Get started

Quickstart

Set up your first affiliate program in 5 minutes.

Agent Setup

Connect AgentRef to Claude, Codex, Cursor, OpenClaw, or any AI agent via MCP.

API Reference

Explore the REST API, SDKs, and authentication.

Why AgentRef?

Most affiliate platforms charge $50–500/month before you have a single affiliate. AgentRef flips that model:
  • $0 to start. No credit card required. Create your program, invite affiliates, and go live immediately.
  • Program-friendly pricing. Start free and move to a paid plan when your affiliate program needs higher limits.
  • Agent-compatible. Manage your affiliate program through AI assistants using the MCP server, SDKs, or REST API when it fits your workflow.

Core concepts

Before diving in, here are the terms you’ll see throughout these docs:
ConceptWhat it means
ProgramYour affiliate program. It defines commission rates, cookie duration, payout rules, and tracking settings. One merchant can run multiple programs.
AffiliateA partner who promotes your product using unique referral links. They earn commissions on conversions they drive.
ClickA tracked visit through an affiliate’s referral link. AgentRef records the click and drops a first-party cookie for attribution.
ConversionA successful sale or signup attributed to an affiliate. Created automatically from supported attribution sources such as Stripe metadata, Stripe client_reference_id, or coupon attribution.
CommissionThe amount an affiliate earns for a conversion. Can be a percentage of revenue, a fixed amount, or recurring for subscription products.
PayoutThe transfer of accumulated commissions to an affiliate once they hit the payout threshold.
Marketing ResourceMerchant-published campaign material such as files, social posts, swipe copy, external links, and collections.

How it fits together

  1. You create a program with your commission structure.
  2. Affiliates join and share referral links.
  3. AgentRef’s tracking script captures clicks and sets attribution cookies.
  4. When a visitor converts (via Stripe), AgentRef matches the conversion to the affiliate.
  5. Commissions accumulate until the payout threshold is reached.
  6. Payouts are processed on your chosen schedule.

What makes AgentRef different

Agent-Compatible

OAuth-ready MCP server with setup, growth, payout, marketing resources, and affiliate workspace tools. Your AI assistant can operate AgentRef through natural language.

Zero-Cost Start

No monthly fees, no setup costs. You only pay when affiliates actually drive revenue for your business.

Stripe-Native

Connects directly to your Stripe account. Conversions are tracked automatically through webhooks – no manual reporting.

Built for SaaS

Supports recurring commissions for subscriptions, handles refunds and chargebacks, and scales from day one.

Next steps

How It Works

Understand the full attribution chain from click to payout.

Quickstart Guide

Get your first program running in under 5 minutes.

Choose your integration surface

SurfaceUse it whenNotes
DashboardYou are launching or operating a program manually.Best for setup, visual review, billing, and day-to-day operations.
REST APIYou are building a server-side integration.Stable public API v1 with OpenAPI reference, API keys, scopes, idempotency, and webhooks.
Node/Python SDKsYou want typed REST clients in application code.Mirrors the REST API surface and handles auth, retries, errors, and pagination helpers.
MCP ServerYou want an AI agent to run AgentRef workflows.Broadest automation surface; includes setup, payout, and Marketing Resources workflows that are not all exposed in REST/SDK yet.
If you are unsure, start with the dashboard and tracking quickstart. Use REST or an SDK for app code, and MCP when an AI assistant should operate AgentRef directly.