---
title: "af create-organization"
description: "Request a new organization"
---

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

# af create-organization

<!-- Generated by tools/gen-reference.mjs from `af create-organization --help`. Change the help text in crates/atoll-forge-cli/src/main.rs, then run `npm run gen:reference`. -->

Each organization is served at its own host under the forge's domain, such as `acme.forge.example`, and its people sign in through its own identity provider. Requires a platform administrator, connected to the operator organization's host; another platform administrator approves the request unless you are the only one.

## Usage

```text
af create-organization [OPTIONS] --issuer <ISSUER> --client-id <CLIENT_ID> --first-administrator <FIRST_ADMINISTRATOR> <NAME>
```

## Arguments

- `<NAME>`

  Organization name, used as the first label of its host name: a-z, 0-9 and -

## Options

- `--issuer <ISSUER>`

  OpenID Connect issuer that the organization's people sign in through

- `--client-id <CLIENT_ID>`

  The forge's client ID at the issuer

- `--tenant <TENANT>`

  Tenant claim, as `claim=value`, for an issuer that many organizations share

  Only tokens with this claim and value are accepted: for example `hd=example.com` for Google, or `tid=<tenant id>` for Microsoft Entra ID.

- `--second-factor <SECOND_FACTOR>`

  `amr` values (RFC 8176) that show a person signed in with a second factor; any one is enough

  Default: `mfa`

- `--second-factor-by-policy`

  Declare that the identity provider requires a second factor for every sign-in

  Use this for a provider whose tokens don't say how a person signed in (no `amr` claim).

- `--first-administrator <FIRST_ADMINISTRATOR>`

  Verified email of the person who becomes the organization's first administrator when they sign in

- `--reason <REASON>`

  Reason for the request, recorded with it

  Default: `""`

## Global options

Every `af` command also takes the [global options](https://docs.forge.workreef.dev/reference/af/#global-options).

## Examples

```sh
af create-organization acme --issuer https://login.acme.example --client-id forge --first-administrator ada@acme.example
```

Source: https://docs.forge.workreef.dev/reference/af/create-organization/index.mdx
