# Guides and programs

Build guides that teach a task inside your app, put them in order as programs for onboarding or training, and follow each person's progress.

A guide teaches one task in your app, step by step, right on the screen. It points at each control, says what to do, and waits for the person to do it. A program puts guides in order for one group of people. Onboarding and training agents run programs and record who has done what, where they needed help and what they asked.

**Available with Onboarding or Training**

Guides and programs are available when your workspace has Onboarding or Training. Insurge sets which products your workspace has. Without them, **Guides** doesn't appear in the side menu.

## Before you start

- You need the **Admin** role.
- Learn your app first. Drafted guides use what Insurge already knows about your app. See [App knowledge](/docs/knowledge/app-knowledge).
- Have an onboarding or training agent. See [Create an agent](/docs/agents/create-agent).
- To try or record guides on your app, install the guide extension. See [Where guides run](#where-guides-run).

## Onboarding or training

| | Onboarding | Training |
|---|---|---|
| What it's for | Gets a new account set up. Done once. | Makes sure a person can do each task without help. |
| How it helps | Guided and skippable. | Practice cases and a record per person. |
| Data | Runs on their real data. | A stop before anything that saves. |
| Where you build it | The agent's **Program** tab | The agent's **Programs** tab |
| Where you follow progress | The agent's **People** tab | The agent's **Learners** tab |

## Where guides run

For now, guides run in your app through the Insurge AI guide extension for Chrome. A script on your site, with no extension, is marked **Later**.

### Open Settings › Guide

Go to **Settings**, then **Guide**, and find **Where it runs**. In **Your app**, check the address: the guide appears only there.

### Get the extension

Press **Download** to get the extension folder. In Chrome, open Extensions, turn on Developer mode, choose Load unpacked and pick the folder.

### Connect it

Open your app. The downloaded folder already knows your workspace. If the extension asks, enter the code shown in the card (**Copy**).

People who build guides also need the builder key (**Copy builder key**). It turns on Record, Pick a control and Try in the extension.

The card shows how many browsers are connected. If it says **Not available here yet**, ask your Insurge contact.

## Build a guide

### Start a new guide

Open **Guides** under Knowledge and press **New guide**. The page asks **What should this guide teach?**

### Choose how to make it

**Describe it**

In **Describe the task**, say it the way you'd tell a new colleague, for example "Add a new customer and save it". Under **Add to**, pick a program, or leave **No program yet**. Pick the languages it should speak. Press **Draft the guide**.

Drafting can take up to a minute. If the page says drafting isn't switched on here yet, start blank, or ask your Insurge contact.

**Record it**

Do the task once in your app. Every press and entry becomes a step, and the lines are written for you.

1. Open your app in the browser.
2. Click the Insurge AI guide extension.
3. Choose Builder tools, then Record a guide.

You need the extension and the builder key. **Get the extension** opens Settings › Guide.

**Start blank**

Press **Open an empty guide**. You add steps by hand and fill in every field yourself. This suits a short tour.

### Edit it

The guide editor has four tabs:

| Tab | What you set |
|---|---|
| **Steps** | Each step's control and words: **Guide says**, **Said when done**, **First hint**, **Second hint** and **If it's refused**. |
| **How it helps** | The **Starting point** and the ways the guide helps (see below). |
| **Welcome and finish** | **Guide name**, **Welcome line**, **Under the welcome**, **Closing line** and **Under the closing**. |
| **Settings** | The **Title** and **Summary** people see, **Extra knowledge** the guide uses to answer questions on the way, **Controls to guard**, which **Programs** it is in, and **Delete**. |

Under **Controls to guard**, **Ask first** lists controls that save something: the guide asks before pressing them, and training holds a press. **Never point at** lists controls the guide never sends anyone to.

To add a language, save first, then use **Add a language**. The new language is written from the saved guide.

### Try it on your app

Save your changes, then press **Try on the app**. The guide starts in the browser tab that has the extension, the next time you're on it.

### Go live

Press **Go live**. People can start it now. **Back to draft** takes it away again: people can't start it until it's live again. People can't start a guide until its marked fields are fixed.

### Ways a guide helps

| Way | What it does |
|---|---|
| **Guided** | Points at each control, says the line and waits for them to do it. |
| **Hints** | Says the goal, then stays quiet. Points only when they stall or ask. |
| **On their own** | Silent. Watches, records and scores. No hints. |

On **How it helps** you also set **Ready after** (clean runs in a row), whether the learner can ask to be shown (**Show me**) or jump ahead (**Let me try alone**), **Skipping a step**, **Do it for me** (the guide does a step itself, and asks before anything that saves) and **Check again later**. A guide in a program helps the way its program says, unless you give it its own settings.

### The guides list

**Guides** lists every guide with its steps, how it helps, languages, program, when it was last tried on the app, and its state. Filter by **All**, **Live**, **Draft** or **Needs a look**, or by **Program**.

## Build a program

### Create it

Open your onboarding agent's **Program** tab, or your training agent's **Programs** tab, and press **New program**. Fill in **Name**, choose the **Kind** and pick the **First guide**. Press **Create program**.

A program needs at least one guide. If there are none yet, write a guide first.

### Put the guides in order

Under **Guides, in order**, press **Add a guide** and drag to reorder. From a guide's menu:

- **Stops before…** names the button the guide stops before, such as the button after its last step.
- **Remove** takes it out of the program. The guide itself stays.

A guide that is still a draft is marked **Draft**. A guide that no longer exists is marked **Missing**: remove it to save the program.

### Set how it runs

| Setting | What it does |
|---|---|
| **Who it's for** | The group of people, like "Receptionists". |
| **Default way to help** | Used by any guide that doesn't set its own. |
| **Ready after** | Clean runs in a row, on their own. |
| **Do it for me** | The guide can do a step itself. It asks before saving. |
| **Skipping** | When a step may be skipped. Never while they are on their own. |
| **One after another** | A guide unlocks when the one before it is done. Off: learners take them in any order. |
| **Offer it on first visit** | Otherwise it waits in the checklist. |
| **Real data** | On: guides stop before anything that saves (training also holds a press on one). Off: for a test account that can be reset. |

**Use the kind's defaults** puts the help settings back to Onboarding's or Training's.

### Save it

Press **Save program**.

Deleting a program stops people being offered it. Its guides stay, and so do the runs already recorded.

## Follow progress

Open your onboarding agent's **People** tab, or your training agent's **Learners** tab. Pick the **Program** and the **Range**: **Last 7 days**, **Last 30 days** or **Last 90 days**.

| Part | What it shows |
|---|---|
| Totals | **People who started**, **All guides ready**, **Runs**, **Questions asked**. |
| **People** | Each person, when they were last seen, and their state in each guide, or **Not started**. Names come from the extension for now. |
| **Where people needed help** | Hints and "Show me" per step, across all runs. |
| **What they asked** | Questions the guide heard, grouped, and whether they were answered. |
| **Recent runs** | Who ran which guide, how much help they needed, and how it ended: **Finished**, **Stopped** or **Left partway**. |

**All runs** opens **Guide sessions**, every run in your workspace across agents, with what was done, skipped and not found.

If the tab says **No one has started this program yet**, people haven't started a guide in your app in that range. Check **Where it runs**.

## Guide settings for the whole workspace

**Settings** › **Guide** holds what all your guides share:

- **Languages**: the languages guides offer, **Ask for the language on first visit** and **Follow the language they speak**.
- **Clicks outside the highlight**: what happens when someone clicks outside the part the guide is showing.
- **Ask before pressing** and **Never point at**: controls every guide treats with care, by name.
- **Keep a picture of each step's control**: taken by the extension on your app. Only people signed in to your dashboard see it.
- **Where it runs**: the extension and your app's address.

## Check it worked

- The guide shows **Live** in the guides list.
- **Try on the app** runs it in your app, step by step.
- After someone starts it, they appear on the agent's **People** or **Learners** tab.

## Troubleshooting

#### Guides isn't in the side menu

Your workspace doesn't have Onboarding or Training. Ask your Insurge contact.

#### Try on the app does nothing

Save your changes first: the app runs the saved guide. Then open your app in the Chrome tab that has the extension connected.

#### A step says Not found last time

The guide couldn't find that step's control on your app. Check the control's name in **Steps**, or record the step again.

#### I can't save the program

A guide in it is marked **Missing**: it no longer exists. Remove it from the program, then save.

#### No one appears in progress

People haven't started a guide in your app in the chosen range. Check that the extension is connected under **Where it runs**, and that the program's guides are live.
