# Setting up Slot Machine

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 the Slot Machine works from a customer perspective aswell as how to set it up.

{% hint style="success" %}
The Slot Machine will inherit your websites brand colours
{% endhint %}

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

### Get started with Slot Machine

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

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

Select the Slot Machine Game and save the product. Once you have done that, every ticket purchased will give customers a go at the Slot Machine.

### Setting images to show on the Slot Machine

The slot machine inherits the images from the instant prize, if there are no images setup it will only show the text instead.

{% hint style="danger" %}
Do not use the same or similar images or instant prize names in the competition
{% endhint %}

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

### How does it work?

The Slot Machine & all minigame modes integrate with the Instant Prizes to provide a visual overlay that is more interactive than the original instant wins. When someone purchases a ticket they will see a button after Checkout aswell as on the Slot Machine activated competition above the Add to Cart button where they can open a Slot Machine Popup.

{% hint style="warning" %}
Please test the functionality on your website to make sure the Slot Machine 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-slot-machine.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.
