Version 3

Requirements

  • The ability to include JS scripts in your software
  • A client key and secret provided by the PulseLife Pro team
  • A modern web based software and modern browser client (Chrome, Firefox, Safari, Opera)

Getting started

Copy and paste the following code in the HTML head section of your web app and replace CLIENT_API_KEY with the client key provided by the PulseLife Pro team.

<head>
    ...
    <script src="https://sdk.pulselife.com/lib/pulsepro-sdk-v3.js"></script>
    <script>
        (async () => {
            const options = {
                clientKey: 'CLIENT_API_KEY',
                clientDomain: 'your.domain.com',
            }

            // display widget
            const pulse = await PulseProSDK.init(options)
        })()
    </script>
</head>
<body>
    <div id="my-widget"></div>
</body>

Note: it does not matter where the div element is located in your page. The SDK will use fixed position to show a floating widget at the bottom right of the screen.


Copyright © PulseLife. Generated with Github page.