# 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="/files/AOd2PSiM1YTf2TxTwOof" 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="/files/BBV6k3DcD6QSH3rqTzZP" alt=""><figcaption></figcaption></figure>

Select Mystery Boxes and save the product. 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 %}


---

# 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://competitions.gitbook.io/competition-docs/minigames/view-minigames/setting-up-mystery-boxes.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.
