Add helpdesk software for only certain roles or pages

I have to look into this, but if you want a temporary ‘hacky’ solution, you can do this:

In the Settings > Customer Header/Footer section of your app settings, put this in the Footer:

<script>
    window.fwSettings={
	'widget_id':70000000066
	};
	!function(){if("function"!=typeof window.FreshworksWidget){var n=function(){n.q.push(arguments)};n.q=[],window.FreshworksWidget=n}}()
</script>

Inside the pages/layouts you want this to appear in add this in the JavaScript:

$.getScript("https://widget.freshworks.com/widgets/70000000066.js", function() {
  console.log("Script Loaded");
});

I’ll look into a better solution later and post back.