EveryAppEveryApp
Providers

Discord

The person's Discord account and servers, and installing a bot in a server.

The person's Discord account and servers, and installing a bot in a server.

Connect accounts

Each person connects their own Discord account in the Gateway, once, and every app that asks uses it. Apps never see the tokens. How connecting works

The redirect URI to register, with your Gateway's address (like apps.example.com):

https://<your gateway>/connect/discord/callback

Posting as the bot uses the bot's own token, an app secret the Gateway doesn't hold. Not yet tried against a live connect.

  1. Open discord.com and create an OAuth app (also called a client or an integration).
  2. Add the redirect URI above.
  3. Copy the client ID and client secret. The secret is often shown only once.

Add it to your Gateway. It asks for the client ID and secret:

everyapp provider add discord

Or add it in Manage workspace → Providers.

Use it in an app

capabilities: {
  discord: { access: "read", scopes: ["servers.read"], why: "What the app does with it." },
},

Apps ask for these scope sets:

SetAllowsProvider scopes
identityDiscord account (who you are)identify
servers.readServers you are in (read)identify, guilds
bot.writeAdd the bot to a serveridentify, guilds, bot

Check it worked: everyapp provider show discord shows the client as set. Then open the account menu → Connected accounts → Connect Discord.

Something wrong or missing? Open an issue.

On this page