Quantcast
Channel: LivePerson Connect : Popular Discussions - All Communities
Viewing all articles
Browse latest Browse all 2324

Building a chat window with JS

$
0
0

I copied and pasted the js code found at -> http://community.liveperson.com/docs/DOC-1039 -> into my own ChatDemo.html file.  I used the "Complete Example" code found at the end of the page.  I then went to the  Resources -> Create New Application Key And created a new application key of type "Development".  What do I put for the "Live Person Account Number"????   I plugged in some random number and filled out the form and clicked "Save" at the very bottom and it generated an "Application Key".  In the JS code there are two things that need to be filled in ->

 

apiKey : '977aefda0cac48038f77a58d58ad5eef'
lpNumber : 'P79776290'

 

I assume I use the generated app key to plug in to the apiKey field??  What number do I use for the lpNumber??

 

Once I plug in these two things should I be able to run the chat js file and have it just work?  How can i connect the agent peice to this chat js code and have them chat back and forth?


Viewing all articles
Browse latest Browse all 2324

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>