# Adding a User Type in DIVOC

## Overview

The document will cover steps on how to add a new user.

## Steps to add a user&#x20;

### Step 1:&#x20;

Login to keycloak (demo URL: [**https://demo-divoc.egov.org.in/auth**](https://demo-divoc.egov.org.in/auth/)). Click on the administration console and enter the username and password. Next, click on the "sign in" button.

![](/files/wRIc6ueiiF1xyYYYWYtZ)

### Step 2:

Go to the 'manage' section, and click on 'users.'

![](/files/1DJJiw4MS9toNf59SEUh)

### Step 3:

Click on "add user" to create a new user.

![](/files/qJBT45AsKWwpn2xbbAhu)

### Step 4:

Enter your mobile number as the user name, and click on save.

![](/files/Udm2laiE08xkLAAbd0rn)

### Step 5:

Click on 'attributes' and add the required attribute (mobile\_number) by clicking on the 'add' button. Next, click on 'save.'

![](/files/z6E5RwFLaBRQkut7Z6I2)

### Step 6:

Click on "role mappings" and select the type of role you want to add from the list of "client roles."

![](/files/Xy09nsDQzXJLheve1OAP)

### Step 7:

Select the role you want to add from the list of "available roles" and click on "add selected." Once you have completed this step, you will see the new user in the "assigned roles" section.

![](/files/lLrJ6hk06hdzG0WFfm8L)

[![Creative Commons License](https://i.creativecommons.org/l/by/4.0/80x15.png)](http://creativecommons.org/licenses/by/4.0/)*All content on this page by* [*eGov Foundation*](https://egov.org.in/) *is licensed under a* [*Creative Commons Attribution 4.0 International License*](http://creativecommons.org/licenses/by/4.0/)*.*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://divoc.digit.org/v2-2/platform/divocs-verifiable-certificate-features/adding-a-user-type-in-divoc.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
