Skip to content

zendesk/sunshine-conversations-api-quickstart-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sunshine Conversations API Examples

Get started

For a detailed guide, see the Sunshine Conversations API Quickstart:

Node.js

  1. Clone the repository
  2. Go to the nodejs subdirectory
  3. Update index.js to include your secret key and key ID from your Sunshine Conversations settings
  4. Install dependencies (npm install)
  5. Run the server (node index)
  6. Use ngrok to create a secure tunnel to port 8000(ngrok http 8000 after ngrok is installed on your PC)
  7. Create a Facebook page and connect it to Sunshine Conversations
  8. Create a Webhook from your dashboard and point it at the full url for the /messages endpoint (e.g. https://MY-NGROK-DOMAIN.ngrok.io/messages )
  9. Send messages to your Facebook page and watch the auto-replies roll in

About

Sample code to get started with the Smooch REST APIs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published