# Add Squire to Your Discord Server

This guide walks you through installing Squire, linking your Discord server to LootLocker, and configuring the bot for key distribution and broadcasts.

### Prerequisites

* [A LootLocker account](https://lootlocker.com/sign-up)
* [At least 1 created game in the web console](https://docs.lootlocker.com/)
* An admin account on a Discord server

### Install Squire

In the LootLocker Web Console, open the Settings menu in the left-hand navigation and select **Squire**.

![](/files/LyQsnl49uZeNYrsNT32W)

Click **Invite Squire to Server** in the top-right corner, and sign in to Discord and select the server you want to add Squire to.

![](/files/zE9bygqX5HwLM8cLpUJj)

Back in the Web Console, click **Generate Token**.

In Discord, use the `/setup [token]` command using the generated token to link your Discord server to LootLocker.

![](/files/ESTmz8WCfHUKcAeJBsCv)

Return to the Web Console and click **I have linked my server** to confirm. If the setup is successful, two new configuration tabs will appear: Channels & Roles and Embed Styling.

![](/files/Fsf0TDVIFWBeieQZOl9K)

### Channels & Roles

Use this section to control who can interact with Squire and where messages are posted. The following settings can be configured:

* **Redemption Role:** Select which Discord role is allowed to redeem platform keys for your game.
* **Broadcast Channel:** Choose the channel where in-game Broadcasts will be published.
* **Alerts Channel:** Select a channel for admin-only alerts, including logs and error messages generated by Squire.

![](/files/qpnyATBgKVTUUdmePmse)

### Embed Styling

This section controls how Squire messages appear in Discord. The following styling options are available:

* **Color:** Sets the accent color displayed on the left side of Squire messages.
* **Company Name:** Appears at the bottom of every Squire message.
* **Logo Settings:** Upload an image to include in every post next to the Company Name. Enable Use as Thumbnail to display the logo in an additional position within each message.

![](/files/3JPzfDmvsqPoa5WDrWZs)

The image below shows examples of each of these configurable settings.

![](/files/F526cyujfWdibA1CkVHa)

### Conclusion

Squire is now fully installed, configured and ready to use. You can now distribute [Platform Keys](/squire-discord-bot/platform-keys.md), push [Broadcasts to your Discord server](/squire-discord-bot/discord-broadcasts.md), or create [Claimable Reward](/squire-discord-bot/claimable-rewards.md) campaigns.


---

# Agent Instructions: 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:

```
GET https://docs.lootlocker.com/squire-discord-bot/getting-started/how-to/add-squire-to-discord-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
