# Discord Public Channel AI Setup



INclude trouble shooting guides



### Step 1: Connect your Discord & upload AI content



Before you can activate the public channel AI bot in Discord, complete these actions:

1. [Create a Mava account](../../create-a-free-account) and [integrate Discord with Mava](discord-ticket-setup)&#x20;
2. Add at least one source to your [AI knowledge base](../../../ai-support/ai-training).
3. Fill out your company name and description in your AI Settings&#x20;



### Step 2: Decide which public channel(s) Mava AI should respond in and set the correct Discord channel permissions

Mava's public Discord channel AI can operate in one more multiple Discord channels at once. When you've decided which channel(s) you want Mava AI to respond in, you will need to update the channel permissions in Discord for each channel you want it to operate in.&#x20;

Mava AI will need the following permissions:

* [ ] View Channel
* [ ] Send Messages
* [ ] Embed Links
* [ ] Manage Messages
* [ ] Read Message History
* [ ] Add Reactions

(Please note: Mava's public Discord channel AI requires different permissions compared with [Mava's Discord ticketing](discord-ticket-setup) bot).



To configure the channel permissions:

1. Right click on the channel(s) you want the Mava public channel AI to respond in and select 'Edit channel'

<figure><img src="https://content.gitbook.com/content/Tebv3SzLbdQL5VOCHzvx/blobs/WV2hqzViKbMMUMEgbl9p/image.png" alt="" width="375"><figcaption></figcaption></figure>

2. Select the ‘Permissions’ option from the top left menu.

<figure><img src="https://content.gitbook.com/content/Tebv3SzLbdQL5VOCHzvx/blobs/0gZ0jPfm1to0oLDzsS9G/image.png" alt=""><figcaption></figcaption></figure>

3. Find the Mava Bot Member (with the coloured Mava logo) from in the ‘Roles/Members’ section and click on it.

<figure><img src="https://content.gitbook.com/content/Tebv3SzLbdQL5VOCHzvx/blobs/pS0mJfj7GYcPGRZT854F/Screenshot%202024-02-05%20at%203.30.37%20PM.png" alt=""><figcaption></figcaption></figure>

Once you have clicked on the ‘Mava’ role, you will be able to update the Permissions, under the ‘General Channel Permissions’ header. Double check it has all the correct permissions enabled:

* [ ] View Channels&#x20;
* [ ] Send Messages
* [ ] Embed Links
* [ ] Manage Messages
* [ ] Read Message History

<figure><img src="https://content.gitbook.com/content/Tebv3SzLbdQL5VOCHzvx/blobs/3EpTZ8BBB7826S0FSn9y/image.png" alt=""><figcaption></figcaption></figure>

Save your changes after you've granted it those 5 permissions. If you want Mava public channel AI to operate in multiple public channels in your Discord, you can grant these permissions in more than one channel.&#x20;

### Step 3:  turn on Mava's public channel Discord AI



Go to the [AI settings page](https://dashboard.mava.app/dashboard/admin/ai/settings) within Mava and turn on the 'Public channel AI assistant option.

<figure><img src="https://content.gitbook.com/content/Tebv3SzLbdQL5VOCHzvx/blobs/8ottfFsHsQDYE8m1jq9V/image.png" alt=""><figcaption></figcaption></figure>

### Step 4: Test the bot

You're now ready to check the bot is set up correctly. \


Within the Discord channel(s) you want the bot to respond in tag the bot with an @ and ask it a question related to something you've uploaded within your AI knowledge base.&#x20;

<figure><img src="https://content.gitbook.com/content/Tebv3SzLbdQL5VOCHzvx/blobs/86wpQsQh15ULAVbCS4vr/image.png" alt=""><figcaption></figcaption></figure>

You won't have to @ mention the Mava bot each time, but the bot will always respond if it's mentioned so you can test if it's working.



If you're not getting a response and you've followed the steps above please reach out to Mava support.&#x20;



&#x20;
