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

# login

> cpln login — Create a default profile and launch a browser to authenticate with Control Plane.

Create a profile named "default" and launch a browser to begin the interactive login process

**Usage**

```none theme={null}
cpln login [ref] [OPTIONS]
```

<Accordion title="Reference">
  ```text theme={null}
  Debug options:
    --verbose, -v  Enable verbose output to stderr  [boolean] [default: false]
    --debug, -d    Show all HTTP communications  [boolean] [default: false]

  Positionals:
    ref  The resource reference. Usually it is the name of the resource.

  Options:
    --help     Show help  [boolean]
    --version  Show version number  [boolean]
  ```

  [Common Options Reference](/cli-reference/using-cli/common-options)
</Accordion>

<Accordion title="Example">
  <CodeGroup>
    ```bash Command theme={null}
    cpln login
    ```

    ```text Output theme={null}
    Your browser will be launched and redirected to the login page. After a successful login, a local profile
    named "default" will be created and the browser window can be closed. Use "Control-C" at the command prompt to
    exit the login command if an issues occurs.
    ```
  </CodeGroup>
</Accordion>

***
