# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.spindl.xyz/spindl/features/referrals/quick-start.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
