cap-livechat-sf
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

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.

Package Sidebar

Install

npm i cap-livechat-sf

Weekly Downloads

11

Version

0.0.7

License

MIT

Unpacked Size

148 kB

Total Files

29

Last publish

Collaborators

  • software-allies