---
url: https://kit.kambium.net/docs/local-webhooks.md
---
# Receive local webhooks with ngrok

Expose your development server's webhook routes to test real provider events.
The generated **Airtable → Slack** engine registers a managed webhook on
activation. To run that engine with test accounts, use
[development with hosted services](https://kit.kambium.net/docs/local-development.md#development-with-hosted-services)
and set up its provider credentials.

## Start the tunnel

[Install and authenticate the ngrok CLI](https://ngrok.com/docs/start) once.
From your app directory, run `npm run dev` for hosted development services. Use
`npm run dev:local` if your app supplies real provider bindings in local-stack mode.

When the app registers webhook routes, Core starts ngrok and logs
`Local webhook tunnel ready` with a `webhookBaseUrl`. Only those webhook routes
are exposed. The API, dashboard and OAuth callbacks stay local. Core skips
ngrok if no routes are marked for the tunnel.

To enable the tunnel in an existing app, see [Runtime wiring](https://kit.kambium.net/docs/configuration.md#runtime-wiring).

## Airtable sign-in callback

Follow [Add an Airtable connection](https://kit.kambium.net/docs/connect-airtable.md) for the engine's credentials,
scopes and [local callback URL](https://kit.kambium.net/docs/connect-airtable.md#callback-url). OAuth callbacks
stay on the local dashboard; the tunnel receives provider webhook events.

## Check event delivery

For the Airtable → Slack engine or a custom engine with
[managed Airtable webhooks](https://github.com/MartinMalinda/kambium/blob/main/packages/core/README.md#declared-airtable-webhooks):

1. Start local development and wait for the tunnel-ready log.
2. Connect a test Airtable account and choose a base. For Airtable → Slack,
   also connect Slack and choose a channel. Activate the engine to register
   its webhook with the current tunnel URL.
3. Make a change matching the engine's webhook filters. For Airtable → Slack,
   edit an existing record.
4. Check backend logs for `Airtable signature verification passed` and
   `Airtable webhook drain task enqueued` for that engine. Then verify the
   engine's expected saved result or success event. Receipt alone does not prove
   processing completed.

## Stop and restart

Stopping the app closes the tunnel but retains local data.

::: details The tunnel URL changed after restarting

Compare the new `webhookBaseUrl` with the URL used during activation. Existing Airtable
webhooks are not automatically moved to a different tunnel URL. If it changed,
deactivate and reactivate the test engine to register a new webhook.

Reactivation creates a new webhook; it is not a way to recover changes missed
during downtime. Scheduled repair and catch-up jobs are off locally. If those
changes matter, use the engine's recovery procedure before replacing its webhook.

:::
