One Signal Setup
You can allow one signal notifications for your platform. To get started, you will need One Signal API Key and RestAPI Key
Last updated
You can allow one signal notifications for your platform. To get started, you will need One Signal API Key and RestAPI Key
Last updated
Step 1: Sign In to OneSignal
Go to the OneSignal website.
Click on "Log In" and enter your credentials to access your OneSignal account.
Step 2: Create a New App
Once logged in, Click on the "New App/Website" button on the top right.
Enter your Onesignal app name, select an old organization if you have one or create a new one. Select Web on the channel section and click on "Next: Configure your Platform"
On the "Integration" section, select "Custom Code". Enter your Site Name, Site Url, Check the Auto subscribe, Choose your icon and make sure to check the "My site is not fully HTTPS" if your site falls into this. Scroll down and click on Save.
On the next page, note down your "safari_web_id". copy it and paste it somewhere.
Step 3: Retrieve the API Key
Under "Settings," click on "Keys & IDs."
You will see the "OneSignal App ID" and the "REST API Key" listed on this page.
Step 4: Copy the Keys
Copy the "OneSignal App ID" and the "REST API Key" to a secure location.
Ensure you keep these keys confidential and do not share them publicly.
Step 5: Use the Keys in Your Application
Paste the copied keys into the appropriate configuration fields in Swap Manager -> Swap Settings -> OneSignal.
Reload your page after you are done. if done correctly, you will see the prompt to subscribe to notification
Additional Tips:
If you need to regenerate your keys, you can do so from the same "Keys & IDs" section.