# Setup a Sybil-resistant Group or Channel

{% stepper %}
{% step %}

### <mark style="color:orange;">**Create a New Private Channel or Group**</mark>

* Start by creating a new private channel or group you want BotBasher to protect. Here are telegrams guides on creating private channels or groups

{% embed url="<https://telegram.org/faq_channels>" %}

{% embed url="<https://telegram.org/faq>" %}

*Note:* \
*1. BotBasher only supports Private groups and channels*\
*2. BotBasher will refuse to manage the groups or channels already having any unauthenticated users.* To manage groups/channels with unauthenticated users, use **Force Manage** (this will remove all unauthenticated users)
{% endstep %}

{% step %}

### <mark style="color:orange;">**Add**</mark><mark style="color:orange;">**&#x20;**</mark><mark style="color:orange;">**`humanode_botbasher_alpha_bot`**</mark><mark style="color:orange;">**&#x20;**</mark><mark style="color:orange;">**as an Admin**</mark>

* Start a private chat with `humanode_botbasher_alpha_bot`&#x20;

<img src="https://102401652-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE4cblYequDyYmxesuUfN%2Fuploads%2FlqWP0QN5zUdIatidVMmg%2FAlphabotstart.png?alt=media&#x26;token=0c5bfbd4-ee48-42f3-994f-7d9b21805cc4" alt="" data-size="original">

* Type `/admin` to open the admin menu and choose '**Admin a group'** or '**Admin a channel'** as needed

<img src="https://102401652-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE4cblYequDyYmxesuUfN%2Fuploads%2FTc5Tufm5zmHpafNe3QXJ%2Falphabotadmin1.png?alt=media&#x26;token=c9508a54-88af-4e37-983f-0bf8c8dc5603" alt="" data-size="original"><img src="https://102401652-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE4cblYequDyYmxesuUfN%2Fuploads%2FkjZXXyKPQRvrfo6dRXTq%2FAlphabotadmin2.png?alt=media&#x26;token=2d5949f8-e88f-479b-aedd-41996885a6d5" alt="" data-size="original">

* Select the group or channel that you want the bot to manage

![](https://102401652-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE4cblYequDyYmxesuUfN%2Fuploads%2FrJsHH60YDRIkkvno1Zpf%2Falphabotadminchannel.png?alt=media\&token=a06d9793-3cdd-4858-8c74-73ae7cce8bca)<img src="https://102401652-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE4cblYequDyYmxesuUfN%2Fuploads%2FtAhIZZh1rSChTEJ5fJLl%2FAlphabotadmingroup.png?alt=media&#x26;token=e93accd2-6a4b-4352-9148-7dcccbef07ea" alt="" data-size="original">
{% endstep %}

{% step %}

### <mark style="color:orange;">Set up Bot Management</mark>

* Select **‘Manage’** to allow the bot to oversee your group/channel

<img src="https://102401652-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE4cblYequDyYmxesuUfN%2Fuploads%2Fl2Q6czPJqFYhBt4BBg51%2FAlphabotmanage.png?alt=media&#x26;token=d2c9e3e2-ff53-4945-b562-6a23ccfbd4af" alt="" data-size="original">

* You’ll receive a confirmation message once the bot is managing the group/channel

<img src="https://102401652-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE4cblYequDyYmxesuUfN%2Fuploads%2F7XlirJcxGluu9xPuFkkP%2Falphabotmanageconfirm.png?alt=media&#x26;token=eb5bc11c-96da-4eb8-9432-2cfe24043ccc" alt="" data-size="original">

Follow Step 4 for setting up groups only. If you are setting up a channel directly skip to Step 5.&#x20;
{% endstep %}

{% step %}

### <mark style="color:orange;">Correct Group Settings</mark>

* Use the new **Correct Settings** button in the bot menu to fix group settings.\
  ![](https://102401652-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE4cblYequDyYmxesuUfN%2Fuploads%2F90rce93HYxLSSJEEqEjV%2FMonosnap%20Telegram%202024-12-27%2017-58-03.png?alt=media\&token=5cb03ad5-c963-4894-b1c0-fa2c7761661f)
* This will disable direct user invites by participants

*Note: For already created groups, If the group settings are not correct, the bot will stop managing the group.*

The bot is now successfully set up, all you need is to get a custom invite link to invite people
{% endstep %}

{% step %}

### <mark style="color:orange;">Generate a Custom Invite Link</mark>

* In the admin menu, select **‘Get Invite Link’**

<img src="https://102401652-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE4cblYequDyYmxesuUfN%2Fuploads%2FnCiMXw5dVOW405VYbeUK%2FAlphabotinvitelink.png?alt=media&#x26;token=6ca27dab-0c9f-436b-a4ec-c17665b96ae8" alt="" data-size="original">

* The bot will create a custom invite link for your group/channel

<img src="https://102401652-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE4cblYequDyYmxesuUfN%2Fuploads%2FP1jaXQBLndYlpxxUuUmX%2Falphabotinvite2.png?alt=media&#x26;token=d4d8b985-ed0d-424f-a171-92431895e939" alt="" data-size="original">

* Share this link with humans you want to add to your group/channel
  {% endstep %}
  {% endstepper %}
