---
title: "ezgh sso domains create"
description: "Add an email domain; publish the TXT record it prints to verify it."
---

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

# ezgh sso domains create

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh sso domains create <domain>
```

Add one of your email domains to the directory. It's pending until EZGH SSO finds the TXT record it prints in your DNS: publish it, then `ezgh sso domains verify <domain>` checks within seconds (it's also checked every 15 minutes for a week). Only a verified domain can be routed to an identity provider. A domain is verified in one directory at a time, and a directory has at most 50.

Part of [`ezgh sso domains`](/cli/reference/sso-domains).

## Examples

```sh
ezgh sso domains create acme.com
```

## Flags

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/sso-domains-create/index.mdx
