If you’d like to integrate with the user system built-in to WordPress you can use the following snippet. Alternatively if you are not using user accounts you can of course use the standard installation method
<script> var userId = '<?php echo get_current_user_id(); ?>'; if (userId) { HelpHero.identify(userId, {}); } else { HelpHero.anonymous(); } </script>
Note: make sure you include this code after your HelpHero script tag. You can find your HelpHero script tag on step 1 of your install instructions.