Skip to content

Configuration

Cynthia Lin edited this page Dec 9, 2017 · 32 revisions
Configuration

zulipbot supports custom configuration so project maintainers can enable or disable available features to support their various needs.

The configuration files are located in the ./config folder. ./config/default.js is the default configuration file and should be modified under no circumstances; instead, to modify the zulipbot configuration, simply

Authentication

Currently, the zulipbot client can only use basic authentication (username and password) to gain access to a user account. These credentials, along with the webhook secret, can be specified in two ways:

  • By setting them as Node environment variables
  • By creating a file named ./config/secrets.json and storing the credentials in the following format:
    {
      "username": "examplebot",
      "password": "verysecurepassword0w0",
      "webhookSecret": "12345tgbj876tgvcdert"
    }
    

Clone this wiki locally