> For the complete documentation index, see [llms.txt](https://cqube.sunbird.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cqube.sunbird.org/use-cqube/adding-users/adding-an-individual-user.md).

# Adding  an individual user

**Step 1 :** Post configuring Keycloak as explained here, navigate to the Users tab.

**Step 2 :** Click on the add User button.

<figure><img src="https://lh6.googleusercontent.com/9_gt-INUgN3uRi38bpffr2NG-zGSzJUutgjzE24oZCWPEit-ItlIOPQupVxXrkqkKnPZEYoZIZmGs8sEThlnLKcQx-frhFe9QQwOmwSUBW7keBvYJ06xY62GRiIRXSF7_4Sp7CdKv4r9YNe8d3-h-lk" alt=""><figcaption></figcaption></figure>

**Step 3 :** Enter the username for the user being created and save.

<br>

<figure><img src="https://lh4.googleusercontent.com/jxokXbfNzN7GM-GKJfff10w3nWc-F8gCuhnay5YI7-t6P0vO3xsf6jSNfzPmEOh8cK2vZl3oPt_1tsz-ZY86yC2ET0ldegayY2fbMQZq0hj6bwo_9Q6DMZAkEljZg8Wf-gbrpY8iCkNUWDY8SBkjA9o" alt=""><figcaption></figcaption></figure>

**Step 4 :** Once the user is created, navigate to the Credentials tab and enter the required password. Turn off the temporary password option and click on 'Set Password'.

<figure><img src="https://lh6.googleusercontent.com/FTObnD0Tike047IKtWyf1pb7JKbjyf6u0v3xaQRPTeZPZKGuN-msk5VNcUskJ2hNi-99C2Ws-fJyuxSE77k4zzZsl9DOxz1RkXb144Ndqf98zwizx2KZAXIoxnI_4aWaHgJ0L5HBgRBsjr7-akrPazk" alt=""><figcaption></figcaption></figure>

Step 5: Navigate to the Role-Mapping, under Realm-roles select private\_user and click on ‘Add selected’ button. This will assign the private\_user role to the created user.

<br>

<figure><img src="https://lh6.googleusercontent.com/WU7R49zl1M-KKoO1AK17BbzUU_uVcBrOYeBzbwz_TKWo8R9xuYzvX6EdnRfCtZk3p3HION3sJmkwAaCh0ziaqVMdVhAjVdTEdPHOa5xF5KpkVd-1KsSxO3d9Sj4Icn_nbXv8KPwx9I1ei5VY1FiKkBo" alt=""><figcaption></figcaption></figure>

✅ The required user has been added successfully!

**Steps to manually enable the flag to store Role-Info**

**Step 1 :** Navigate client scopes on the left hand navigation.&#x20;

**Step 2 :** Select roles under the client scopes in the table.

<br>

<figure><img src="https://lh5.googleusercontent.com/w9NGiRzpF2-7yBjdSjh_8vNp8MhpHBIk2T7QQ4BEfBaWKxNbWWapNEKo-6I9bhc1ZpY-6rlWevKna3RInTbHYj3Jk3Da4i3j7g8q7_-2LS9yDA4ExzhPDAydmCoS_ioJBWRwbl-fs6l2s1f7ZUu7gC8" alt=""><figcaption></figcaption></figure>

**Step 3 :** Navigate to the Mappers tab on the top and select realm roles.

<br>

<figure><img src="https://lh4.googleusercontent.com/yYgd2l533KKBJQyHDUjr3gqIw3vVu6Fs0TIgHfU1KqKWWKpiLVSammtnNYTMr_L8XAtCiLQTYho2rok9mrdSOd11u6VOmpLQpVdSivShYl48sPU1jlxwO5DDsoSlHcPIvchfJDkIvSKBpXHv3fOXT-E" alt=""><figcaption></figcaption></figure>

**Step 4 :** Toggle Add to UserInfo button and save.

<br>

<figure><img src="https://lh5.googleusercontent.com/UbFCVNB98nQSJ1I2zx-wBsP1ZX-zaqrWZ8S7vXVN5QcQqXT49ibn6rSHVjrZB2zlmFoW1QuRqYnUgDMq_1pf9PY0QKokIsZx1z1Nw7kxapBKEvyIGzo-V8lK37Js8jgDZ8x5QGb6qBmNJkqgNfRv-hM" alt=""><figcaption></figcaption></figure>

<br>

#### &#x20;

<br>

\
\
\ <br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://cqube.sunbird.org/use-cqube/adding-users/adding-an-individual-user.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
