Go to the "User Manager" section in the project tree. Here you can create usernames and assign numerical passwords.
If you are an integrator who has locked themselves out of a runtime function (e.g., you set a password to enter a setup screen and forgot it), you can write a rescue script. mcgs hmi password