---
title: "Create a lab template"
description: "Define what every copy of a lab starts from."
---

A template holds everything a lab needs: the clouds it deploys to, the cloud templates and scripts that build the environment, what learners may do, and the guide. Labs are created from templates, so time spent here pays off on every run.

:::steps
### Create the template
Go to **Templates** and create a new template. Give it a clear name, such as "AZ-104 Administrator lab", and an owner.

### Add a cloud
Add the cloud the lab uses — Azure, AWS or Google Cloud — and upload its cloud template (for example an ARM template or Terraform configuration).

### Add scripts
Add setup scripts for anything the cloud template can't do, such as seeding sample data. Publish each required script.

### Set permissions
Choose the access learners get in the cloud: what they may create, change and see.

### Attach the guide
Under **Lab Guide Settings**, select the guide and choose **Configure Guide**, then **Save Changes**. See [Write a lab guide](/guides/write-a-lab-guide).
:::

## Readiness check

A template shows a readiness checklist with **blockers** and **warnings**. A lab can't be published from a template while a blocker remains, for example:

- "The template has no cloud or SaaS platform yet."
- "Azure: 2 required scripts aren't published."

:::tip[Keep templates generic]
Put dates, seats and enrollment on the lab, not the template. One template can then serve many classes and events.
:::
