# 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="https://2420590043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXWzvj4XkfLBLdoEPhn3g%2Fuploads%2FK7mooAZk4CpeLFzLQ0nB%2Fst2.png?alt=media&#x26;token=1b568a49-0d65-4e45-a484-683a506f060b" 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](https://aidocs.soldecoder.app/product-guides/creating-an-openai-account "mention")

<figure><img src="https://2420590043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXWzvj4XkfLBLdoEPhn3g%2Fuploads%2F6LnjjTs4tD5NBropGew6%2Fai1.png?alt=media&#x26;token=3bfc3bc3-6552-4c8b-af63-294d01820f8e" 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="https://2420590043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXWzvj4XkfLBLdoEPhn3g%2Fuploads%2F4JjtE8PLBsMYzBUUI13Z%2Fi2.png?alt=media&#x26;token=8cc5da59-76d4-40bf-b1fb-4e9c6b4e6600" 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](https://aidocs.soldecoder.app/product-guides/discord-bot-setup-premium "mention") 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 %}
