Difficulty: beginner
Estimated Time: 5 minutes

Welcome to your first Keycloak Katacoda Scenario !

In this first scenario, you will learn the basics of Keycloak by creating your first Realm, Role and User.

Congratulation you have completed your first Keycloak scenario ! Now that we have a realm set up, we can start to secure applications.

Configuring Keycloak

Step 1 of 3

Creating the realm

Let's configure our Keycloak Server by creating a new Realm, a role and an user. For your convenience, a Keycloak Server has already been deployed and started. The initial admin user has also been created for you. Please refer to our documentation: https://www.keycloak.org/docs/latest/server_installation/index.html if you want to reproduce this locally.

Login to the Keycloak Admin Console

To access the Keycloak Web Console follow this link: https://[[HOST_SUBDOMAIN]]-8443-[[KATACODA_HOST]].environments.katacoda.com/

On the landing page, click on Administration Console. This will bring you to a login form. Enter the following credentials : admin / admin.

You are now on the Master realm configuration page but let's create our own realm.

At the top of the left menu, hover over Master and a button to add a new Realm will appear, click it. Give it a name, for instance katacoda and click create, congratulations you have created your first realm !