For a detailed guide, see the Sunshine Conversations API Quickstart:
- Clone the repository
- Go to the nodejs subdirectory
- Install dependencies (
npm install
) - Use ngrok to create a secure tunnel to port 8000 (
ngrok http 8000
after ngrok is installed on your PC) - Create a webhook and API key in Admin Center and point it at the full url for the
/messages
endpoint (e.g.https://MY-NGROK-DOMAIN.ngrok.io/messages
) - Update
index.js
to set proper values forZENDESK_SUBDOMAIN
,KEY_ID
andKEY_SECRET
- Run the server (
node index
) - Send messages to your Web Widget and watch the auto-replies roll in