# User accounts

After successful installation you will be asked on homepage to create new account. You must provide e-mail address and password. Newly created user is going to have **ROLE\_SUPER\_ADMIN** so it will be possible to access administration area under **/admin** URI. This registration will appear only on fresh installation and the condition is that system does not contain any user records.

Another way how to create a new user is to run a command within your terminal. Navigate to project root directory and run the command below which will create regular user without admin role. You will be asked to provide e-mail address and password.

```
php bin/console app:users:create
```

It is possible to add new super admin within the terminal as well. Just type the command below and newly created user will be assigned super user role.

```
php bin/console app:users:create-admin
```

{% hint style="info" %}
By typing **php bin/console help | grep app** in terminal you can list all commands coming from the application.&#x20;
{% endhint %}

In the **/admin** settings you can find important setting **Allow registrations** for allowing an access to create new user account within front end. By default this setting is disabled and you must enable it if you want to allow registrations.


---

# 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://codevision.gitbook.io/craft/creating-user-accounts.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.
