Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 977 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 977 Bytes

MagicBell Notification Inbox

This package contains a notification inbox for your site powered by MagicBell.

Note

Don't use this package when you're using React. Use @magicbell/magicbell-react or @magicbell/react-headless instead.

Quick Start

npm i @magicbell/embeddable
<div id="notifications-inbox" />

<script type="module">
  import { renderWidget } from '@magicbell/embeddable';

  const targetElement = document.getElementById('notifications-inbox');
  const options = {
    apiKey: MAGICBELL_API_KEY,
    userEmail: CURRENT_USER_EMAIL,
    height: 500,
  };

  renderWidget(targetElement, options);
</script>

Documentation

Please see the MagicBell documentation for more information about this SDK.