Discord Developer Portal: Everything You Need to Know

With this service, you can easily create Discord apps or bots

Reading time icon 3 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

discord developer portal

If you ever wanted to create a Discord app, you might’ve heard about the Discord Developer Portal. If you’re not familiar with it, in today’s guide we’ll show you everything you need to know about it.

What is Discord Developer Portal and how can I use it?

What is Discord Developer Portal?

Discord Developer Portal is a platform for developers that allows users to create their applications and bots that will interact with Discord.

What can the Discord Developer Portal do?

  • Create applications – The service can create applications and bots that will interact with Discord API and perform various tasks.
  • Bot management – With Discord Developer Portal you can configure your bot including its name, avatar, permissions, and tokens.
  • OAuth2 Integration – Using this service you can provide access to OAuth2 authentication, thus allowing you to log in to your app or website to login via Discord.
  • Use Webhooks –  Discord Developer Portal allows you to create and manage webhooks.
  • Design your app –With the service you can design the look of your app and provide interactivity.
  • API and documentation – Lastly, the service allows you to access extensive Discord API. It also provides documentation that can help you learn more about the API.

How can I create a new application in the Discord Developer Portal?

  1. Log in with your Discord account and go to the Applications page. Click the New Application button.
     new application discord
  2. Enter the application name and click on Create.
    create application name
  3. Look for the Application ID and Public Key. You’ll need these values later.
    application id and key
  4. Ensure that you have NodeJS and Git installed on your PC.
  5. Open the command line and run the following: git clone https://github.com/discord/discord-example-app.git
    clone git
  6. Next use the following commands to go to the discord-example-app directory and run the dependencies:
    cd discord-example-app
    npm install
  7. Next, go to the project folder and rename the .env.sample to .env.
  8. Open the .env file and replace <YOUR_APP_ID> and <YOUR_PUBLIC_KEY> with values from Step 3. Don’t close the file yet.
  9. Lastly, go to Developer Portal, go to Bot, and click on Reset Token.
    bot reset token
  10. Copy the next token to the .env file and replace <YOUR_BOT_TOKEN> with it.
  11. Save changes.

Now you can start coding and developing your app. For more information, we suggest visiting the API Reference page.

As you can see, it’s pretty simple to set up the Discord Developer Portal for a bot, and we hope this guide helped you understand how this service works.

If you wish to know more about Discord, we have great guides on how to create a Discord account and how to change your Discord password.

Before you leave, don’t miss our guide to learn if people can see which Discord servers you’re in and how to protect your privacy while using it.

One this that makes Discord great is the support for developers, and you can learn more about Discord in our Discord vs Telegram guide.

More about the topics: Discord

User forum

0 messages