How can we help?

Discord Integration

Netanel Hugi
Netanel Hugi
  • Updated
Torii SMP
Torii Identity

Overview

Torii integrates with Discord and syncs the members of a connected Discord server (guild), along with license usage.

  • Supports connecting multiple Discord servers (accounts).
  • You can constantly stay updated with application information from our Integrations Page >> Integration Capabilities button >> Integration Capabilities table.

Requirements

To connect this integration, we require the following:

Accounts & Permissions

  • A Discord account with Manage Server (or Administrator) permission on the server you want to sync.
  • Access to the Discord Developer Portal to create an application and bot.
  • The bot must have the Server Members Intent (GUILD_MEMBERS) privileged intent enabled, and be invited to the target server.

Required keys

  • Bot Token - the token of the Discord bot you create.
  • Server ID - the ID of the Discord server (guild) to sync.

How to Generate the Required Values

Step 1: Create an application and bot

  1. Go to the Discord Developer Portal and log in.
  2. Click New Application, enter a name (e.g. Torii), accept the terms, and click Create. A bot user is created automatically.

Step 2: Enable the Server Members Intent

  1. Open the application and go to the Bot tab.
  2. Under Privileged Gateway Intents, toggle on Server Members Intent.
  3. Click Save Changes.

Step 3: Copy the bot token

  1. On the Bot tab, click Reset Token and confirm.
  2. Copy the revealed token.

Important
The bot token is shown only once. Copy it immediately and store it securely - if you lose it you will need to reset the token to generate a new one.

Step 4: Invite the bot to your server

  1. Go to the Installation page (or OAuth2 > URL Generator and select the bot scope).
  2. Copy the install link, open it in your browser, choose Add to Server, select your server, and approve.

Step 5: Find your Server ID

  1. In Discord, open User Settings > Developer and enable Developer Mode.
  2. Right-click your server icon and choose Copy Server ID.

How to Connect the Integration

  1. Go to the Integrations page in Torii.
  2. Search for Discord and click Connect.
  3. Enter the Bot Token and Server ID.
  4. Click Connect.


For any further questions, please contact Torii Support.

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request