Lynzz Cloud
All Articles
Hosting & Runtime

Deploy WhatsApp or Telegram bots with Node.js

Upload the project, select startup, protect tokens and check logs.

These steps describe a safe setup for Node.js bots on hosting plans that support that runtime.

Step-by-step

01

Prepare a compatible project

Ensure your project includes package.json, clear dependencies, and an entrypoint such as index.js or main.js. Check whether it uses ESM or CommonJS.

02

Upload through File Manager

Open Files in your service panel and upload the project. Extract archives if supported. Avoid uploading local node_modules if dependencies can be installed on the server.

03

Configure startup

Follow the startup method supported by your plan. Many Node.js apps use npm start when package.json defines it. Do not rely on a terminal command that your panel does not allow.

04

Keep secrets private

Keep WhatsApp/Telegram tokens and API keys in environment variables when supported. Never publish them in a repository or share them unnecessarily.

05

Start and inspect Console

Press Start and inspect Console. If the bot exits, review the error without sharing secrets; check dependencies, Node version, entrypoint and connection configuration.