The designer's scripts and body can be emitted separately to fit your own HTML layout.

Designer setup. Configure the designer, load the dashboard template, process its callbacks, and connect the save action to the application.
<head>
    <?php $designer->javascript->renderHtml(); ?>
</head>
<body>
    <?php $designer->renderHtml(); ?>
</body>
javascript->renderHtml() outputs the scripts for the head, and renderHtml() outputs the designer element for the body.