Prerequisite You should already have the Kernel react SDK installed (see the quickstart)
1
Build an event handler
This Django example
- filters on pull request events
- filters on connection links where the user has enabled a “preview” boolean
- clones the user repository
- leaves a comment on the pull request with the raw repository contents
2
Configure webhook URL
Point Kernel to your newly created event handler by setting the webhook URL in the Terminal.