Deploying Rapidflare

Integrating Rapidflare AI Agent with your Discord server

This guide will help you learn how to integrate Rapidflare into your Discord server. This is an admin flow.

Prerequisites

  • Discord server administrator permissions
  • Access to the Rapidflare Admin Dashboard

Coming Soon

This feature is currently being implemented. Please use Option B (Custom Agent) for now.

This will be the simplest way to get started. You'll use Rapidflare's Discord agent without needing to create your own Discord application.

Option B: Using Your Own Agent (Custom Agent)

If you prefer to use your own Discord application with custom branding, follow these steps.

Step 1: Create Discord Application

  1. Go to the Discord Developer Portal
  2. Click New Application
  3. Enter your application name (e.g., "Your Company Agent")
  4. Click Create

Discord Developer Portal

Step 2: Get Credentials

  1. In the left sidebar, click Applications and select the application you just created.
  2. Click Bot and then click Reset Token to copy the Bot Token (save this securely!)

Bot Token

  1. Go to General Information:
    • Copy the Application ID
    • Copy the Public Key

Application ID and Public Key

  1. Go to OAuth2:
    • Copy the Client Secret

Client Secret

Step 3: Configure in Rapidflare Dashboard

  1. Go to your admin dashboard's Deployments page

Deployments Page

  1. Click on Discord and select Use Custom Agent option
  2. Enter the credentials you collected:
    • Bot Token
    • Application ID
    • Public Key
    • Client Secret

Add Credentials

  1. Click Confirm. Rapidflare will generate the Interactions Endpoint URL and OAuth Redirect URL.

Generated URLs

Do NOT click Continue yet!

You must configure the generated URLs in Discord Developer Portal first before proceeding.

Step 4: Set Redirect URLs in Discord Developer Portal

Go back to the Discord Developer Portal and configure these URLs. You can copy both URLs directly from the Rapidflare dashboard.

General Information → Interactions Endpoint URL:

Copy the Interactions Endpoint URL from the Rapidflare dashboard and paste it here.

Interactions Endpoint URL

OAuth2 → Redirects:

Copy the OAuth Redirect URL from the Rapidflare dashboard and paste it here.

OAuth Redirect URL

  1. After configuring the URLs in Discord, go back to the Rapidflare dashboard and click Continue.

Step 5: Invite Agent to Server

  1. Select your Discord server

OAuth Server Selection

  1. Authorize the required permissions
  2. The agent will appear in your server

Agent Invited

Customizing Agent Appearance

Good to know!

Unlike Slack, Discord allows full customization of agent name and avatar. You can change the agent's nickname per-server through Server Settings → Integrations → select your agent → Edit.

Next Steps

Congratulations! Your Discord agent is now connected to Rapidflare AI Agent.

To start using the agent, you need to activate it in specific channels using the /install command. See the Discord User Guide for:

  • How to use /install and /uninstall commands
  • Using the /ask command to interact with the AI Agent
  • Managing installed channels
  • Providing feedback on responses

For additional support, contact us at support@rapidflare.ai.

Previous
Slack