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

# Workspace subdomain

> Find your workspace subdomain and tell the CLI which workspace to use.

Every NeetoDesk workspace has its own subdomain. It is the part of your workspace URL before `neetodesk.com`. For `https://spinkart.neetodesk.com`, the subdomain is `spinkart`.

The CLI uses the subdomain to know which workspace to sign in to and which workspace a command works on.

## Find your subdomain

<Steps>
  <Step title="Open your workspace">
    Sign in to NeetoDesk in your browser and look at the address bar.
  </Step>

  <Step title="Take the part before neetodesk.com">
    For `https://green-earth.neetodesk.com`, the subdomain is `green-earth`.
  </Step>
</Steps>

## Sign in with it

Pass the subdomain to `login`:

```bash theme={"system"}
neetodesk login --subdomain green-earth
```

If you omit `--subdomain`, the CLI asks for it.

## Pick a workspace for a command

With one signed-in workspace, the CLI uses it and `--subdomain` stays optional. When you sign in to more than one, add `--subdomain` to every command that talks to the API:

```bash theme={"system"}
neetodesk tickets list --subdomain green-earth
```

See [Authentication](/cli/authentication) for signing in to several workspaces.
