Partials getting started
Step 1: Create a Discord Developer Team
Section titled “Step 1: Create a Discord Developer Team”Before you start, you'll need to create a developer team on the Discord Developer Portal. This team will be used to manage your Discord applications and SDK integrations.
If you already have a team configured, you can skip this step.
- Create a developer team on the Discord Developer Portal.
Later, you can invite your team members to your new team to collaborate on your integration.
Step 2: Create a Discord Application
Section titled “Step 2: Create a Discord Application”- Create a new application on the Discord Developer Portal and assign it to your team.
- Add a redirect URL in the OAuth2 tab:
- For desktop applications:
http://127.0.0.1/callback(this can be changed later). - For mobile applications (iOS/Android):
discord-YOUR_APP_ID:/authorize/callback(replaceYOUR_APP_IDwith your Discord application ID). - See
discordpp::Client::Authorizefor more details on setting up more advanced redirect URIs.
- For desktop applications:
- Enable the
Public Clienttoggle in the OAuth2 tab.
Step 3: Enable Discord Social SDK for Your App
Section titled “Step 3: Enable Discord Social SDK for Your App”Once you've created your Discord application, you'll need to enable the Discord Social SDK for it.
- From the Discord Developer Portal, select your newly created application from Step 2.
- In the left sidebar for your app, locate and click the Getting Started link under
Discord Social SDK. - Fill out the form to share details about your game.
- Click
Submitand the Social SDK will be enabled for your application. - Once enabled, you'll find binaries for the Social SDK under Downloads.