> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.neetokb.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 NeetoKB workspace has its own subdomain. It is the part of your workspace URL before `neetokb.com`. For `https://spinkart.neetokb.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

**1. Open your workspace**

Sign in to NeetoKB in your browser and look at the address bar.

**2. Take the part before neetokb.com**

For `https://green-earth.neetokb.com`, the subdomain is `green-earth`.

## Sign in with it

Pass the subdomain to `login`:

```bash theme={"system"}
neetokb 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"}
neetokb articles list --subdomain green-earth
```

See [Authentication](https://apidocs.neetokb.com/cli/authentication.md) for signing in to several workspaces.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.