> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.eclean.gg/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How do I link Discord to eclean and get my roles in the eclean Discord server?

To get your roles in the eclean Discord server, sign in to eclean with Discord, or connect Discord in your account, then run **/link** in the server. The bot checks your eclean account and gives you the matching roles. If you join the server after you connected Discord, the bot does this on its own.

## What do I get when my account is linked?

The bot sets roles from your eclean account.

| Role | When you get it |
|---|---|
| Linked role | Your Discord account is linked to an eclean account |
| Pro role | Your eclean account has **eclean Pro** |
| One badge role | Your account has a badge that the server maps to a role |

You hold one badge role at a time. By default it is your rarest badge. Use **/badge** to choose another one, or none. See "How do I pick a Sweep keeper role in the eclean Discord server".

The bot removes the roles it manages when your account is unlinked, and removes the Pro role when your account no longer has Pro.

## How do I link my account?

1. Connect Discord to eclean. Do one of these:
   - Sign in with Discord at [eclean.gg/auth/login](https://eclean.gg/auth/login).
   - Sign in with your email, then select **Link** next to Discord under **Connected accounts** on the **Profile** page at [eclean.gg/account](https://eclean.gg/account).
2. Join the eclean Discord server if you have not yet.
3. In the server, type **/link** and send it.
4. Read the reply. Only you can see it.

If you joined the server after step 1, the bot has probably linked you already. Run **/link** to check.

## What does /link reply?

| Reply title | What it means |
|---|---|
| **Account linked** | Your Discord account is now linked to your eclean account. Roles are set. If you have Pro, it also says "You have **eclean Pro**". |
| **Account synced** | You were already linked. The bot refreshed your roles from your eclean account. |
| **Link your eclean account** | The bot found no eclean account for your Discord account. Select **Connect on eclean.gg**, connect Discord, then run **/link** again. |
| **Already linked** | The bot remembers a link but could not find your account just now. Try again in a moment. |
| **Slow down** | You ran **/link** too often. Wait the number of seconds it shows. |

Run **/link** in the server, not in a direct message with the bot. In a direct message the bot cannot set roles.

## How do I show eclean on my Discord profile?

After **/link**, select **Show eclean on your profile** under the reply. Discord asks for your permission. When it finishes, a page confirms **Your eclean account is connected**. Then open the server menu in Discord, choose **Linked Roles** and claim the **eclean Account** role. Your eclean account then shows on your profile.

| Page title | What to do |
|---|---|
| **Link your eclean account first** | Discord is connected but not linked to an eclean account. Select **Connect on eclean.gg**, link Discord, then select **Try again**. |
| **Connection cancelled** | You closed Discord's permission screen. Select **Try again** when you are ready. |
| **Something went wrong** | Select **Try again** in a moment. |

## How do I check which badges I have?

Type **/badge**. The reply lists the badges on your account and which one shows now. Only you can see it. If it says **No badges yet**, your account is linked but has not earned a badge.

## How do I remove the link and my roles?

Type **/unlink** in the server. The bot asks **Unlink your account?**. Select **Unlink** to confirm, or **Cancel**. After you confirm, the bot forgets the link and removes your linked, Pro and badge roles.

**/unlink** does not disconnect Discord from your eclean account. To do that, follow [Unlinking Discord or Google from your eclean account](https://help.eclean.gg/en/article/unlinking-discord-or-google-from-your-eclean-account-1im3qec/). Until you do, running **/link** or joining the server again links you again.

## Why didn't I get my roles?

| Problem | Fix |
|---|---|
| **/link** says **Link your eclean account** | Discord is not connected to your eclean account. Sign in with Discord or use **Link** on the **Profile** page, then run **/link** again. |
| You linked, but a badge role is missing | You hold one badge role at a time. Run **/badge** to see which one shows and to pick another. The server decides which badges have a role. |
| The Pro role is missing | Your eclean account must have Pro. Check your plan, then run **/link**. See [Pro is not showing after I paid](https://help.eclean.gg/en/article/pro-is-not-showing-after-i-paid-1yyvqtq/). |
| You used **/link** in a direct message | Run it in the server instead. |
| The reply is slow or fails | Wait a minute and try again. |
| Still nothing | Email [hello@eclean.gg](mailto:hello@eclean.gg) with your account email and your Discord username. |

## What happens to my data if I leave the server or delete my account?

If you leave the server, the bot erases what it stores about you after 30 days. Joining again within that time cancels the erasure. If you delete your eclean account, the bot erases your data right away and removes the roles it set. Moderation records stay. See [Deleting your eclean account](https://help.eclean.gg/en/article/deleting-your-eclean-account-7rnpfm/).

## Related articles

- [Unlinking Discord or Google from your eclean account](https://help.eclean.gg/en/article/unlinking-discord-or-google-from-your-eclean-account-1im3qec/)
- [How to create an eclean account](https://help.eclean.gg/en/article/how-to-create-an-eclean-account-b2ypa8/)
- [How eclean Friends rewards work](https://help.eclean.gg/en/article/how-eclean-friends-rewards-work-7anomk/)
- [How to contact eclean support](https://help.eclean.gg/en/article/how-to-contact-eclean-support-r6gqzd/)
- [How do I pick a Sweep keeper role in the eclean Discord server?](https://help.eclean.gg/en/article/how-to-pick-a-sweep-keeper-role-9dm9bi/)
- [How do I use the eclean bot commands in the eclean Discord server?](https://help.eclean.gg/en/article/how-to-use-the-eclean-bot-commands-1o2vp5d/)