> ## 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.

# Logging in/out of Anaconda Team Edition

## Logging in to Anaconda Team Edition

**Via the UI**

Visit `https://<YOUR_DOMAIN>` (or `http://<YOUR_DOMAIN>` if you are **not** using SSL) and enter your username and password.

**Via the CLI**

```sh theme={null}
conda repo login
```

## Logging in if IDP is configured

**Via the UI**

Visit `https://<YOUR_DOMAIN>` (or `http://<YOUR_DOMAIN>` if you are **not** using SSL) and enter your username and password, or click on a third party login option (for example, GitHub).

**Via the CLI**

In order to enable browser-based login for conda repo CLI, you must first set oauth2 to true:

```sh theme={null}
conda repo config --set oauth2 true
```

Then, run `conda repo login`.

A browser window will open for you to log in to Anaconda Team Edition. After login has completed, the window will display Token Received. You can then close the browser window and continue to use the CLI.

## Logging out of Anaconda Team Edition

**Via the UI**

Click on the user icon in the top right. Click **Logout**.

**Via the CLI**

```sh theme={null}
conda repo logout
```
