Link your WhatsApp
Your pair code will appear here
QR Code

Scan this QR code with WhatsApp

Configure your deployment
Auto Read Messages Bot marks messages as read automatically
Auto View Statuses Bot automatically views WhatsApp statuses
index.js
Fill in your details above, then click
Generate index.js
node index.js Save the file and run this — that's it.
Deployment instructions
  1. 1
    Create a Render account
    Go to render.com and sign up — linking with GitHub makes the next step easier.
  2. 2
    New Background Worker
    Click New +Background Worker. Connect your GitHub repo or paste this URL directly:
    https://github.com/crysnovax/CODY
  3. 3
    Set build & start commands
    In the service settings, configure these two commands:
    npm install
    node index.js
  4. 4
    Add Environment Variables
    Under the Environment tab, add these key-value pairs:
    SESSION_ID
    OWNER_NUMBER
    OWNER_NAME
    BOT_NAME
    PREFIX
    MODE
    💡 Or skip env vars entirely — use the Generate Script tab to embed values directly.
  5. 5
    Deploy ✅
    Click Create Background Worker. Render will build and launch your bot automatically.
Free tier Render services spin down after inactivity. For a 24/7 bot, upgrade to a paid plan ($7/mo) or deploy on a VPS instead.
  1. 1
    Install Node.js 20 & Git
    SSH into your server and run these commands:
    curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
    sudo apt-get install -y nodejs git
  2. 2
    Upload your index.js
    Create a folder and upload the generated index.js file:
    mkdir cody-ai && cd cody-ai
    Use nano index.js to paste the script content.
  3. 3
    Install PM2 — keeps bot alive 24/7
    npm install -g pm2
  4. 4
    Launch with PM2
    pm2 start index.js --name cody-ai
    pm2 save && pm2 startup
  5. 5
    Useful PM2 commands
    pm2 logs cody-ai
    pm2 restart cody-ai
    pm2 stop cody-ai
Recommended providers: DigitalOcean, Hetzner, Contabo, or Oracle Cloud (free tier). Ubuntu 22.04 LTS works best.
  1. 1
    Create a Node.js server
    In your panel (Pterodactyl, Pelican, etc.), create a new server using a Node.js egg / template. Set RAM to at least 512 MB.
  2. 2
    Upload index.js
    Use the panel's file manager to upload your generated index.js to the server root.
  3. 3
    Set the startup command
    In Startup settings, change the start command to:
    node index.js
  4. 4
    Power on ✅
    Click the power button and watch the console. Your bot will install dependencies and go online automatically.
No Node.js egg available? Ask your host to install one from github.com/parkervcp/eggs.