Before starting
Create or select the bot in the Discord Developer Portal and keep its token private. A bot token is equivalent to a password. Never publish it in a screenshot, repository, chat message, or support ticket.
Configure the server
- Open the bot server in the server panel.
- Open the Startup tab.
- Enter the environment values required by your bot, such as the bot token, application ID, guild ID, or command prefix.
- Set the server name if you want a recognizable name in the panel.
- Upload the bot files through SFTP and start the server.
The required values depend on the bot's code. Check its README or configuration example for the exact variable names. Do not guess a variable name when the application documents a different one.
Reading startup errors
The console should show the runtime version, dependency installation result, and bot login result. Errors about missing packages usually mean the dependency file was not uploaded or the install command did not complete. Errors about authentication usually mean the token is missing, expired, or was copied with extra spaces.
If a token was exposed, reset it in Discord immediately and replace it in the server's Startup settings.