To start using the Allocate widgets include the following in your page wrapper just
before the closing
<script src="https://widgets.allocate.co.uk/v1.js" async="async"></script>
You may need to make sure your page is interpreted as UTF-8 by adding this in your head block
On initialisation, Allocate will automatically search the whole page and render any widgets that it finds.
It may be useful for you to manually request the widgets to be initialised in certain cases like when the widget is added via a modal window. In such cases you can call a special function that requests Allocate to look through the webpage and render any new widgets that it finds.