# Register new users

> For the complete documentation index, see [llms.txt](https://doc.ibexa.co/en/saas/llms.txt).

Register new users.

You can allow your users to create accounts by using the `/register` route. This route leads to a registration form that, when filled in, creates a new user content item in the repository. To give anonymous users the possibility to register themselves, grant the anonymous user the `user` / `register` [policy](https://doc.ibexa.co/en/saas/permissions/policies/index.md).

## User types

There are two user types defined: `users` and `customers`. `users` are back office users that are involved in creating the page such as editors, and `customers` are frontend users. To decide where the user should be registered to, you need to specify their user type under the `ibexa.system.<scope>.user_type_identifier` [configuration key](https://doc.ibexa.co/en/saas/administration/configuration/configuration/#configuration-files).

```yaml
ibexa:
    system:
        <scope>:
            user_registration:
                user_type_identifier: user
```

## User groups

By default, new users generated in this way are placed in the Guest accounts group. You can select a different default group in the following section of configuration:

```yaml
ibexa:
    system:
        default:
            user_registration:
                group_remote_id: <userGroupContentRemoteId>
```

## Registration form field configuration

To modify the registration form template, add or remove fields under the `allowed_field_definitions_identifiers` [configuration key](https://doc.ibexa.co/en/saas/administration/configuration/configuration/#configuration-files):

```yaml
ibexa:
    system:
        <scope>:
            user_registration:
                user_type_identifier: user
                form:
                    allowed_field_definitions_identifiers:
                        - first_name
                        - last_name
                        - user_account
```
