> For the complete documentation index, see [llms.txt](https://competitions.gitbook.io/competition-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://competitions.gitbook.io/competition-docs/minigames/view-minigames/setting-up-mystery-boxes.md).

# Setting up Mystery Boxes

If you've read our [Setting up Scratch Cards](/competition-docs/minigames/view-minigames/setting-up-scratch-cards.md) article then you will see a lot of parallels between that and this article.\
\
You may only need to read one of these articles to understand how to operate both of them but in this article we will show you how Mystery Boxes works from a customer perspective aswell as how to set it up.

<figure><img src="https://3744898343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvmZQfjJYplU4Sw9Oe8b0%2Fuploads%2FgtEtws9lfLhCD28Pr0Ds%2Fmysteryboxshae.gif?alt=media&amp;token=ee863d19-99d5-4a7b-a918-f347bccbb682" alt=""><figcaption></figcaption></figure>

### Get started with Mystery Boxes

Setup an Instant Prize Competition as usual and then scroll under the Featured image to find the Minigames widget.

<figure><img src="https://3744898343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvmZQfjJYplU4Sw9Oe8b0%2Fuploads%2FiUAQY31owNCITO4b6bqw%2Fimage.png?alt=media&amp;token=585637ac-48cd-4f7e-bde8-fa4011b7b7a8" alt=""><figcaption></figcaption></figure>

Select Mystery Boxes and save the competition. Once you have done that, every ticket purchased will give customers an opportunity to open a box.

{% hint style="warning" %}
Please test the functionality on your website to make sure the Mystery Boxes works correctly
{% endhint %}
