Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.35 KB

README.md

File metadata and controls

39 lines (27 loc) · 1.35 KB

Salesforce Webhook Creator

This is a simple web app that makes it easy to create Webhooks on Salesforce. For usage info see: http://www.jamesward.com/2014/06/30/create-webhooks-on-salesforce-com

Either use a shared instance of this app: https://salesforce-webhook-creator.herokuapp.com/

Or deploy your own instance on Heroku:

  1. Create a new Connected App in Salesforce:

    1. Create a Connected App
    2. Check Enable OAuth Settings
    3. Set the Callback URL to http://localhost:9000/_oauth_callback
    4. In Available OAuth Scopes select Full access (full) and click Add
    5. Save the new Connected App and keep track of the Consumer Key & Consumer Secret for later use
  2. Deploy this app on Heroku: Deploy

  3. Edit the Connected App on Salesforce and update the Callback URL to be https://YOUR_APP_NAME.herokuapp.com/_oauth_callback

Local Dev

Run Locally:

export FORCE_CONSUMER_KEY=YOUR_CONSUMER_KEY
export FORCE_CONSUMER_SECRET=YOUR_CONSUMER_SECRET

./sbt run

Test:

export FORCE_CONSUMER_KEY=YOUR_CONSUMER_KEY
export FORCE_CONSUMER_SECRET=YOUR_CONSUMER_SECRET
export FORCE_USERNAME=YOUR_SALESFORCE_USERNAME
export FORCE_PASSWORD=YOUR_SALESFORCE_PASSWORD

./sbt test