Create / Update Rasa X Users
Rasa X User Management Instructions
Rasa X version 0.33.0 or higher is only compatible with Rasa Open Source 2.x. If you are on Rasa Open Source 1.x, please check the compatibility matrix for a compatible version.
You can either create users from the UI, or on the command line from within the Rasa X pod. The instructions below are for creating or updating users on the command line from within the Rasa X pod.
Steps to Create or Update Users
Get the name of the Rasa X pod:
- Kubernetes
- OpenShift
kubectl --namespace <your namespace> get pod -l app.kubernetes.io/component=rasa-xThe output should be similar to this:
NAME READY STATUS RESTARTS AGE rasa-rasa-x-6dcf57bb45-jnt4f 1/1 Running 2 17hrasa-rasa-x-6dcf57bb45-jnt4fis in our case the name of the Rasa X container.Connect to the shell of this pod:
- Kubernetes
- OpenShift
kubectl --namespace <your namespace> exec -it <name of the Rasa X pod> bashRasa Enterprise only: Run the following command to create a new user. Please see Role-Based Access Control for available default roles.
python scripts/manage_users.py create <username> <password> <role>To update the password of an existing user (by default, the username for the single Rasa X user is
adminand its role isadmin) run the following command:python scripts/manage_users.py create --update <username> <password> <role>
Note
If you created a deployment via rasactl, the namespace name is the same as a deployment name. You can use the rasactl list command to display available deployments.