> For the complete documentation index, see [llms.txt](https://refkit.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://refkit.gitbook.io/docs/integrate-refkit.md).

# Integrate RefKit

RefKit uses one server-side flow for every backend stack. Shopify stores can instead install the Shopify app and manage their integration from Shopify Admin.

1. Capture `via` from the affiliate landing request.
2. Store the returned `click_id` in first-party storage.
3. Identify the Customer when their account is created.
4. Send revenue through Stripe or the RefKit API.
5. Verify click, signup, payment, and commission in the dashboard.

## Choose a setup path

* [Use RefKit with Shopify](/docs/integrate-refkit/shopify.md) from Shopify Admin.
* [Set up with a coding agent](/docs/integrate-refkit/ai-coding-agent.md) using the App-specific prompt from the dashboard.
* [Set up manually](/docs/integrate-refkit/manual-setup.md) with the REST API.
* [Receive lifecycle events](/docs/integrate-refkit/outgoing-webhooks.md) with an outgoing webhook.

## Choose a revenue path

* [Connect Stripe](/docs/integrate-refkit/stripe.md).
* [Report payments, refunds, and disputes with the API](/docs/integrate-refkit/api-revenue.md).

Server capture is recommended. Use the browser SDK only when the landing request cannot run backend code.
