# Create User and Assign Role

## Description

The guide here provides steps to create a new user and assign a role. This process is typically done by the Administrator.

## Pre-requisites

The user should have an Administrator role.

## Steps

1. Navigate to *Settings* using the menu bar.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2Fgit-blob-fa1b2dbe2213896b931c9db2ad9b5ea9fcb2a03c%2Fsettings-menu-bar.png?alt=media" alt=""><figcaption></figcaption></figure>

2. Click on *Users & Companies* and then select *Users* to reach user's list view page.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2Fgit-blob-fef42c50c958d979796d56607528e5ee2d57c4ee%2Fuser-and-companies.png?alt=media" alt=""><figcaption></figcaption></figure>

3. Click on the *Create* button to reach user creation page.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2Fgit-blob-03d61c06a6a00c6a9496477ca990ccd04b453424%2Fuser-creation-page.png?alt=media" alt=""><figcaption></figcaption></figure>

4. *Email:* Provide a valid email Id. The invitation email will be sent to this Id.
5. Select the role for a user from the *OpenG2P module access* section.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2Fgit-blob-d765d670df0410cfe42dff5d6ccbf74284e16cef%2Fopeng2p-module-access.png?alt=media" alt=""><figcaption></figcaption></figure>

6. Once the user is saved it will be listed under the user list view page and the invitation mail will be triggered.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2Fgit-blob-7c3db99ca286f2c79d7eb426ef83e90c358af6c6%2Fuser-list-view-page.png?alt=media" alt=""><figcaption></figcaption></figure>


---

# 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://docs.openg2p.org/1.1/guides/user-guides/assign-roles-to-users.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.
