Quickstart — Discord bots
Get your first Discord bot running on FlareX in under five minutes — sign in, describe the bot, add the token, deploy, invite.
Updated
This is the fastest path from "I want a Discord bot" to "it's running in my server." If you're building something other than a Discord bot — a dashboard, customer portal, internal tool, form, website, automation, or API — start with the systems quickstart instead, or browse all nine system types.
If you want both — a Discord bot AND a staff dashboard that share data — build the bot here, then return to /build/discord-dashboards for the dashboard side.
If you get stuck on the Discord side, the Developer Portal walkthrough covers it in depth.
A Discord account, roughly five minutes, and a Discord server you have permission to add bots to. No local dev environment needed.
Sign in with Discord
Go to flarex.app and click Get started. Sign in with Discord — we create your workspace automatically. No email confirmation step.
Create your first bot
In the panel, click Create bot and describe what you want in one sentence. Something like:
Create me a simple welcome bot that DMs new members with server rules.FlareX writes the initial code and shows you a proposal with a diff. Review and accept.
Get a Discord bot token
You need a token from Discord itself — FlareX doesn't create one for you (Discord doesn't let us).
Follow the Discord Developer Portal walkthrough to create an application, enable the right intents, and copy the bot token.
Heads upTreat the token like a password. Anyone with it can control your bot. Never paste it into chat, issues, or public git repos.
Add the token to Secrets
In your bot's panel, open Secrets and add:
DISCORD_BOT_TOKEN = <your token>Tokens are encrypted at rest and only decrypted at runtime on the runner host. You never see the plaintext again after saving.
Deploy
Hit Deploy. FlareX builds your bot in a sandboxed container, pushes it to a runner, and streams live logs. First deploy takes 30–60 seconds; subsequent deploys are faster.
Invite the bot to your server
Back in the Discord Developer Portal, use OAuth2 URL Generator to build an invite URL. Pick the scopes and permissions your bot needs, open the URL, and authorize it on your server.
The Developer Portal walkthrough §7 covers this in detail.
What's next
Once your first bot is up, iterate via chat. Ask FlareX to add commands, change behavior, or wire up new features. Every accepted change is a new version — you can roll back anytime.
- Managing bots — rename, pause, delete, move between workspaces
- Secrets — environment variables and rotation
- Deployments — build process, rollback, logs
- Databases — per-bot Postgres schema
- Billing — plans, AI credits, overages