> For the complete documentation index, see [llms.txt](https://codevision.gitbook.io/craft/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://codevision.gitbook.io/craft/creating-user-accounts.md).

# User accounts

Users can be created from the terminal or front end.

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.
