# MagicBell

## Convert your email notifications into in-app notifications, automagically.

### Quick Start

Paste this code in a script tag in you HTML page:

                (function(i,s,o,g,r,a,m) {i['MagicBellObject']=r;(i[r]=i[r]||function() {
    (i[r].q=i[r].q||[]).push(arguments);}),(i[r].l=1*new Date());(a=s.createElement(o)),(
    m=s.getElementsByTagName(o)[0]);a.async=1;a.src=g;m.parentNode.insertBefore(a,m);
    })(window,document,'script',window.location.href+'/magicbell.min.js','magicbell')

    magicbell('render', document.getElementById('notifications'), {
      apiKey: '94397d8c03af920f6bfee9ef8185ad8acb1bf3c8',
      userEmail: 'josue@magicbell.io',
      userKey: 'e847eIgzK7OROyXA1fu0/v+hHxQdsQUkJSPibctHQ1M=',
      onNotificationClick: function(notification) {
        console.log(notification);
      }
    });