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

# Discord Integration

> Connect dashboard, invite bot, set staff role, and create webhooks.

## Link your Discord server

<Steps>
  <Step title="Open the Eagle dashboard">
    Go to the **[Eagle Dashboard](https://eagleanti.com/en/dashboard)** in your browser and log in to your account.
  </Step>

  <Step title="Select your server">
    From the server list, click the server you want to configure.
  </Step>

  <Step title="Open server settings">
    Inside your server page, click **Settings** to open the configuration panel.
  </Step>

  <Step title="Set your Discord logs server">
    Scroll to the **Webhooks** section and enter your **Discord Server ID** and save your settings.

    <Note>
      This must be the same Discord server where you will invite the bot to receive logs and alerts.
    </Note>

    If you don’t know your server ID, enable Discord Developer Mode and copy it from your server settings.
  </Step>

  <Step title="Invite the Discord bot">
    Click here to invite the bot to your logs server:

    👉 **[Invite Eagle Bot](https://discord.com/oauth2/authorize?client_id=1064249951099572354\&permissions=8\&scope=bot)**
  </Step>
</Steps>

## Create the staff role

1. Discord → Server Settings → Roles
2. Create role: `Eagle`
3. Assign it to admins/mods

## Create webhooks

Run:

```text theme={null}
/createwebhooks
```

This creates channels + webhooks for:

* Logs
* Detections

<Check>
  After setup, you should see logs appear in the dashboard config.
</Check>
