> ## Documentation Index
> Fetch the complete documentation index at: https://docs.firebolt.io/llms.txt
> Use this file to discover all available pages before exploring further.

> Reference and syntax for the CREATE ROLE command.

# CREATE ROLE

Creates a new role.

For more information, see [Role-based access control](/security/guides/rbac).

## Syntax

```sql theme={"theme":{"light":"css-variables","dark":"css-variables"}}
CREATE ROLE [ IF NOT EXISTS ] <role_name>
```

## Parameters

| Parameter     | Description           |
| :------------ | :-------------------- |
| `<role_name>` | The name of the role. |

## Example

The following command will create a role "user\_role"

```sql theme={"theme":{"light":"css-variables","dark":"css-variables"}}
CREATE ROLE user_role;
```

## Example 2

The following command will create a role "my\_role\_2"

```
CREATE ROLE IF NOT EXISTS my_role_2
```

If "my\_role\_2" exists, no error message is thrown.
