Set up a Discord bot and connect it to your AI team.

Connecting Discord

Connect a Discord bot so your AI team can interact with users in your Discord server.

Setting Up the Bot

1. Create a Discord Application

  1. Go to the Discord Developer Portal
  2. Click New Application and give it a name
  3. Go to Bot in the sidebar and click Add Bot
  4. Under the bot's token section, click Copy to get the Bot Token
  5. Enable Message Content Intent under Privileged Gateway Intents

2. Invite the Bot to Your Server

  1. Go to OAuth2 > URL Generator
  2. Select scopes: bot
  3. Select permissions: Send Messages, Read Message History, View Channels
  4. Copy the generated URL and open it to invite the bot to your server
  5. Note your server's Guild ID (enable Developer Mode in Discord settings, then right-click your server name and copy ID)

3. Add a Discord Channel in Workspace

  1. Open your team in the editor
  2. Click Add Block and select Channel
  3. Choose Discord from the channel type dropdown
  4. Paste the Bot Token
  5. Enter the Guild ID (optional — limits the bot to one server)
  6. Save and start (or restart) the team

4. Start Chatting

Mention the bot or send a direct message in Discord. Your team will respond.

If you leave Guild ID empty, the bot will respond in any server it has been invited to.