{"token_count": 501}

# Workshop Environment

The [workshop environment](https://github.com/gravitational/workshops) is a Docker Compose stack that runs a preconfigured Teleport Enterprise with simulated identity providers and resources. It lets you try common use-cases without a real IdP or access to production infrastructure.

## How it works

The environment includes:

- A Teleport cluster with an SSH server and a PostgreSQL database already enrolled.
- Simulated Okta and Microsoft Entra ID tenants that you can connect with the Teleport integration wizards.
- A simulated SAML and SCIM 2.0 IdP that pushes users and groups to Teleport.

## Prerequisites

- Docker with Docker Compose.
- [mkcert](https://github.com/FiloSottile/mkcert#installation), to generate TLS certificates that your browser trusts.
- A Teleport Enterprise license file, `license.pem`.
- Optionally, the `tsh` client, to sign in on the command line. See [Installing tsh](https://goteleport.com/docs/ver/20.x/connect-your-client/teleport-clients/tsh.md#installing-tsh).

## Step 1/3. Get the environment

Clone the repository:

```
$ git clone https://github.com/gravitational/workshops.git
$ cd workshops

```

Generate the TLS certificates:

```
$ make certs

```

Copy your `license.pem` file into the `workshops` directory.

## Step 2/3. Start the environment

```
$ make up

```

The first start takes a few minutes while the simulators build.

## Step 3/3. Sign in to Teleport

The environment makes the simulated IdP the default login method for both the Web UI and `tsh`. Choose one of the listed accounts. You don't need a password.

### Web UI

Open the Teleport Web UI at `https://teleport.localhost:3080` and sign in with the simulated IdP.

### tsh

Log in to the cluster:

```
$ tsh login --proxy=teleport.localhost:3080

```

## Start over

The environment keeps its state in the `data` directory. To start over with a fresh cluster, stop the environment and run `make clean`.
