---
url: https://kit.kambium.net/docs/verify-deployment.md
---
# Configure callbacks and verify

After [deploying to Fly](https://kit.kambium.net/docs/deployment.md), check that a user can sign in and
complete an engine operation.

## Configure Supabase Auth

In Desktop, open **Cloud → Supabase → Sign-in URLs**. Review and apply the
dashboard origin and its `/auth/callback` redirect for the selected project.
You can also set them in Supabase's URL Configuration.
[Supabase redirect URL settings](https://supabase.com/docs/guides/auth/redirect-urls)

If sign-in email is already configured for the project, use that setup. For
a new setup with Postmark, start with **Cloud → Supabase → Sign-in email**.
[Postmark setup](https://kit.kambium.net/docs/cloud-postmark.md#send-sign-in-emails)

::: details Direct SMTP instead of the Kit's hook

Supabase can send sign-in emails independently of the app backend through
[custom SMTP](https://supabase.com/docs/guides/auth/auth-smtp).
**Sign-in email → Alternative: direct SMTP** offers Postmark SMTP setup with an
explicit review and replacement confirmation. Its credentials are stored in
Supabase; the app's backend email settings remain separate.
Disable an existing Send Email hook in Supabase before using SMTP. Supabase's
built-in sender is limited to project-team testing.

:::

## Configure provider callbacks

If your engine connects an external account, register its OAuth redirect for
the hosted dashboard. Use the scopes and credentials declared by that engine.

::: details Airtable OAuth example

For an engine using the default Airtable OAuth callback, register this redirect
URL in its OAuth integration:

```text
https://app.example.com/api/connect-callback-airtable
```

Use your dashboard origin, matching `SERVE_BASE_URL`. The dashboard host proxies
the callback to backend `/ui/connect-callback-airtable`. Follow the
[engine's Airtable setup](https://kit.kambium.net/docs/connect-airtable.md) for OAuth credentials and scopes.
Store the credentials in the selected Fly app's secrets.

OAuth redirects use the dashboard. Provider webhooks reach the backend.
Airtable change notifications go to the backend webhook URL registered when
an engine with managed webhooks activates. In the generated Airtable → Slack
engine, editing an existing record should post a notification to its channel.

:::

## Verify the deployment

Open the dashboard and sign in using the emailed link. Create and activate an
engine in a test workspace, then run an operation and check its result. For the
Airtable → Slack engine, edit a record in the test base and look for the
notification in Slack.

If the dashboard or callback fails to load, check the backend `/health` URL
and dashboard API routing. In Desktop, open **Cloud → Fly deployment** and
choose **Check deployment**.

::: details Diagnose a Fly deployment from the terminal

Check `fly status` and `fly logs` from the app's directory. The backend's
`/health` endpoint confirms HTTP startup. To verify the database and providers,
complete the sign-in and engine checks above.

:::
