> ## Documentation Index
> Fetch the complete documentation index at: https://docs.criminal.work/llms.txt
> Use this file to discover all available pages before exploring further.

# Before you begin

> Invite Criminal, enable the right intents and arm the moderation stack in five minutes.

> [card] [Add Criminal](https://docs.criminal.work/invite.md)
>
> Intents, permissions and the role hierarchy rule.

> [card] [Quick Start](https://docs.criminal.work/quickstart.md)
>
> Mute role, jail, log channel and AutoMod in five steps.

## The short version

1. Invite the bot with **Manage Roles**, **Manage Channels**, **Manage Messages**, **Kick**,
   **Ban**, **Moderate Members** and **View Audit Log**.
2. Drag Criminal's role above the roles it should manage.
3. Run `/setup mute` and `/setup jail` — these build the roles and permissions the moderation
   modules expect.
4. Set a log channel with `/config channel log-channel #mod-logs`.
5. Turn on AutoMod: `/config toggle automod enabled:True`.

**Everything is per server**

Settings are stored in the bot database and edited through `/config`. Nothing is configured in
files, and nothing is shared between servers.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.