Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.33 KB

quick-start.md

File metadata and controls

36 lines (29 loc) · 1.33 KB

Quick Start

To start using Hyper SDK, see the basic workflow below:


Prerequisites


In your website or application, add this HTML code snippet to your web pages:

<script type="text/javascript" src="https://demo.microstrategy.com/MicroStrategyLibrary/static/hyper/sdk/js/mstr_hyper.bundle.js"></script>
<script>
  window.addEventListener('load', function () {
    mstrHyper
      .start({
        server: 'https://demo.microstrategy.com/MicroStrategyLibrary/',
        auth: {
          authMode: mstrHyper.AUTH_MODES.GUEST
        }
      })
      .then(function () {
        console.log('MicroStrategy HyperIntelligence is initialized.');
      })
      .catch(function (error) {
        console.error(error);
      });
  });
</script>

Now pen your websites with a browser and you should see Hyper highlights.