---
title: "Write a lab guide"
description: "Create the instructions learners follow beside their environment."
---

A guide is the set of pages shown beside the learner's environment. You can write it in CloudLabs or keep it in a GitHub repository.

::::tabs
:::tab[CloudLabs Managed]
1. In the sidebar, open **Lab Guides** and select **+ Create Lab Guide**.
2. Choose **CloudLabs Managed**, enter the guide's name and the owner's email, and select **Create Lab Guide**.
3. Select **+ Add First Page**, name the page and select **Add Page**.
4. Write the steps. Add more pages for each exercise.
:::
:::tab[Self-managed (GitHub)]
1. In **Lab Guides**, select **+ Create Lab Guide** and choose **Self Managed**.
2. Select **Connect with GitHub** and install the CloudLabs GitHub app on your organisation.
3. Pick the organisation, project, branch and folder, the master document's file name, a title and the owner's email.
4. Edits sync both ways between CloudLabs and the repository.
:::
::::

## Attach the guide

Attach it to a template (**Templates** → **Modify Template** → **Lab Guide Settings**) so every lab gets it, or override it on one lab with **Override Default Lab Guide**. Turn on **Lab Preview** to check how learners will see it.

## Writing tips

- One task per page, with a short goal at the top.
- Number the steps and name every button exactly as it appears.
- Tell learners how to check their work before they move on.

:::warning
Never put passwords or keys in a guide. CloudLabs shows each learner's credentials on the **Environment Details** page.
:::
