Click Channel > Web Push to start setup.
Add the following script to the ServiceWorker file.
Upload the ServiceWorker file at the root path of the website.
(ex. If the file sw.js is located in the 'example.com' domain, it should be accessible at example.com/sw.js)
You can check your project ID at FlareLane console's Project
Add the following script right before the </body> tag of your website.
<script src="https://cdn.flarelane.com/WebSDK.js" charset="UTF-8"></script>
// If there is a Service Worker with a different name
// serviceWorkerPath: '/otherServiceWorker.js'
If everything has been set up correctly, a prompt asking for permission to subscribe will appear when the website is refreshed.
Then, you can proceed with the detailed setting such as the setting up an icon at FlareLane console's Channel > Web Push.