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

# Quickstart: protect your Telegram or Discord community

> Sign in, add the collony.ai bot to your Telegram group or Discord server, teach it your project and check that it is working.

This guide takes you from a new account to a protected community. You need admin rights in the Telegram group or Discord server you want to protect.

**1. Sign in**

Go to [app.collony.ai](https://app.collony.ai/login) and sign in with Discord, Google or Telegram. Any option works, whichever platform you moderate. See [Login](https://www.collony.ai/docs/login.md) to link more accounts.

**2. Add the bot to your community**

> [tab] Telegram
>
> 1. On the Projects page, click **+ Add bot**, then **Add to Telegram**.
>
> 2. Telegram opens its chat picker. Pick your group.
>
> 3. Confirm the admin rights: **delete messages, restrict members, pin messages**.
>
> 4. Finish setup from the Projects page.
>
> > [!WARNING]
> >
> > Without the delete messages, restrict members and pin messages rights, moderation actions fail.

> [tab] Discord
>
> 1. On the Projects page, click **+ Add bot**, then **Add to Discord**.
> 2. Authorize the bot on your server and confirm the permissions.
> 3. Finish setup from the Projects page.
>
> If the bot is already on your server, click **Link Discord** on the Projects page to see it there.

**3. Teach the bot your project**

Open [Bot Setup](https://www.collony.ai/docs/bot-setup.md) and fill in **Project About** (2 to 5 sentences) and the **Knowledge Base**. The bot only knows what is in the Knowledge Base, so add your FAQs, official links and how your team will and will not contact members.

> [!TIP]
>
> The [Assistant](https://www.collony.ai/docs/assistant.md) can draft both. Paste your website or whitepaper and ask it to.

**4. Add your community rules**

Open the **AI rules** tab on the [Protection](https://www.collony.ai/docs/protection.md) page, paste your rules in plain language and switch on the [rule presets](https://www.collony.ai/docs/ai-rules.md#rule-presets) you want. Templates for general, crypto, gaming and sports betting communities are on the [AI rules](https://www.collony.ai/docs/ai-rules.md) page.

> [!NOTE]
>
> AI rules are part of the Protect, Grow and Scale plans. To start a 7-day trial, open [Billing](https://www.collony.ai/docs/billing.md).

**5. Choose what the bot does in each channel**

On [Channels](https://www.collony.ai/docs/channels.md), give each channel a role: **Community chat**, **Security only**, **Chat & support only** or **Moderator notifications**. Create a private channel for your team and set it to **Moderator notifications** to see what the bot deletes, mutes and bans in real time.

**6. Set when the bot replies**

On [Schedule](https://www.collony.ai/docs/schedule.md), pick **Always Security**, **Always Chat + Security** or a **Custom** weekly grid. Moderation can run around the clock while chat replies follow your busy hours.

**7. Check that it works**

Open [Incidents](https://www.collony.ai/docs/incidents.md) to see every action the bot takes. Work through **Needs review** for the cases it wants you to confirm, and use **Mark as mistake** when it gets one wrong so it learns.

Something not working? See [Troubleshooting](https://www.collony.ai/docs/troubleshooting.md).


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