Skip to main content
How to Add a User in Keycloak
Updated over 2 weeks ago

To add a new user in Keycloak, follow these steps:

Step 1: Log in to the Keycloak Admin Console

Requirement: The (Partner/customer/internal) user is assigned user_admin role in the relevant keycloak realm/tenant

  1. Navigate to the Keycloak Admin Realm Console in your browser.

  2. Enter your user credentials to log in.

Step 2: Navigate to the User Management Section

  1. In the left-hand menu, click on Users under the "Manage" section.

Step 3: Create a New User

  1. Click the Add user button in the middle of the Users page.

  2. Fill in the following fields:

    • Email: Enter the user's email address.

    • First Name: Enter the user's first name.

    • Last Name: Enter the user's last name.

  3. Set the Email Verified option to "On" if you want the email to be considered verified.

  4. Click the Save button to create the user.

Step 4: Reset the User’s Password

  1. After saving the new user, you will be redirected to the user’s details page.

  2. Click on the Credentials tab.

  3. Click the Credential Reset button.

  4. Select the Update Password option in the required actions field. (optional configure how long it should be valid to use the link to update the password)

  5. Click the Send Email button to send the email to the user.

Step 6: User Sets Their Password

  1. The user will receive an email with a link to set their password. The email will look similar to the example below (Unless we update the email theme).

  2. The user should click the link, which will direct them to a secure page where they can enter and confirm their new password.

Did this answer your question?