To add the modal integration to a website, this code should be added within the <body> tag.

<!-- Solvemate -->

solvemate('projectID', 'your_project_id');
solvemate('modalContainer', true);
solvemate('hideBeacon', true);
solvemate('hideGreeting', true);
<!-- End Solvemate -->

If you want to hide the beacon on the bottom right corner of the page, set this extra value: solvemate('hideBeacon', true);

To open the modal on click, just add the class solvemate-widget-opener to any element on your website.


<button class="solvemate-widget-opener">
    Show Widget in Modal
Show Widget in Modal