> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://ajuda.close.fans/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).

# Criar o bot no Telegram

> **Passo 2 de 4 do wizard.**

O bot vive dentro do Telegram. Pra criar, você usa o **BotFather** — o bot oficial do Telegram que cria outros bots. É rapidinho.

## Como criar o bot
1. No Telegram, abra a conversa com o **@BotFather**
2. Mande `/newbot`
3. Escolha um **nome de exibição** (ex: "Bot do Fenômeno") — o que aparece no Telegram
4. Escolha um **username** que termine em `bot` (ex: `fenomeno_bot`)
5. O BotFather responde com o **token** do bot — algo tipo `123456789:ABC-DEF1234ghIkl-zyx57W2v1u123ew11`
> **Guarde esse token com cuidado.** Quem tem o token consegue controlar o seu bot. Não compartilhe em lugar público.

## Colar o token no Closebot
Volte pro Closebot. O wizard tá na tela **"Agora é hora de criar um bot no Telegram e conectá-lo aqui"**.
1. Cole o **token do bot** no campo
2. O Closebot valida automaticamente — se aparecer o check verde ✅, tá conectado
3. Clique em **Avançar**

## Não conseguiu gerar o token?
Na própria tela do wizard tem um accordion **"Não sabe como gerar o token? Veja o passo a passo"** — abre o tutorial com prints do BotFather.

## Token inválido ou já em uso
* **Token inválido:** confira se você copiou o token inteiro, sem espaço no começo ou no fim
* **Token já está conectado a outra conta:** cada bot só pode estar conectado a uma conta da Close Fans por vez. Crie um bot novo no BotFather.

