These steps describe a safe setup for Node.js bots on hosting plans that support that runtime.
Step-by-step
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.
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.
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.
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.
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.
