> For the complete documentation index, see [llms.txt](https://docs.spindl.xyz/spindl/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.spindl.xyz/spindl/features/referrals/quick-start.md).

# Quick Start

Getting started with a new Referral Program is as simple as:

1. Install the [Javascript SDK](/spindl/techncial/javascript-sdk-html-script-guide.md): Installing the SDK automatically instruments Page Views and Wallet Connection events, and will connect a referral link to an on-chain actions. The SDK Is lightweight and can be configured in a few lines of code.
2. Allow users to create [Referral Codes](/spindl/techncial/javascript-sdk-html-script-guide/referrals.md): The SDK provides functions to easily create custom referral codes directly from your frontend, to make it easy to let all users act as referrers.
3. Allow users to [withdraw their rewards](/spindl/techncial/on-chain/rewards.md): Ultimately, we want to show users how much they earned and let them easily withdraw it. Spindl creates a smart contract for you under the hood, and provides easy to use functions to interact with it.
