# Add custom user attribute keys

To add custom user fields, open Edit Domain, click the **Option** tab, type a key in **Add User Attribute Key** under **User Attribute(s)** and click **Add**. Confirm the message. Keys use letters, digits and underscore, and once saved they cannot be edited or deleted. You can add up to 50.

## How to add custom user attribute keys

1. Open **Edit Domain** for your domain and click the **Option** tab.
2. In **User Attribute(s)**, type a name in **Add User Attribute Key**, up to 30 characters.
3. Click **Add**.
4. Read the confirmation and click **OK**.

## Options

| Field | What it does |
|---|---|
| **Add User Attribute Key** | The key name. Letters, digits and underscore only. A key that is only digits, or that has other characters, is cleared as you type. Saved in lower case. |
| **Add** | Saves the key after you confirm. |
| **List of User Attribute(s)** | Shows saved keys. |

## Example

> Acme adds `cost_centre` and `employee_grade`. HR then fills them in for each user.

## Good to know

- A key that already exists is refused.
- Keys save at once, without **View / Save Changes**.

## Common questions

**Can I rename or delete a key?**

No. The screen says keys cannot be edited or deleted once saved, so check the name first.


Source: https://docs.xgenplus.com/admin/domain-user-attributes/
