Skip to content

Latest commit

 

History

History
63 lines (43 loc) · 2.86 KB

project-setup.md

File metadata and controls

63 lines (43 loc) · 2.86 KB

Project Setup

Secondly, you have to create a new Project in Notimatica. Let's do it together step by step.

HTTP & HTTPS Support

Notimatica supports both HTTPS and HTTP websites, yet browsers require only HTTPS. We workaround this by sending push notifications to HTTP websites from your-subdomain.notimatica.io which is an HTTPS domain. The shortcoming is that it requires HTTP websites to show an additional popup window to opt-in users.

Prerequisites

If you don’t have Google Server API Key and Google Project Number then go to Prerequisites Guide first.

{.toc}

  1. Create New Project
  2. Configure Chrome and Firefox
  3. Configure Safari (optional)
  4. Include and initialize SDK

{#create-new-project}

Create New Project

  1. Go to Notimatica's Dashboard and click "New project".
  2. Enter the Name and URL of your websute. Note that URL should contain prefix (http:// or https://).
  3. Type Subdomain. Usually it may be the same as the Name of your website.
  4. Upload Project icon. The icon should be squared 192x192 PNG image.
  5. Click on "Create". Wait for project to be created.
  6. Congratulation, you have created first project in Notimatica.

{#configure-chrome-and-firefox}

Configure Chrome and Firefox

  1. Go to Project → Settings → Google Chrome, Mozilla Firefox and click "Connect".
  2. In the popup window type your Google Server API Key (API key) and Google Project Number (Sender ID) (where can I get these?) and click "Connect". {#configure-chrome-and-firefox-download-sdk}
  3. Download and unzip the SDK files by "Download package" link that has appeared. Inside package you should have:
    • manifest.json
    • notimatica-sw.js
  4. Upload these files to the root directory of your website.
  5. All set! Now go to SDK Installation Guide to complete the last step.

{#configure-safari}

Configure Safari

Safari Support Is Optional

  • Using Google Chrome and Mozilla Firefox as your only web push notification platform is totally fine as they have 80% market share combined.
  • iOS and Windows are currently not supported
  1. Go to Project → Settings → Apple Safari and click "Connect".
  2. Upload a Private Key file .p12 (where can I get this?) and click "Connect".
  3. If you have already downloaded and unziped the SDK files by "Download package" link for Google Chrome support, then go straight to SDK Installation Guide to complete the last step.