function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Erik de Wit (Trailhead & Dev)Erik de Wit (Trailhead & Dev) 

Live Chat deployment not showing on website

We enabled Live Agent and created an SFDC deployment, generated the few lines of JavaScript and provide that to our web-developers to add to the companies Web page. The Chat window does not appear on the website after our developers copy the deployment code and paste it on the web page where we want to deploy Live Agent.
 
For now, we would like to use the standard Chat and don't want to customise the chat window with pre-chat, post chat windows, buttons etc. Do we need anything else over and above the deployment script to make standard Live Agent work from our website?

From SF documentation we understood that we only need to "Create a deployment to host Live Agent on your website. Each deployment includes a chat window, which visitors use to chat with support agents."

https://developer.salesforce.com/docs/atlas.en-us.live_agent_dev.meta/live_agent_dev/live_agent_creating_new_deployments.htm

Sathish VenkatSathish Venkat
You have to copy two codes.. One from 'Deployment' and another from 'Chat Buttons and Automated Invitations'
Erik de Wit (Trailhead & Dev)Erik de Wit (Trailhead & Dev)
Thank you, Satish! So we provide the code for deployment and chat button without any success. 
 
For now, we don't want to go the Sites route with customization etc. SF documentation states: "If you are not using Force.com Site to host the images for chat buttons, then add the URL for where ever the image is stored."
 
Where in the code should we add our own image URL hosted on the website? 
 
<a id="liveagent_button_online_5730Y0000004FjH" href="javascript://Chat" style="display: none;" onclick="liveagent.startChat('5730Y0000004FjH')"><!-- Online Chat Content --></a><div id="liveagent_button_offline_5730Y0000004FjH" style="display: none;"><!-- Offline Chat Content --></div><script type="text/javascript">
if (!window._laq) { window._laq = []; }
window._laq.push(function(){liveagent.showWhenOnline('5730Y0000004FjH', document.getElementById('liveagent_button_online_5730Y0000004FjH'));
liveagent.showWhenOffline('5730Y0000004FjH', document.getElementById('liveagent_button_offline_5730Y0000004FjH'));
});</script>