> For the complete documentation index, see [llms.txt](https://gitbook.humanode.io/botbasher/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.humanode.io/botbasher/telegram/admins/setup.md).

# 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="/files/kk7Lc43iNbOn0q6RqToJ" alt="" data-size="original">

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

<img src="/files/LYReGVavTYv0OKVUhVD4" alt="" data-size="original"><img src="/files/suW30AMg0hScmW4IjGuo" alt="" data-size="original">

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

![](/files/2qtfiAcnB7ZQh5N2mbTC)<img src="/files/9uGcMgpZ1gKST3XX2Is2" 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="/files/LUESJbzfG1lAaiZW5RrI" alt="" data-size="original">

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

<img src="/files/mD9HaCY5Pcrrf4z1Qojk" 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.\
  ![](/files/QfKwZIKmBzkF8waTt6Ey)
* 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="/files/pStzwGkjZUD8CZzfqN6D" alt="" data-size="original">

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

<img src="/files/UJNqOIIE9HrpTjpHcgvP" alt="" data-size="original">

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