- Go to the Discord developer portal.
- Click the blue "New Application" button in the top corner.
- Give the new application a suitable name.
- Next, go to the "Bot" section and click "Add Bot".
- Set an icon and change the bot's username if you like.
- Uncheck the "Public Bot" setting.
- Copy the bot token by pressing the "Copy" button under the Token setting.