Integration Guide

Discord

Add your AI to Discord servers

Prerequisites

  • A Discord account
  • A Discord server where you have admin permissions
  • A deployed Flowly server
  • Pro or Business plan

Step 1: Create a Discord Application

  1. Go to the Discord Developer Portal
  2. Click New Application
  3. Give your application a name (e.g., "Flowly AI")
  4. Click Create
Open Developer Portal

Step 2: Create a Bot

  1. In your application, go to the Bot section
  2. Click Add Bot
  3. Under Privileged Gateway Intents, enable:
    • Message Content Intent (required!)
  4. Click Reset Token to get your bot token
  5. Copy the token (you'll need this for Flowly)

Critical: Enable Message Content Intent

Without this enabled, your bot won't be able to read messages. This is the most common setup issue!

Step 3: Invite Bot to Your Server

  1. Go to OAuth2 → URL Generator
  2. Under Scopes, select bot
  3. Under Bot Permissions, select:
    • Read Messages/View Channels
    • Send Messages
    • Read Message History
  4. Copy the generated URL and open it in your browser
  5. Select your server and authorize the bot

Step 4: Connect in Flowly

  1. Go to your Flowly dashboard
  2. Navigate to your server's Connections tab
  3. Click Connect Discord
  4. Paste your bot token
  5. Click Connect

Step 5: Start Using

Your bot is now online in your Discord server! Mention the bot or DM it to start chatting.

Example commands:

  • @FlowlyAI What can you help me with?
  • @FlowlyAI Summarize the last 10 messages in this channel