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

# ER:LC Integration

> Connect your private server API key so Warden can act in-game.

Linking ER:LC gives Warden permission to moderate players, pull live server data, post session announcements, and relay in-game events to Discord. Discord-only modules — verification, shifts, infractions, feedback, applications — work without a link.

## Connect your server

<Steps>
  <Step title="Copy your API key">
    In your ER:LC private server settings, generate or copy your **API key**. Your Roblox account needs the **API gamepass** before a key can be created.
  </Step>

  <Step title="Link from Discord">
    A **Server Administrator** or member with a **Management** role runs:

    ```
    /erlc link api_key:YOUR_API_KEY
    ```
  </Step>

  <Step title="Confirm it worked">
    Run **`/erlc info`**. You should see live server details if the connection is healthy.
  </Step>
</Steps>

## Remove the connection

```
/erlc unlink
```

Run this if you rotate keys, change private servers, or no longer want in-game features.

## What needs the API?

| Works without API | Needs API linked              |
| ----------------- | ----------------------------- |
| Verification      | Roblox Moderation (`/punish`) |
| Shift Logging     | ER:LC Server Logs             |
| Infractions       | Sessions (`/session …`)       |
| Staff Feedback    | `/erlc` query commands        |
| Applications      |                               |

For the full `/erlc` command set, see [Commands → ER:LC](/configuration/commands#erlc-server).

<Warning>
  Treat your API key like a password. Do not paste it in public channels. If it leaks, regenerate the key in ER:LC and run **`/erlc link`** again with the new value.
</Warning>
