Discord

This guide walks you through setting up a Chakra AI Agent to work with Discord, using a bot integration. You’ll generate credentials via the Discord Developer Portal, configure Chakra, and deploy your


✅ Step 1: Ensure Your Chakra Agent is Live

Before integrating with Discord, make sure your Agent is active:

  • Go to the Chakra Dashboard

  • Open your Agent

  • Confirm the Agent status is LIVE


⚙️ Step 2: Set Up a Discord Application

  1. Click “New Application”

  2. Name your app and click Create


🔄 Step 3: Enable Installation Contexts

  1. In your Discord Developer Application, go to the “Installation” section

  2. Under Installation Contexts, make sure both boxes are checked:

    • User Install

    • Guild Install

This allows your bot to be installed by users and into servers (guilds)

🔐 Step 4: Get Your Application ID and Bot Token

  1. In your new app:

    • Go to General Information

      • Copy your Application ID

    • Go to the Bot tab

      • Click Add Bot (if not already created)

      • Click Reset Token, then copy the Bot Token

  2. Still in the Bot tab:

    • Scroll down to Privileged Gateway Intents

      • Enable:

        • ✅ Presence Intent

        • ✅ Server Members Intent

        • ✅ Message Content Intent


🔑 Step 5: Add Credentials to Chakra

  1. Go back to the Chakra Studio

  2. Navigate to your Agent

  3. Click Secrets in the sidebar

  4. Paste:

    • Application ID into DISCORD_APP_ID

    • Bot Token into DISCORD_BOT_TOKEN

  5. Click Update in the bottom right


📡 Step 6: Install the Agent into Discord

  1. In your Chakra Agent settings, go to the Social Presence tab

  2. Click Install Agent

  3. You’ll be redirected to Discord’s authorization page

  4. Choose the server you own or manage

  5. Authorize the bot

Once added, your bot should appear online in the server.

Last updated