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

How to Obtain Your OneSignal API Key and REST API Key

Step 1: Sign In to OneSignal

  1. Click on "Log In" and enter your credentials to access your OneSignal account.

Step 2: Create a New App

  1. Once logged in, Click on the "New App/Website" button on the top right.

  2. 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"

  1. 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.

  1. On the next page, note down your "safari_web_id". copy it and paste it somewhere.

Step 3: Retrieve the API Key

  1. Under "Settings," click on "Keys & IDs."

  1. You will see the "OneSignal App ID" and the "REST API Key" listed on this page.

Step 4: Copy the Keys

  1. Copy the "OneSignal App ID" and the "REST API Key" to a secure location.

  2. Ensure you keep these keys confidential and do not share them publicly.

Step 5: Use the Keys in Your Application

  1. 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.

Last updated