- Create a SPLIT_API_TOKEN file and create a server-side API token (for use sending events with REST API). Do not use an Admin API token.
- Zip and upload this code to a new AWS node.js lambda
- Create a function URL for POST to the lambda
- Create a webhook in Bugsnag, providing the function URL and specifying that the webhook be invoked "Every time an error occurs"
- Test the webhook to see events in Split
splitio / bugsnag2split Goto Github PK
View Code? Open in Web Editor NEWBugsnag webhook implemented in node.js and tested as an AWS lambda.