# Discord Bot Setup (Free)

## Step 1

* Go to <https://apps.soldecoder.app/bots> to invite the bot to your server
* Once it is invited, add the bot to your chat channel you want to speak to it in. Give it view and send messages permission
* By default each person will get 15 free messages per day (more if they are a SOL Decoder holder). Follow the below steps if you want your users to get more messages per day

## Step 2&#x20;

* In your Discord, run `/ai_setup`

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

## Step 3

* To unlock more messages per day, you'll need to enter an OpenAI key and pay for each message the bot replies to. On average a Discord sending 100s of messages a day costs < 2 cents per day
* Get your OpenAI key from - [https://platform.openai.com](https://platform.openai.com/)
* More directions for this are in [Creating An OpenAI Account](/product-guides/creating-an-openai-account.md)

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

## Step 4

* Press Continue And Paste your OpenAI Key
* Copy the announcement and paste it to your users to teach them about the tool

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

## Step 5

* Click the "Configure Live Chat Channel" and follow those directions

{% hint style="info" %}
Note these are only the free features you've enabled. Read through [Discord Bot Setup (Premium)](/product-guides/discord-bot-setup-premium.md) to see the premium features (listed below):

* [x] have it welcome new NFT holders with unique messages&#x20;
* [x] have it welcome people in tickets with a new fun fact each time&#x20;
* [x] right click any message to generate three tweets or recommend replies&#x20;
* [x] use over 120 prompts to kickstart the conversation&#x20;
* [x] customize them bot to have your own branded PFP and name
* [x] reply by default to everyone in certain personas (such as being funny and witty)&#x20;
* [x] many other things in the future, can read more on the next page :thumbsup:
  {% 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://aidocs.soldecoder.app/product-guides/discord-bot-setup-free.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.
