# How to create a Raffle

Before creating your raffle, you need to create an access list with specific requirements for your collection. As a reminder, here's how you create and open your access list:

<figure><img src="/files/Bn3PHOQsyDbViPec3rTQ" alt=""><figcaption><p>To create your access list use the command: <code>/accesslist create</code></p></figcaption></figure>

## Step 1: Add The Details Of Your Access List

Once you've created it, you have different options to help you set it up:\
\
-> [Add new requirements](/bot/creator-section/global/requirements.md)\
-> [Edit access list information](#edit-accesslist-information)\
->[ Customize your access list](/bot/creator-section/global/customization.md)\
-> [Send a registration form panel](/bot/creator-section/global/send-a-panel.md)\
-> [Delete your access list](#delete-your-access-list)\
-> [Open registration](#open-registration)

### Edit Access List Information

You can restrict your access list a the maximum size allowed that you've decided on, auto close with an end date, and show (or not) the number of participants in your action button

For a raffle, you need to add a value to the `Set raffle spot(s)`. When your access list closes, Boiler will randomly pick users registered and added them to the Raffe List.

<figure><img src="/files/CUYRzeR846wFJUXWOnoa" alt=""><figcaption><p>Click on <code>Set raffle spot(s)</code> and put the number you want in the pop up</p></figcaption></figure>

<figure><img src="/files/cjQqaZxA58csU4RHOktZ" alt=""><figcaption><p>Click on <code>Set max size</code> and put the number you want in the pop up</p></figcaption></figure>

<figure><img src="/files/O8xSzBDhynjlYszFXoDC" alt=""><figcaption><p>Click on <code>Set end date</code> and put the date you want in the pop up</p></figcaption></figure>

<figure><img src="/files/rdM34SunSW2xHd9CacBQ" alt=""><figcaption><p>It's an on/off button, the default value is to show the number on the button.</p></figcaption></figure>

### Deleting Your Access List

This action is final. When you delete your access list you lose all the information it contained.

<figure><img src="/files/e8ZrWBudlycQAsFFtBzj" alt=""><figcaption><p>In the <code>Settings</code> panel you choose <code>Delete</code> to delete your access list</p></figcaption></figure>

### Open Registration

Before your community can join, you need to make sure you've set your access list to "open":&#x20;

<figure><img src="/files/r9ALhkZlo2LYcylcLPRT" alt=""><figcaption><p>Click on <code>Open registration</code> to open registration to your community</p></figcaption></figure>

## Step #2

From there, new features are available, you can now:\
-> [Join the access list (for you and your users)](/bot/user-section/guides/joining-an-access-list.md)\
-> [Export your whitelist (in .csv file)](/bot/creator-section/global/export-data.md)\
-> [Close registration](#close-registration)\
-> [Add a role to raffle-listed users](#add-a-role-to-raffle-listed-users)

### Closing The Registration

If you close your access list, your campaign will end and new registrations will be denied by Boiler.

<figure><img src="/files/1GbA6IROzCw3F02kBtVQ" alt=""><figcaption><p>Click on <code>Close registration</code> to close registration for your access list</p></figcaption></figure>

### Add A Role To Raffle-Listed Users

You can create and/or choose a role to add to all users chosen by the raffle.&#x20;

<figure><img src="/files/qloNY4dLp3u9zK2FjgWM" alt=""><figcaption><p>Go to <code>Whitelisted role</code>, select the role to added and click on <code>Add</code></p></figcaption></figure>

Nice work! The registration for your access list has ended and you now have all your whitelisted users. You can now export the csv or [continue with Boiler and create your Mint on discord!](broken://pages/VXR9wqEeNbWu38OMwC7l)


---

# 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.boiler.gg/bot/creator-section/access-lists-and-raffles/how-to-create-a-raffle.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.
