# QuickStart: Setting up GetBeaned on your server

### Adding GetBeaned to your server

First, we'll have to add GetBeaned to your server.&#x20;

#### Inviting the bot

Please click the following link to add [GetBeaned to your server](https://discordapp.com/oauth2/authorize?client_id=492797767916191745\&permissions=201714887\&scope=bot).

{% hint style="info" %}
Only server admins (`Administrators`) can add bots to a server. If you don't see your server in the list, please double-check that you are logged on the right discord account
{% endhint %}

Select your server in the list and click the Authorise button

![Please make sure to select the right server :)](https://2656996659-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh_EH5i_45OVEMNNlx0%2F-Lh_WJEoD2_cJBOJaf64%2F-Lh_NwJrAY_t6iqn3H-4%2F2019-06-17.14-21-59.png?generation=1560776394636570\&alt=media)

#### Moving the bot role higher in the list

Return to the discord application. Click on your server name to open the server settings. Under roles, select the GetBeaned role and move it to the top.

{% hint style="info" %}
The bot role needs to be higher than the top user role if you want GetBeaned to be able to kick or ban them.

You don't have to place GetBeaned higher than admins.
{% endhint %}

Click on the green `Save` button, then return to the chat.

#### Verify that the permissions are valid

Use the `+doctor`command somewhere on the server and pay attention to the`Bot Permissions` embed.

![](https://2656996659-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh_EH5i_45OVEMNNlx0%2F-Lh_WJEoD2_cJBOJaf64%2F-Lh_PPNxAi88Gkdr8N2b%2FCapture%20d%E2%80%99e%CC%81cran%202019-06-17%20a%CC%80%2014.29.06.png?generation=1560776379621836\&alt=media)

{% hint style="warning" %}
If it's red, it means that the bot has some permissions problems on some of the channels. Please check that GetBeaned has the necessary permissions in channels that you want to protect.

However, you don't have to give GetBeaned permissions to restricted channels where only trusted users can speak.
{% endhint %}

### Setup the bot to moderate the server

#### Permissions

First, add yourself as a [server admin](https://docs.getbeaned.me/bot-documentation/levels-and-permissions). Use the `+add_admin @your_discord_name`command to be able to edit settings on the web interface.

If you have moderators, you can add them all using the command `+add_moderator [a role ID]`to give them moderation permissions on the bot.

#### Enable the Auto-functions

On discord, type `+urls`to get a direct link to your server webpage. If you aren't logged in on the website, do that by clicking the "Login" button on the top bar.

![Click on the link to access your server settings](https://2656996659-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh_EH5i_45OVEMNNlx0%2F-Lh_WJEoD2_cJBOJaf64%2F-Lh_R6NsYUsBgr2jP5B3%2F2019-06-17.14-36-01.png?generation=1560776379592677\&alt=media)

{% tabs %}
{% tab title="The AutoMod" %}
The automod is already configured. You just have to enable it by clicking the box near Enable AutoMod

![Click that button. Don't hit submit yet. Check the other tabs first :)](https://2656996659-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh_EH5i_45OVEMNNlx0%2F-Lh_WJEoD2_cJBOJaf64%2F-Lh_Ri5uPkAcXbPjyMp8%2F2019-06-17.14-38-46.png?generation=1560776380340493\&alt=media)
{% endtab %}

{% tab title="The AutoTriggers" %}
If your server is targeted by spam bots, or you have/plan to have public invites, enable the AutoTriggers for maximum protection.

![](https://2656996659-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh_EH5i_45OVEMNNlx0%2F-Lh_WJEoD2_cJBOJaf64%2F-Lh_TEojj0j2cqg1ZDf7%2F2019-06-17.14-45-25.png?generation=1560776379716777\&alt=media)
{% endtab %}

{% tab title="The AutoInspect" %}
You want to kick accouns that are gonna spam your server even before they start ? **GetBeaned** can do that too! Enable AutoInspect to protect yourself from spam of known bad user bots. Turn on each type of but you want to be protected of by selecting the correct thing for the bot to do : warn admins, kick or ban the user.

{% hint style="warning" %}
To use AutoInspect, you'll need to setup the logs on your server too. This is described in detail over the Enable Logging page. \
\
Tl;Dr: Get the channel ID of a channel you want to log in (`+channel_id`can help you), and copy/paste it in the Logs settings page under **AutoInspect logs**. Don't forget to enable logs with the checkbox too.&#x20;
{% endhint %}
{% endtab %}

{% tab title="Optional functions" %}

#### Thresholds

Check the box to enable **thresholds**. This will make Getbeaned kick/ban repeat offenders without action from your mod staff

#### DeHoister

Are you tired of users adding a `!`to thier name to appear at the top at the user list ? If that sounds like a problem for you, wait no more and enable the **DeHoister** to remove these pesky ! from users nicknames.
{% endtab %}
{% endtabs %}

Click the `Submit`button to save your settings.

#### Quick check

Return to your discord server and type `+doctor` to be sure that everything is now correctly setup.

### Done!

You've finished this tutorial. Your server is now protected by **GetBeaned**. For more info, please join the [support server](https://discord.gg/CnmwaZB).
