When developing webhook integrations, you need to test how your application handles Helicone events before deploying to production. Webhooks local testing uses tunneling tools like ngrok to expose your local development server to the internet, allowing Helicone to send real webhook events to your local machine for debugging and integration testing.
Why use Webhooks Local Testing#
- Debug integration issues: Test webhook handlers with real events before deploying to production
- Iterate quickly: Make changes to your webhook handler and test immediately without deployment cycles
- Validate event handling: Ensure your application correctly processes different webhook event types and payloads
Quick Start#
Create webhook handler
Set up a local server to receive webhook events:
Node.js webhook handler example
Set up ngrok tunnel
Install and configure ngrok to expose your local server:
You'll see output like:
Copy the HTTPS URL for the next step.
Configure webhook in Helicone
Add your ngrok URL to Helicone's webhook settings:
- Go to your Helicone dashboard → Settings → Webhooks
- Click "Add Webhook"
- Enter your ngrok URL with the webhook path:
https://abc123.ngrok-free.app/webhook - Select the events you want to receive
- Save the webhook configuration
Use Cases#
Test webhook integration during local development:
Build a complete webhook processing system:
Related Features#
<QuestionsSection> — not implemented in this renderer
