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

# Users & Organizations

> Manage users, organizations, and tenants in 2501

Use the `2501 infra` CLI to manage users, organizations, and tenants.

## CLI Commands

| Command             | Description          |
| ------------------- | -------------------- |
| `2501 infra tenant` | Manage tenants       |
| `2501 infra org`    | Manage organizations |
| `2501 infra user`   | Manage users         |

For detailed options on any command:

```bash theme={null}
2501 infra tenant -h
2501 infra org -h
2501 infra user -h
```

## Initial Setup Workflow

After a fresh deployment, create entities in this order:

### 1. Create Tenant

```bash theme={null}
2501 infra tenant create --name "My Company"
```

Note the returned `tenant-id` (e.g., `ten_xxx`).

### 2. Create Organization

```bash theme={null}
2501 infra org create --name "Engineering" --tenant-id ten_xxx
```

Note the returned `org-id` (e.g., `org_xxx`).

### 3. Create Admin User

```bash theme={null}
2501 infra user create \
  --email admin@company.com \
  --role ADMIN \
  --tenant-id ten_xxx \
  --org-id org_xxx
```

### 4. Access Command Center

Open your Command Center URL and login with the admin credentials.

## User Roles

| Role      | Description                                                    |
| --------- | -------------------------------------------------------------- |
| `ADMIN`   | Full access to all resources and user management               |
| `USER`    | Read and write on org resources, read-only on shared resources |
| `AUDITOR` | Read-only access everywhere                                    |

See [Users](/0.7/configure/users) for detailed permission breakdowns.

## Listing Entities

```bash theme={null}
2501 infra tenant list
2501 infra org list
2501 infra user list
```
