How Do I Get My Discord Server Token?


Scott Campbell

In this tutorial, we will learn how to get your Discord server token. The server token is a unique identifier that allows you to authenticate and interact with the Discord API. It is important to keep your server token secure and not share it with anyone, as it can be used to gain unauthorized access to your server.

Step 1: Creating a Discord Application

To get your server token, you first need to create a Discord application. Follow these steps:

  1. Go to the Discord Developer Portal: Open your web browser and visit the Discord Developer Portal.
  2. Create a new application: Click on the “New Application” button.
  3. Name your application: Give your application a name that represents your Discord server.
  4. Copy Client ID: After creating the application, you’ll see a section with the name of your application and its unique Client ID. Copy this ID as we will need it later.

Step 2: Generating Your Server Token

Now that you have created an application, we can generate the server token:

  1. Select “Bot” from the left sidebar menu: In the left sidebar menu of your application page, click on “Bot”.
  2. Add Bot: Click on the “Add Bot” button to create a bot for your application.
  3. Copy Server Token: Under the “Token” section, you will see a button labeled “Copy”. Click on it to copy your server token to your clipboard.

Step 3: Adding the Bot to Your Discord Server

Now that you have your server token, you can add the bot to your Discord server:

  1. Authorize the bot: Visit the following URL in your web browser, replacing “CLIENT_ID” with the Client ID you copied earlier.
  2. Select a server: Choose the server where you want to add the bot from the dropdown menu. Make sure you have sufficient permissions to add bots to that server.
  3. Authorize: Click on the “Authorize” button to authorize the bot and add it to your selected server.


Congratulations! You have successfully obtained your Discord server token and added your bot to a Discord server.

Remember to keep your server token secure and never share it with anyone. With this token, you can now authenticate and interact with the Discord API for various purposes like creating bots or managing servers.

Note: It is essential to follow Discord’s terms of service and guidelines when using their API and building applications.

Danger: Never share your server token publicly or include it in any public code repositories, as it can be used by others to control or harm your Discord server.

We hope this tutorial was helpful in guiding you through obtaining your Discord server token. Happy coding!

Discord Server - Web Server - Private Server - DNS Server - Object-Oriented Programming - Scripting - Data Types - Data Structures

Privacy Policy