# In-app guides: play a walkthrough over your live web app

The walkthrough you recorded can also run inside your product. Add one script tag, and a shared walkthrough plays over the live page: a box pinned to the real element, the rest dimmed, moving on when the person does the step.

## One tag to install

Add the script to your app and list your app's address in the workspace's settings. Then turn a walkthrough into a guide with Also play as an in-app guide in Share.

```
<script src="https://app.acheevd.com/guides-1.js" async></script>
```
The script is about 20 KB, has no dependencies and loads no other code.

## Started by a link or by your code

Start a guide with a link to your app ending in ?acheevd_guide= and the guide's name, or from your own code.

```
// from a "Show me how" button in your app
acheevd.start("your-guide-name");

// and to end it
acheevd.stop();
```
The Share panel shows the exact link for each guide.

## It finds the real element

Every recorded step keeps a description of the element it acts on: its role, name, label, test id and place in the page. The script finds that element again on the live page, waits while a single-page app changes screen, and never points at a near miss.

- The element stays clickable; the guide moves on when it is pressed.
- Fields and menus wait for Next.
- If an element is not found within 8 seconds, the guide says so and offers the walkthrough instead.

## Careful about your page

The guide draws inside a closed shadow root, so your styles and its styles cannot collide, and it works under a strict Content Security Policy. Your policy needs the acheevd app's origin in script-src and connect-src, and nothing else.

- What leaves the page: the guide's name and an anonymous session with the step reached and whether it finished.
- Never page content, and never anything typed.
- A guide is only served to sites on the workspace's list.

## Questions and answers

### Is this available to every account?

In-app guides are enabled per workspace during early access. Ask us and we will turn them on.

### Do guides start by themselves for new users?

Not yet. A guide starts from a link or from your code. Rules for starting automatically and a launcher are planned.

### Does it work in single-page apps?

Yes. The script waits for the screen to change and carries on after a full page load as well.

### What if my app changes?

A step whose element can no longer be found tells the viewer and links to the walkthrough. Re-record or re-capture that walkthrough to update the guide.

Source: https://acheevd.com/features/in-app-guides/
