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:
For this URL, the applicationId would be
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.