Skip to content

software-allies/cap-livechat

 
 

Repository files navigation

CAP LIVECHAT SF 💻 Generic badge

Create a chat using SalesForce and Angular

Previous requirements

Before installing this package into your Angular application, you must be configured the live agent into your salesforce application. Follow this link for more instructions.

Installation

npm install cap-livechat-sf

Implementation into a module

import { CapLiveChatModule } from 'cap-livechat-sf';

@NgModule({
  declarations: [
    ...
  ],
  imports: [
    ...
    CapLiveChatModule.forRoot({
      embeddedServiceName: 'Your embedded service name',
      idServiceName: 'Your ID service name',
      urlSandbox: 'Your URL Sandbox',
      urlDomain: 'Your URL Domain',
      baseLiveAgentContentURL: 'Your base live agent content URL',
      deploymentId: 'Your deployment ID',
      buttonId: 'Your button ID',
      baseLiveAgentURL: 'Your base live agent URL',
      scriptUrl: 'Your script URL',
      eswLiveAgentDevName: 'Your esw live Agent Dev Name'
    })
  ]
})

HTML tags

<cap-live-chat-sf></cap-live-chat-sf>

Alt text

Local test

In case that you don't have a domain and you want to test the CapLiveChat package we recomend you ngrok. Ngrok provide a multiplatform tunnelling, reverse proxy software that establishes secure tunnels from a public endpoint such as internet to a locally running network service while capturing all traffic for detailed inspection and replay. For detailed inspection and replay. Follow this link for more instructions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •