- Add the settings
Add your sites settings to a configuration block. If you already have a mission dock installed or other launchers you'll only need this in the page once.
<script>
window.NickelledSettings = {
userId: 123
};
</script>
Important - The userId in the example above should be a unique ID for the user that's logging into your system and not 123. Imagine you have two users that login Bob and Sally. Both of these users will have a different identifier in your system which should be passed into the settings block.
For a full list of our configuration options
2. Add the JavaScript snippet
<script type="text/javascript">
(function(){var NickelledLaunchers = window.NickelledLaunchers = NickelledLaunchers||{};NickelledLaunchers.preloadEvents = [];NickelledLaunchers.show = function() {NickelledLaunchers.preloadEvents.push('show') };NickelledLaunchers.hide = function(){NickelledLaunchers.preloadEvents.push('hide') };(function(){var s,f;s = document.createElement("script");s.async = true;s.src = "https://cdn.nickelled.com/launchers.min.js";f = document.getElementsByTagName("script")[0];f.parentNode.insertBefore(s,f);})();NickelledLaunchers.show();})();
</script>