# How do I start Red-DiscordBot?

https://www.seturack.com/en/knowledgebase/article/how-to-start-red-discordbot

1. In the panel, open **My servers** and click your server.
2. On the **Overview** tab, wait for the **App** row to say "Red-DiscordBot is ready". The page refreshes itself.
3. Note the IP in the **Connection address** row.
4. Create an application in the [Discord Developer Portal](https://discord.com/developers/applications). On the **Bot** page, use **Reset Token** to get your token and turn on all three **Privileged Gateway Intents** on the same page. Red will not connect without them.
5. [Connect with SSH](https://www.seturack.com/en/knowledgebase/article/how-to-connect-with-ssh) and open the file: `nano /home/red/bot.env`
6. Paste the token after `RED_TOKEN=` and save. Red starts by itself within seconds.
7. Watch the log with `journalctl -u redbot -f`. When the bot connects, the log shows an Invite URL for your server.
8. Use that link to add the bot to your Discord server, then type `!help`.

## Good to know

- With no token, the service stays up and logs "token bekleniyor / waiting for token". That is normal.
- `RED_PREFIX` in `/home/red/bot.env` sets the command prefix. After changing it, run `systemctl restart redbot`.
- The music add-on needs Java, which comes installed. Turn it on in Discord with `!load audio`.
- To update: `systemctl stop redbot`, `su - red -c "redenv/bin/python -m pip install -U Red-DiscordBot"`, `systemctl start redbot`.
- The bot takes no incoming connections, so only port **22** for SSH is open. Your data is in `/home/red/redbot-veri`.

**No server yet?** [Order a server with Red-DiscordBot installed](https://www.seturack.com/en/redbot-vps): you choose the size and pay for what you choose.
