---
title: "domains add"
description: "Add a custom domain"
canonical: "https://pgbeam.com/docs/cli/projects/domains/add"
last-updated: "2026-10-29T19:01:20.000Z"
---

# domains add

> Add a custom domain

URL: https://pgbeam.com/docs/cli/projects/domains/add

{/* Auto-generated from CLI commands. Do not edit. Run `pnpm generate:cli-docs` to regenerate. */}

Registers a new custom domain for the project. Returns DNS verification instructions. Requires a Scale or Enterprise plan.

## Usage

```bash
pgbeam domains add <domain>
```

## Options

| Option     | Description | Required | Default |
| ---------- | ----------- | -------- | ------- |
| `<domain>` |             | Yes      | -       |

> **Global options**
>
> All [global options](/docs/cli/global-options) (`--token`, `--profile`,
> `--project`, `--org`, `--json`, `--no-color`, `--no-trunc`, `--debug`) are
> also available on this command.

## Examples

```bash
# Add a custom domain
pgbeam domains add

# Output as JSON
pgbeam domains add --json
```

## Output

Renders a human-readable table or detail view by default; pass `--json` for the raw API response.