« Install LiveChat with integrations

Zendesk Guide: Add LiveChat to your knowledge base

Alicja Pawliczak
2 min read
updated: Jun 19, 2019

You can add LiveChat directly to your Zendesk Guide knowledge base. This way, you will be able to track visitors who use self-help on your website and answer all questions that arise.

LiveChat chat widget on Zendesk Guide knowledge base

Add LiveChat to your Zendesk knowledge base

To add the LiveChat chat widget to your Zendesk Guide, follow these steps:

  1. Log in to Zendesk and make sure you’re in the Zendesk Guide view (if you are—skip to step 3). To switch to Zendesk Guide view, click on the menu icon in the top right corner and choose Zendesk Guide from the list.

Switch to Zendesk Guide view

  1. Click on Guide admin.

Click on Guide admin

  1. Go to the Themes section.

Select Customize Design from the menu

  1. Hover over the theme and click on View theme.

Click on view theme

  1. Click on Edit code.

Click on edit code

  1. Scroll down and choose script.js from the list.

Open the JavaScript file

  1. Now, you need to switch to LiveChat app to copy the installation code. Once you are in the app, go to Settings → Channels → Chat widget. Click on Copy code.

Copy LiveChat code

  1. Now, switch back to Zendesk and paste the LiveChat code below the existing JavaScript code.

LiveChat code in Zendesk Guide theme JabaScript file

  1. Delete the first 2 and last 6 lines of the LiveChat code. So it starts at window.__lc = window.__lc || {}; and ends at })();.
    Additionally, you can add //LiveChat before the code, so it is easier to find and change it later on.

Change LiveChat code

  1. To save changes, click on Publish.

Click on Publish to save changes

That’s it. Go to your knowledge base and refresh the page. You should see the chat widget in the bottom right corner.

Was this article helpful?

Got it!

Thanks for your feedback.

Thank you!

We’re happy to help.

Start using LiveChat now!

Free 14-day trial · Team plan features · No credit card required

Still not convinced? See what else we have to offer