How to host a Discord bot for free

Create a Discord bot, run it on FreeBot without a card and invite it to your bot, step by step.

What you need

  • A free FreeBot account (no card needed).
  • A Discord account and a server where you can add bots.

1. Create the bot in Discord

  1. Open the Discord Developer Portal and click New Application. Give it a name.
  2. Open Bot in the menu and click Reset Token. Copy the token and keep it secret.
  3. Under Privileged Gateway Intents, turn on Server Members Intent and Message Content Intent if your bot reads messages or welcomes members.

2. Create the bot on FreeBot

  1. Sign in and click Get my free bot.
  2. Pick Discord bot (Node.js) or Discord bot (Python).
  3. Open Settings, find DISCORD_TOKEN under Variables and paste your token. Save.
  4. Press Start. The logs show Installing packages... and then Online as YourBot.

3. Invite the bot to your Discord server

  1. In the Developer Portal, open OAuth2, then URL Generator.
  2. Tick bot and applications.commands, choose the permissions your bot needs and open the link at the bottom.
  3. Pick your server and confirm. Type /ping and the bot answers.

Keep it online

A free bot runs as long as you renew it once a day with a short ad. For a bot that is online all the time without ads, choose Spark or Nova.

Ready to build?

Run your bot for free. No card needed.

Create my free bot

More guides