← Back

How to Create a Discord Bot Token

Follow these steps to get your bot token

1

Go to the Discord Developer Portal

Visit discord.com/developers/applications and log in with your Discord account.

2

Create a New Application

Click "New Application" in the top right corner. Give it a name (this can be anything) and click "Create".

3

Create a Bot

Go to the "Bot" tab in the left sidebar and click "Add Bot". Confirm by clicking "Yes, do it!".

4

Enable Required Intents

On the Bot page, scroll down to "Privileged Gateway Intents" and enable:

  • Server Members Intent
  • Message Content Intent
5

Copy Your Token

Click "Reset Token" and copy the token. Never share your token publicly. Paste it in the KMAlive bot builder.

6

Invite the Bot to Your Server

Go to "OAuth2" → "URL Generator" in the sidebar. Select these scopes and permissions:

  • Scopes: bot
  • Permissions: Send Messages, Manage Roles, Read Messages/View Channels

Copy the generated URL and open it in your browser to invite the bot.

Ready to build your bot? Create your first bot now →