Admin Account Creation
Creating your first admin user and user group.
As you set up your workspace, creating the first administrator account is one of the most critical steps. The administrator has the highest level of control over the workspace, making this role pivotal for effective workspace management. This guide will walk you through the process of creating the first administrator for your Rocket.Chat workspace.
If your server has no administrators, you can create the first admin account by defining the environment variables
ADMIN_EMAILonce. Open your terminal and specify these variables line by line.
export ADMIN_EMAIL=[email protected]
If you are hosting your MongoDB instance, such as MongoDB Atlas, change the MONGO_URL variable to your MongoDB connection string.
When installing Rocket.Chat server with the
docker compose file, you can also specify the
# - MAIL_URL=smtp://smtp.email