# Set up in-app guides

Play a walkthrough over your live web app. Add the acheevd script, list your app's address, turn a walkthrough into a guide and start it with a link.

An in-app guide plays a shared walkthrough on your own app: a box on the real button, the rest of the page dimmed, moving on as the person does each step.

In-app guides are turned on per workspace during early access. [Ask us](https://app.acheevd.com/#/contact) to enable them.

## Set up your app (once)

You need to be an admin of the workspace.

1. Open the **Account** menu and choose **Members and settings**.
2. Under **In-app guides**, copy the **Script for your app** and add it to your app's pages:

```html
<script src="https://app.acheevd.com/guides-1.js" async></script>
```

3. Under **Sites where guides may run**, type your app's address, one per line, like `https://app.example.com`.
4. Click **Save sites**.

## Turn a walkthrough into a guide

5. Open the walkthrough, click **Share**, and share it with **Anyone with the link** or **Public**.
6. Tick **Also play as an in-app guide, on your own app**.
7. Copy the link ending shown there: `?acheevd_guide=` followed by the guide's name.

## Start a guide

Link to any page of your app with that ending, for example `https://app.example.com/invoices?acheevd_guide=abc123`. Or start it from your own code:

```js
acheevd.start("abc123");
acheevd.stop();
```

## How it behaves

- The highlighted element stays clickable. The guide moves on when it is pressed. Fields and menus wait for **Next**.
- Escape, or the cross, ends the guide.
- It carries on after a page load.
- If a step's element is not found within 8 seconds, the guide says so and links to the walkthrough.

## If your app has a Content Security Policy

Add `https://app.acheevd.com` to `script-src` and `connect-src`. Nothing else is needed.

## Good to know

- The Share panel tells you if some steps have no element to point at (older recordings, or a click on a drawing). Those steps offer the walkthrough instead.
- The script sends acheevd the guide's name and an anonymous progress count. It never sends page content or anything typed.
- Guides do not start by themselves. Start them with a link or from your code.

Source: https://acheevd.com/help/set-up-in-app-guides/
