Skip to content

Demo of client subscribing to the Salesforce Streaming API

Notifications You must be signed in to change notification settings

gdlt88/streaming-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use this script

  • First do npm install
  • Create .env file in the main folder with the following parameters:
    USERNAME=<Salesforce username>
    PASSWORD=<Salesforce user password>
    SECURITY_TOKEN=<Salesforce user security token>
    LOGIN_URL=<https://login.salesforce.com if you are going to connect to a production org org https://test.salesforce org if you are going to connect to a sandbox>
    TOPIC=<Name of the push topic that you want to subscribe to e.g. NweAccount>
    
  • Execute the command npm run start

About

Demo of client subscribing to the Salesforce Streaming API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%