Discord
Register OAuth2 app
Go to the Discord Developer Portal: https://discord.com/developers/applications and create a new Application.

Click “New Application”
Give it a name, accept their Terms of Service and click “Create”
Open your new application
Basic Information
To obtain your OAuth credentials, go to OAuth2 tab:

Client ID: shown on the “Client information” card as “Client ID”
Client Secret: click “Reset Secret” to generate a secret and copy it
You’ll paste these into the Appmixer Backoffice later.
OAuth2 & Redirect URL
You must add the redirect/callback URL so Discord can return users to Appmixer after authorization.
Go to OAuth2 tab
In “Redirects”, add your Appmixer URL. Example:
https://api.YOUR_SUBDOMAIN.appmixer.cloud/auth/discord/callback
Note: Replace YOUR_SUBDOMAIN with your actual Appmixer subdomain. The path “/auth/discord/callback” follows the same pattern as other Appmixer connectors.

Add a Bot and get the Bot Token
To make the events (sending messages, reacting to events) be from a bot, add one:

Click “Reset Token” to reveal the Bot Token and copy it
Keep the token secure. You’ll paste it in the Backoffice as well.
Check the settings below in Authorization Flow, recommended set up is:
Public Bot: ON
Requires OAuth2 Code Grant: ON
Server Members Intent: ON
Rest can be turned off.

Scopes and Permissions
How you configure scopes:
Installation → Default Install Settings:
User Install: applications.commands
Guild Install: applications.commands, bot

Backoffice (Appmixer admin)
Copy and paste the values into the Backoffice under the Discord connector configuration (appmixer:discord):

clientId → "Client ID" from Discord
clientSecret → “Client Secret” from Discord
botToken → “Bot Token”
After saving, return to your flow in Appmixer. Click “Connect account” for the Discord connector, complete the authorization, and you’re ready to use Discord components in your flows.
Last updated
Was this helpful?