Admin Account Creation

Creating your first admin user and user group
After deploying the server, the first user to register becomes the administrator, with the power to set other users as administrators.
Following the Rocket.Chat Setup Wizard, you get to create the very first admin user of your workspace.
Alternatively, you can configure an admin user during deployment by sepecifying it in the configuration files.
In case your server has no administrators, you can create the first admin account by defining the environment variables INITIAL_USER, ADMIN_PASS and ADMIN_EMAIL once.
export ROOT_URL=
export MONGO_URL=mongodb://localhost:27017/rocketchat
export PORT=3000
export ADMIN_USERNAME=admin
export ADMIN_PASS=supersecret
export ADMIN_EMAIL=[email protected]
node main.js
Installing with the docker compose file, you can also specify the INITIAL_USER, ADMIN_USERNAME and ADMIN_PASSWORD directly.
- PORT=3000
- ROOT_URL=http://localhost:3000
- MONGO_URL=mongodb://mongo:27017/rocketchat
- MONGO_OPLOG_URL=mongodb://mongo:27017/local
- ADMIN_PASS=supersecret
- OVERWRITE_SETTING_Show_Setup_Wizard=completed
# - MAIL_URL=smtp://smtp.emai