Deploying and running
How a deploy works, where your bot runs, and how to check that it's healthy.
What a deploy does
Compile. Buildcord compiles every enabled flow into a blueprint.
Check. The blueprint goes through the shape and reference checks. Errors stop the deploy and tell you which flow and step to fix.
Register. Buildcord registers your slash commands with Discord and sets up your bot's application there: where Discord sends its commands, and the intents its flows need. If that setup is changed in Discord later, Settings → Discord shows it and Fix it puts it back.
Run. The new version starts taking new runs. Runs already underway finish on the version they started on.
Where a bot runs
| Bot kind | Where it runs |
|---|---|
| Commands only | On a shared runner. Discord delivers commands and button presses to it. |
| Gateway | On a machine of its own, connected to Discord, in the region you choose. |
See Plans for what each costs and which flows need the gateway.
Bot tokens are stored encrypted. Bots' own machines have no public address, so you check their health in the bot's status in the builder.
Adding the bot to a server
Settings → Discord has an invite link that asks for exactly the permissions your flows use. Open it, choose a server, and approve.
Was this page helpful?