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

# anaconda sites add

## Usage

```bash theme={null}
anaconda sites add --domain <DOMAIN> [OPTIONS]
```

## Description

Adds a new site configuration to `~/.anaconda/config.toml`. At minimum, `--domain` is required. If `--name` is omitted, the domain is used as the site name. When this is the only configured site, it is automatically set as the `default_site`.

A diff is shown for confirmation unless `--yes` or `--dry-run` is specified.

## Options

Option

Description

`--domain <DOMAIN>`

*(required)* Domain name for the site

`--name <NAME>`

Name for the site entry. Defaults to the domain if not supplied.

`--default`

Set this site as the default

`--api-key <KEY>`

API key for the site. Stored in `config.toml` (not the keyring).

`--ssl-verify / --no-ssl-verify`

Enable or disable SSL verification

`--use-truststore / --no-use-truststore`

Use the system truststore for SSL verification

`--extra-headers <JSON>`

Extra headers (as a JSON string) to include with every request

`--proxy-servers <JSON>`

Proxy server mapping as a JSON string

`--client-cert <PATH>`

Path to a client certificate file

`--client-cert-key <PATH>`

Path to the client certificate key file

`--use-device-flow / --no-use-device-flow`

Use the OAuth device flow for authentication

`--use-unified-repo-api-key / --no-use-unified-repo-api-key`

Use a unified repository API key

`--disable-conda-auto-config / --no-disable-conda-auto-config`

Disable automatic conda configuration on login

`--remove-anaconda-com / --no-remove-anaconda-com`

Remove the built-in `anaconda.com` site entry when adding a new site (default: --remove-anaconda-com)

`-y, --yes / --dry-run`

Confirm and write changes immediately, or print the diff without writing

`-h, --help`

Show help for this command

## Examples

**Add a site with a custom name and set it as default**

```bash theme={null}
anaconda sites add --domain anaconda-platform.example.com --name my-platform --default
```

**Preview the config change without writing**

```bash theme={null}
anaconda sites add --domain anaconda-platform.example.com --dry-run
```

**Add a site with SSL verification disabled**

```bash theme={null}
anaconda sites add --domain anaconda-platform.example.com --no-ssl-verify
```
