DEV Community

WavePlay Staff for WavePlay

Posted on

Getting credentials for your Discord Activity

Discord Activities are awesome! They run inside Discord and can do all sorts of cool things like games, quizzes, and more. But to get started, you need to authenticate your activity with Discord.

This guide will show you how to get your credentials and start building your activity.

Create a Discord application

To get started, you need to create a new Discord application. This will give you access to the Discord API and allow you to authenticate your activity.

  1. Go to the Discord Developer Portal.
  2. Click on "New Application" and give your application a name.
  3. Click on "Create" to create your new application.


Click on "OAuth2" in the sidebar

Once you've created your application, click on "OAuth2" in the sidebar. This has all the stuff you need to authenticate your activity.

Here, you can find your "Client ID" and "Client Secret". You'll need these to authenticate your activity with Discord. You may need to click on "Reset Secret" to generate a new secret.


Go ahead and copy them to your project!

That's it!

That's all you need to get your credentials for your Discord Activity. Now you can start building your activity and authenticate it with Discord. Have fun! 🎉

Don't have a project yet?

If you don't have a project yet or want to start fresh, you can use the create-robo tool to create a new Discord Activity project. It's super easy and comes with everything you need to get started. Check it out!

npx create-robo my-activity --kit app
Enter fullscreen mode Exit fullscreen mode

We also have a tutorial on how to build a Discord Activity in seconds.

📖 Tutorial: Creating a Discord Activity in seconds

Still have questions? Join our Discord server and ask away. We're here to help you build amazing activities with Robo.js! 🚀

Top comments (0)