Calendar Widget: Notifications

1. Create a new app in Web platform

If you have not registered an application yet, go to the OneSignal's page and create a new one. Bear in mind the application must be a Web platform.

Next, choose the Custom code integration.

If you are going to use HTTP only, set the subdomain name below the Site setup section.

2. Copy the applicationId

From the current page, copy the applicationId from the URL. See an example below: https://app.onesignal.com/apps/99387094-4105-41f8-8710-8afe26860ed3/settings/webpush/configure

For this URL, the applicationId would be 99387094-4105-41f8-8710-8afe26860ed3

3. Copy the access token

Select your application from the dashboard. Then, go to Settings -> Keys & IDs -> Rest API Key.

4. Final setup

For more info on how to setup the init-one-signal parameter see the init-one-signal section.

<div
fxs-widget
name="calendar"
...
one-signal-app-id="99387094-4105-41f8-8710-8afe26860ed3"
init-one-signal="myfancyapp"
></div>