Skip to content

Console client for Salesforce Live Agent (Chat) Utilising REST APIs

License

Notifications You must be signed in to change notification settings

PrajvalRaval/salesforce-live-agent-console-app

Repository files navigation

Saleforce Live Agent(Chat) Console Client.

This is a simple Javascript console app utilising Saleforce Chat API. You can use this console app to send and recieve messages from online agents.


Pre-requisites:

  1. Saleforce Developer Account with Live Agent(Chat) Setup.

  2. Node.js


Installation

  1. Clone this repository.

    git clone https://github.com/PrajvalRaval/salesforce-live-agent-console-app

  2. Change to root directory.

    cd salesforce-live-agent-console-app

  3. Install Dependencies.

    npm install

  4. Open config.js file in any editor, and replace all the following values with your own:

    1. SERVER_URL: Replace this with your own Chat API Endpoint. To find this value, go to your Salesforce Dashboard -> Setup (In Gear Icon) -> Quick Find Search -> Type in chat setting -> Click on Chat Settings option

    1. For remaining values you will need your Embedded Service Code Snippet to find it, again go to Quick Find Search -> Type in Embedded Service Deployments -> Find your current deployment from the list -> Click on drop down menu and select 'View' -> Scroll Down and click on 'Get Code' button. From the code, you can find the values here:

  5. Run the application.

    npm start


About

Console client for Salesforce Live Agent (Chat) Utilising REST APIs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published