Front Chat gives your team the ability to respond to visitors and customers in real-time straight from your team inbox. 📩 Here's how to add your Front Chat widget to HelpDocs.
Finding Your Front Chat Token
Before adding the Front Chat widget, you'll need to find your chat token.
- In Front
- Click the gear icon and select your workspace
- Click Channels in the left menu
- Click the Front Chat channel you want to place on your knowledge base
- Open the Installation tab and find the Widget code snippet
- Within the snippet you'll see text similar to
chatId: '1365d046d7c023e9b030ce90d02d093a' - Copy the value between the ' quotes: this is your Front Chat token. In the example above, that would be
1365d046d7c023e9b030ce90d02d093a - Follow the steps here to add the widget to your HelpDocs
- Within the snippet you'll see text similar to
Installing the Front Chat Snippet
- In HelpDocs
- Head to Settings > Integrations
- Click the Front Chat tile
- Within the Front Chat Token text box paste in your token
- Hit Save changes
Front Chat's own launcher stays hidden on your knowledge base. Instead, the chat opens when someone clicks your Contact button.
Integrating with Lighthouse
Wanna use Lighthouse and Front Chat together so clicking contact brings up the Front Chat widget? You'll need to change the Front Chat code snippet slightly by changing useDefaultLauncher: true to useDefaultLauncher: false 👇
<script src="https://chat-assets.frontapp.com/v1/chat.bundle.js"></script>
<script>
window.FrontChat('init', {
chatId: 'CHAT_ID', useDefaultLauncher: false
});
</script>