This page will help you get started with Web SDK API.

Installation

npm install smartlook-client --save

or

yarn add smartlook-client

Import

import Smartlook from 'smartlook-client'

or

const Smartlook = require('smartlook-client')

Initialize

You can call init() using your project key which can be found in your project settings.

Smartlook.init('YOUR_PROJECT_KEY')

👍

Recording started

This is enough for Smartlook to start recording on your website.