Node server .env

Here are the .env file values with their descriptions. Please note that any changes to these values will require you to restart your Node.js server:

  • SERVER_DOMAIN: The domain for your panel (e.g., https://waticketsync.trenalyze.com). Do not include a trailing slash.

  • SERVER_SECRET: A random string used to secure your webhook endpoint from unauthorized access. This value must match the SERVER_SECRET in the panel’s .env file.

  • NODE_PORT: The port number on which your Node.js server should run. The default value is 8000.

  • BOT_PROVIDER: The WhatsApp server for your bot. Acceptable values are either awg or zender (case-sensitive).

  • ZENDER_SECRET: The API secret key for your Zender platform.

  • ZENDER_ACCOUNT_ID: The unique ID of a default sender, obtainable from the HOSTS -> WHATSAPP page in your Zender software.

  • ZENDER_DOMAIN: The domain for your Zender platform (e.g., https://example.com). Do not include a trailing slash.

  • ZENDER_WEBHOOK_SECRET: The secret key for your Zender webhook.

  • AWG_TOKEN: The AWG device token, available on the View Devices page.

  • AWG_NODE_DOMAIN: The domain where your AWG node server is installed.

  • AWG_DOMAIN: The main domain for your AWG admin panel.

  • AWG_EMAIL: The email associated with the account used for storing and processing customers' added devices. It is recommended that this account has no package limits.

  • AWG_PASSWORD: The password for the aforementioned email account.

  • TRIES: The number of retry attempts for failed messages. The default value is 3.

  • NODE_DOMAIN: The domain for your waticketsync node server (e.g., botserver.trenalyze.com). Do not include https ora trailing slash.

  • MARKETPLACE: The source where you purchased your license key. Acceptable values are visimisi, envato, or trenalyze (case-sensitive).

  • ENVATO_USERNAME -> This is required only if you purchased from Envato

  • ZENDER_WA_SERVER_ID -> Zender allows you to create multiple WhatsApp servers. If you're using zender as your bot provider, kindly enter the correct integer value here.

Last updated