== Secure the first application

To secure the first application, you start by registering the application with your {project_name} instance:

. Open the {links-admin-console}.
. Click *myrealm* next to *Current realm*.
. Click *Clients*.
. Click *Create client*
. Fill in the form with the following values:
** *Client type*: `OpenID Connect`
** *Client ID*: `myclient`
+
.Add client
image::add-client-1.png[Add client]
. Click *Next*
. Confirm that *Standard flow* is enabled.
. Click *Next*.
. Make these changes under *Login settings*.
* Set *Valid redirect URIs* to `+https://www.keycloak.org/app/*+`
* Set *Web origins* to `+https://www.keycloak.org+`
. Click *Save*.

.Update client
image::add-client-2.png[Update client]

To confirm the client was created successfully, you can use the SPA testing application on the https://www.keycloak.org/app/[Keycloak website].

ifeval::[{links-local}==true]
. Open https://www.keycloak.org/app/.
. Click *Save* to use the default configuration.
endif::[]

ifeval::[{links-local}!=true]
. Open https://www.keycloak.org/app/.
. Change `Keycloak URL` to the URL of your {project_name} instance.
. Click *Save*.
endif::[]

. Click *Sign in* to authenticate to this application using the {project_name} server you started earlier.
