Skip to main content

How do I register a new admin user after install?

Issue

I've just installed Element Enterprise On-Premise and would like to set up an admin user.

Environment

  • Element Enterprise On-Premise Installer 0.6.1

Resolution

Run the following command, substituting <registration_shared_secret> with what you specified in secrets.yml:

kubectl exec -n element-onprem -it pods/instance-synapse-main-0 -- register_new_matrix_user -u <username>  -p <password> -a -c /config/homeserver.yaml -k <registration_shared_secret>

Alternatively, you can browse to element web and register your first user there.

Root Cause

Element Enterprise does not automatically create any users for you and so you may register a user using the command in the resolution.