Install the SDK

Add your API key and webhook URL to .env

NEXT_PUBLIC_INBOXY_API_KEY=your-api-key
NEXT_PUBLIC_INBOXY_WEBHOOK_URL=http://localhost:3000/api/webhook

Add the Inboxy provider to root layout

Add Authentication flow

Add the InboxyAuthButton to your page where you want users to authenticate.

Note: This does not replace your existing authentication flow.