> For the complete documentation index, see [llms.txt](https://docs.boiler.gg/bot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.boiler.gg/bot/creator-section/access-lists-and-raffles/how-to-create-a-raffle.md).

# How to create a Raffle

Create your raffle once the access list is created

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="https://126530284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFWk9XI1GLsUugEWDfuWd%2Fuploads%2FwHy5zM3tjj7DzxDe4M0h%2Faccesslist-1.gif?alt=media&amp;token=558b8d15-d035-4bc8-b982-40795191890d" 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="https://126530284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFWk9XI1GLsUugEWDfuWd%2Fuploads%2FylnEQbVP4d5QC32l9YAC%2Fa-raffle.gif?alt=media&amp;token=fb80adea-f6ac-45ef-99fe-9fc776f5df08" 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="https://126530284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFWk9XI1GLsUugEWDfuWd%2Fuploads%2FHn9PzzdAcMzkEb60wiiU%2Fa-size.gif?alt=media&amp;token=5ee4d5cb-cfc1-497d-aed1-db06638158d6" 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="https://126530284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFWk9XI1GLsUugEWDfuWd%2Fuploads%2F813YfzBZDQIfSFYlzuhm%2Fa-end.gif?alt=media&amp;token=8f89282d-dfd9-4e43-a247-d38ac020c812" 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="https://126530284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFWk9XI1GLsUugEWDfuWd%2Fuploads%2FqFNBr1a4rPAWmEr2lRiS%2Fa-show.gif?alt=media&amp;token=2aedaf34-12fa-43ce-9fc9-c6fc8c7e315c" 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="https://126530284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFWk9XI1GLsUugEWDfuWd%2Fuploads%2Fc4541rluQr026VywEVSF%2Faccesslist-3.gif?alt=media&amp;token=b2595d16-0f34-4a31-ba3c-bfca993854ee" 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="https://126530284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFWk9XI1GLsUugEWDfuWd%2Fuploads%2FCytjlLAbeU2AuO9axrOE%2Faccesslist-open.gif?alt=media&amp;token=445f5f96-ac2e-46d2-8023-582bcf4adfd5" 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="https://126530284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFWk9XI1GLsUugEWDfuWd%2Fuploads%2Fdx08a9xwtu4CC2JzcYcn%2Faccesslist-5.gif?alt=media&amp;token=31f5ae4f-ea6c-4b78-b957-b6d6cc678337" 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="https://126530284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFWk9XI1GLsUugEWDfuWd%2Fuploads%2FJfRaRkwtdEbNLWXS2Ee1%2Fwhitelist-role.gif?alt=media&amp;token=2cf6620e-28fc-4a2f-ad2a-7cb686fc655a" 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)
