One-Click Shopify Installation

For Shopify websites, all you have to do is install our Shopify App Embed Extension by visiting your SalesChat settings and clicking "Install". You will be redirected to your Shopify admin where you will complete the installation by pasting in your client key.

Manual installation

  1. Create and select a website key found from your SalesChat Security settings. This key will be used to identify your website to Endear.
  2. Copy the snippet below and paste it before the </body> tag on every page you want the widget to appear. If you have a layout file that is shared across every page, that is the best place to put it.
<script type="text/javascript">
    websiteKey: "{{INSERT_WEBSITE_KEY_HERE}}"
<script type="text/javascript">
  (()=>{var r=(n,e)=>()=>(e||n((e={exports:{}}).exports,e),e.exports);var a=r(()=>{function d(){var n="",e=n+"/"+window.endear.version+"/script.js?website-key="+encodeURIComponent(window.endearSettings.websiteKey),t=document.createElement("script");(t.async=!0),(t.src=e);var i=document.getElementsByTagName("script")[0];i.parentNode.insertBefore(t,i)}typeof window.endear=="function"?window.endear("reinstall",window.endearSettings):((window.endear=function(){window.endear.pushCommand(arguments)}),(window.endear.bufferedEvents=[]),(window.endear.pushCommand=function(e){window.endear.bufferedEvents.push(e)}),(window.endear.version="1.0.2"),document.readyState==="complete"?d():window.attachEvent?window.attachEvent("onload",d):window.addEventListener("load",d,!1))});a()})();
  1. The snippet will need to be updated so that it can work correctly. The first change is to replace {{INSERT_WEBSITE_KEY_HERE}} with the selected website key from Step 1.
  2. Try visiting your website and you should see the widget appear in the bottom right corner. If you don't see it, try refreshing the page.