# User Roles and Access Control

{% embed url="<https://youtu.be/zHwm38esQqY>" %}

In this article, we will look at the user lists and role management features in detail.

### How to Create a New User

{% hint style="info" %}
**Note:** When you run the application for the first time, sign in using the default credentials provided on our help site.

*Username: admin*

*Password: Admin123*
{% endhint %}

Once you have logged in, you now have the option to create new users and we recommend you do this as a first step.

1. To create/register a new user, right-click on the *DEFAULT* server node in the *Server Explorer* window and select *User List* from the context menu.

<figure><img src="https://3891069449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28dJIkGHacXhBlux3efx%2Fuploads%2FFaAucgIRP0PRtUe9ETpW%2F01-User-List.png?alt=media&#x26;token=e10ff11a-cd80-48f2-b492-9e3859ed223e" alt=""><figcaption></figcaption></figure>

2. A new window called *User Management* will open. On this screen, you will see a list of all registered users.

<figure><img src="https://3891069449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28dJIkGHacXhBlux3efx%2Fuploads%2Fg2VhnWpf63nFhew0WT1M%2F02-Registered-Users.png?alt=media&#x26;token=8dee9f5b-663c-40df-9d46-13bbe41ed3a5" alt=""><figcaption></figcaption></figure>

3. Click on the *Register User* icon on the top left corner of the screen. A new window will open and you will be asked for the registration details. Fill in the required details and click *Register*.

<figure><img src="https://3891069449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28dJIkGHacXhBlux3efx%2Fuploads%2F8GV2z8fTcjH8x30HVU4T%2F03-Register-User.png?alt=media&#x26;token=fe9ae835-da02-4755-93c0-b0eb59f3deb5" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3891069449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28dJIkGHacXhBlux3efx%2Fuploads%2FXttAOsHCqZI2BpKuL5pc%2F04-Register-User-Details.png?alt=media&#x26;token=dffa1ceb-33a0-44cc-bc6a-f2c774822e3e" alt=""><figcaption></figcaption></figure>

4. You will see that the new user is now added to the list.

<figure><img src="https://3891069449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28dJIkGHacXhBlux3efx%2Fuploads%2F61ERGeBKqNVv9LfHoPyl%2F05-User-Added.png?alt=media&#x26;token=2ac6cedf-3569-4bd6-8ec2-1871794cf001" alt=""><figcaption></figcaption></figure>

### How to Assign User Roles

Now that a new user is registered, the next step is to assign roles to the user.

1. Select the user you want to assign the role(s) to and right-click on it. From the context menu select *Edit User Roles*. Alternatively, you can select the user and click on the *Edit User Roles* icon in the icon bar on the top left.

<figure><img src="https://3891069449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28dJIkGHacXhBlux3efx%2Fuploads%2Fs1QGbF3Koa5rlv95uNM0%2F06-Edit-Roles-Direct.png?alt=media&#x26;token=7e04e0fe-2bb1-488b-80c4-8d8069a941d3" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3891069449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28dJIkGHacXhBlux3efx%2Fuploads%2FMwmtncPb7lDHBoBSePv6%2F07-Edit-Roles-Icon.png?alt=media&#x26;token=766186f8-2478-4b46-9d0c-e73e9833547f" alt=""><figcaption></figcaption></figure>

2. A new window will open where you can see all roles that are there by default in Astera or are custom created. We haven’t created any custom roles, so we’ll see the three default roles that are - *Developer*, *Operator*, and *Root*.

<figure><img src="https://3891069449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28dJIkGHacXhBlux3efx%2Fuploads%2FnOupJ1jFSPBnhcwsRxmt%2F08-All-Roles.png?alt=media&#x26;token=91015556-8bf2-40f9-878a-2d1458899142" alt=""><figcaption></figcaption></figure>

3. Select the role that you want to assign to the user and click on the arrows in the middle section of the screen. You’ll see that the selected role will get transferred from the *All Roles* section to the *User Roles* section. You can assign multiple roles to a single user.

<figure><img src="https://3891069449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F28dJIkGHacXhBlux3efx%2Fuploads%2F3LoNMS72vbD9LG8PPX4j%2F09-Select-Roles.png?alt=media&#x26;token=820f4328-b962-45a5-a690-6c9004d00c44" alt=""><figcaption></figcaption></figure>

4. After you have assigned the roles. click OK.
