Help Center

Deploy your first bot

From an empty pool to a running bot.

Quick steps

  1. Open Bot Cloud in the dashboard and use Deploy a bot.
  2. Choose a name, runtime (Node.js, Python, Java, Go, Rust and more) and version, then the memory and storage to give this bot from your pool.
  3. Enter the startup file, for example index.js, and your environment variables. Values such as bot tokens go straight to your bot and are never shown again.
  4. After it is created, open the bot's files and console from its row, upload your code, and start it.
  5. Your total allocation across all bots can never exceed your purchased pool.

Before you start

Make sure your bot runs on your own computer, reads its token from an environment variable, and lists its dependencies in a package file. The guide "Get your bot ready before you upload" covers each check.

Choosing memory and storage

Every bot takes its memory and storage from your pool. Each bot needs at least 256 MB of memory, set in steps of 128 MB, and at least 512 MB of storage.

Small command bots often run comfortably at the minimum. Bots that play music, cache many servers or process images need more. Start modestly and increase it if the memory meter stays high.

Uploading your code

  • Upload your project files through the file manager in the control panel, or with SFTP for larger projects.
  • Do not upload installed dependency folders such as node_modules. They are installed from your package file when the bot starts.
  • Make sure the startup file you entered matches the file name exactly, including capital letters and any folder.

After the first start

Watch the console for the first minute. Dependencies are installed and the bot starts. A message from your bot such as "Logged in as" confirms it is online.

Never share your password, a bot token, a private key or card details with anyone, including Hartwell staff.

Related articles

Still stuck? Open a support request from your dashboard, or use /support in the Hartwell Discord server.

← All help articles