Skip to main contentHow it works
The Discord connector indexes all channels for all servers (guilds) mentioned.
Setting up a Bot User
1. Create the Application
- Go to the “Bot” tab
- Enable “Public Bot” (optional, allows others to invite it)
- Enable “MESSAGE CONTENT INTENT” under Privileged Gateway Intents
- Click “Copy” to save the Bot Token
🔁 If lost, you can Reset Token
Inviting the Bot to Server(s)
- Go to your application at Discord Developer Portal
- Navigate to the “Installation” tab
- Enable Guild Install under Installation Contexts
- Under Scopes, add:
- Under Permissions, enable:
Manage Messages
Read Message History
View Channels
- Use the Discord-generated link to invite the bot to your server
Make sure you have “Manage Server” permission
- Open the invite link in your browser and add the bot to your server(s)
Indexing
- Navigate to the Connector Dashboard
- Select the Discord Connector
- Under Credentials, enter the Bot Token (from setup step 2)
- Provide the Server IDs
To get a server ID:
Right-click the server name (top-left) → Copy Server ID
- Provide Channel Names (optional)
To get a channel name:
Click ⚙️ next to the channel → Overview section
- (Optional) Set a Start Date (
YYYY-MM-DD
) to index messages after this date
Once configured, the connector will index all messages from the specified channels and servers where the bot is present.