mikemartin / helpscout-beacon
Make it easy for clients to get help and access their support history.
Installs: 421
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:statamic-addon
Requires
- ext-json: *
- statamic/cms: ^4.0 || ^5.0
README
HelpScout Beacon for Statamic
Make it easy for clients to get help and access their support history.
The HelpScout Beacon for Statamic makes it easy for you to provide support to your Statamic clients. Your clients can send messages, view help docs and access their support history securely from their Statamic control panel.
You can additionally have a public-facing Beacon for your authenticated visitors. This beacon is visible whenever a user is authenticated and on your site.
Installation
- Require the package using Composer.
composer require mikemartin/helpscout-beacon
Control Panel Beacon
-
Add your Beacon ID to your
.env
file. In your HelpScout Beacon Settings, head to the Installation tab and copy the Beacon ID from the web installation code.HELPSCOUT_BEACON_ID=your_beacon_id
-
Add your Beacon Secret Key to your
.env
file. In your HelpScout Beacon Settings, head to the Contact tab and enable the “Support history security” toggle. Your secret key will be revealed. Make sure to Save at the bottom of the page.HELPSCOUNT_BEACON_SECRET=your_beacon_secret_key
Public Beacon
- Set the environment variables
HELPSCOUT_PUBLIC_BEACON_ID
andHELPSCOUT_PUBLIC_BEACON_SECRET_KEY
accordingly. - Use the tag
{{ beacon:js }}
to instantiate the Beacon on your site. Keep in mind that the document body will need be to be accessible for it to load, hence the tag should be placed near the end of the body.
License
The MIT License (MIT). Please see License File for more information.