# Affiliate Minting

When enabled, collectors can generate unique affiliate links to promote your collection. This feature is available for both presale and public sale. When someone mints (buys) an NFT through their link, the collector earns a commission (reward) based on your set percentage. This incentivizes them to spread the word and attract new buyers.

<figure><img src="/files/MIdV8VnuEuRIVIV3wRz7" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Please note:&#x20;

1. You can't activate affiliate minting for collections that are already deployed.&#x20;
2. These settings **can't** be changed **after deployment**.&#x20;
3. Affiliate minting isn't available for free mint collections.&#x20;
4. Affiliate links are only compatible with Launchpad mint pages & cannot be used with self-hosted mint buttons.
   {% endhint %}

## **Step-by-Step Guide**

1. **Go to Smart Contract**

   <figure><img src="/files/8MCBb3YM9Ur4VqhltNEg" alt="" width="230"><figcaption></figcaption></figure>

2. **Click 'Affiliate'**

   <figure><img src="/files/88cPVtnEPAUnPG9PjCem" alt=""><figcaption><p> </p></figcaption></figure>

3. **Turn on Affiliate Minting:** Choose "Presale" or "Public Sale" (or both) based on where you want it active and then set the percentage. *If enabling for presale, make sure to also enable "Presale" in your "Sale" settings.*

   <figure><img src="/files/wlRxrGYURQckwwyErTZY" alt=""><figcaption></figcaption></figure>

4. **You're all set!** Affiliate minting is ready to roll.

**Remember:**

* You can't turn on affiliate minting for collections already deployed.
* When enabled, you can't change these settings later (after deployment), so choose wisely!
* Affiliate minting isn't available for free mint collections.
* Affiliate links only work on Launchpad mint pages, not self-hosted buttons.

Once deployed, head over to the "Minting" tab to [customize your minting page](/creators/manage-smart-contract/after-deployment/set-up-mint-website/use-heymint-mint-page.md). This is where collectors generate their affiliate links! *Don't forget to double-check **all** your settings **before** deploying your collection!*

<figure><img src="/files/PwKJUs3yrLf1hcy54myJ" alt=""><figcaption><p>Example mint page with affiliate minting enabled</p></figcaption></figure>

<figure><img src="/files/0wokRq3oFEhO5geoc7ry" alt=""><figcaption></figcaption></figure>

That's it! Now your collectors can earn rewards by promoting your NFT collection.&#x20;


---

# 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.launchpad.heymint.xyz/creators/manage-smart-contract/before-deployment/affiliate-minting.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.
