# Setting up your bot

## Purchase the script for SmartBots (it's free)

First of all, you will need to purchase the EasySupport script from the SmartBots marketplace (the script is free).

To do that, visit [the SmartBots marketplace](https://store.mysmartbots.com/store/item/206/primeasy__easysupport?by=6569290).

Then click **`Buy`**

<figure><img src="/files/BxZJHPFTAQ4wxpYIE7EX" alt="" width="563"><figcaption></figcaption></figure>

Then confirm your purchase

<figure><img src="/files/EfAlro5kEhX76gDPQI3L" alt="" width="563"><figcaption></figcaption></figure>

Your purchase should now be available on the SmartBots Playground.

## Active the purchased script

Visit [https://play.mysmartbots.com/](https://play.mysmartbots.com/?by=6569290) and on the left of your screen, you should see `Purchased`. Clicking on that displays the scripts you purchased on the SmartBots store.

Click on `Primeasy - EasySupport` then click on confirm when it asks for the script permissions to send `INSTANT_MESSAGE`

<figure><img src="/files/IGxa1eusbd1ANV3ofySe" alt="" width="563"><figcaption></figcaption></figure>

Then select your bot and click `Assign bot`

<figure><img src="/files/F5jdlTu6zjOJUefFgzQR" alt="" width="563"><figcaption></figcaption></figure>

Now, the interface will ask for the `Private API Key`. This private API key can be fetched on EasySupport. Click `Setup your first bot` and it will display the key you need to copy on SmartBots.

<figure><img src="/files/MeOe7vACn4fiPKuMj4cT" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="/files/18I6lmPXEg2I6nsvEw6a" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="/files/VhAgNgGzaYODgoQi4CGP" alt="" width="563"><figcaption></figcaption></figure>

You can click `Save` on SmartBots and the script is ready. Now click `Run` at the bottom of the page, and your bot is now setup and running!


---

# 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.kynno.app/easysupport/setting-up-your-bot.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.
