Skip to content

Getting started

Quickstart

Add PlayStep to a website with one script tag, mark a button, and see your first guide in about 10 minutes.

The script tag is the fastest way to start on the web. It works with any site or framework. If you use a bundler, see npm or React.

Create a free account

New teams start with a demo: request one and we set up your account with you. Then name your workspace and add your app. You get a development and a production key. Start with the development key.

Add the script tag

Paste this before </body> on every page, with your development key:

HTML
<script async src="https://cdn.playstep.app/sdk/v1/loader.js"
        data-app-key="ps_pub_dev_your_key"></script>

The loader is about 3 KB. It fetches your published guides once, already in the user's language, and loads the guide UI (about 10 KB) only when a guide is about to show. As soon as a page loads it, the dashboard shows SDK connected.

Mark the elements your guides point at

Add a data-guide attribute to each element a step should spotlight:

HTML
<button data-guide="new-invoice-btn">New invoice</button>

Anchor ids are lowercase words separated by dashes. They stay the same when you restyle or move the element, so guides keep working.

Build and publish a guide

In the dashboard, choose New guide, start from the welcome tour, point a step at new-invoice-btn, and Publish to development. Reload your page: the guide plays within a minute.

Tell PlayStep who the user is

Guides work for anonymous visitors. If people sign in, call identify so segments can target them and analytics count each person once:

HTML
<script>
  playstep.identify(currentUser.id, { plan: currentUser.plan })
</script>

The id is hashed in the browser before it is sent. For identified users, guide progress follows them across devices (SDK 0.10+), so a guide someone finished on their laptop does not start again on their phone. Call identify as the page loads, as above, so their progress is there on the first page. Anonymous visitors keep their progress on the device.

Next steps

Search the docs and guides.

Request a demo

We set up every new PlayStep workspace with its team. Leave your name and email and we'll book a demo and get you started.

We use your email only to arrange the demo. See the privacy policy.