Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM and Salesforce Live Chat integration

Avatar

Level 2

What is the ideal way of creating an AEM live chat component.

It would be Salesforce chat that would be used for integration.

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @parakh  

Idle way to integrate SFDC Live Chat agent to Adobe AEM is by embeeding the  javascript snippet provided by Sales Force in AEM Page

 

Example:

<script type="text/javascript">
if (!window._laq) { window._laq = []; }
window._laq.push(function(){liveagent.showWhenOnline('5734F000000CaS5',document.getElementById ('liveagent_button_online_5734F000000CaS5'));
liveagent.showWhenOffline('5734F000000CaS5', document.getElementById('liveagent_button_offline_5734F000000CaS5'));
});
</script>

<script type='text/javascript' src='https://c.la2-c1cs-ord.salesforceliveagent.com/content/g/js/42.0/deployment.js'></script>
<script type='text/javascript'>
liveagent.init('https://d.la2-c1cs-ord.salesforceliveagent.com/chat', '5724F000000CaRH', '00D4F0000008fZB');
</script>

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @parakh  

Idle way to integrate SFDC Live Chat agent to Adobe AEM is by embeeding the  javascript snippet provided by Sales Force in AEM Page

 

Example:

<script type="text/javascript">
if (!window._laq) { window._laq = []; }
window._laq.push(function(){liveagent.showWhenOnline('5734F000000CaS5',document.getElementById ('liveagent_button_online_5734F000000CaS5'));
liveagent.showWhenOffline('5734F000000CaS5', document.getElementById('liveagent_button_offline_5734F000000CaS5'));
});
</script>

<script type='text/javascript' src='https://c.la2-c1cs-ord.salesforceliveagent.com/content/g/js/42.0/deployment.js'></script>
<script type='text/javascript'>
liveagent.init('https://d.la2-c1cs-ord.salesforceliveagent.com/chat', '5724F000000CaRH', '00D4F0000008fZB');
</script>