> For the complete documentation index, see [llms.txt](https://csrpmoddocs.officialcaliforniastateroleplay.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://csrpmoddocs.officialcaliforniastateroleplay.com/getting-started/setup.md).

# First-time setup

## 1. Invite the bot

Add CSRP Moderation to your Discord server, then confirm it can read and send messages in the channels you intend to use for logging.

## 2. Run the setup command

```
>setup
```

`>setup` is the guided path and is restricted to Management. It walks through the essentials: staff, admin and management roles, and the core logging channels. Everything it asks can be changed later on the dashboard.

## 3. Set your roles

The three role lists in **Dashboard → Basic Settings** decide everything else, because every other feature checks against them. Until they are set, most commands refuse. See [Permission levels](/getting-started/permissions.md).

## 4. Turn on what you need

Features are off until enabled. Each one has a dashboard page with its own toggle:

| To do this                             | Enable                                                   |
| -------------------------------------- | -------------------------------------------------------- |
| Track staff hours                      | [Shift Management](/dashboard/staff.md#shift-management) |
| Log moderation against Roblox players  | [Punishments](/dashboard/moderation.md)                  |
| Discipline your own staff              | [Staff Management](/dashboard/staff.md#staff-management) |
| Accept time-off requests               | [Leave of Absence](/dashboard/staff.md#leave-of-absence) |
| Control your ER:LC server from Discord | [Game Integration](/dashboard/game.md#game-integration)  |

## 5. Connect your ER:LC server

If you run an ER:LC server, link it once and the in-game commands, logging and automation all become available:

```
>erlc link
```

You will need your server key from the ER:LC private server settings. This is Management only. The same key can be set on **Dashboard → Game Integration**.

## 6. Check it worked

```
>config
```

`>config` shows the current settings as the bot sees them. If something you set on the dashboard is not reflected there, the change did not save.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://csrpmoddocs.officialcaliforniastateroleplay.com/getting-started/setup.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
