Setup Guide

Prerequisites

1. Clone and Build

git clone https://github.com/ananthb/concierge-worker
cd concierge-worker
nix develop
cargo test

2. Create Cloudflare Resources

# Create D1 database
wrangler d1 create concierge-worker

# Create KV namespace
wrangler kv namespace create CALENDARS_KV

Update the IDs in wrangler.toml.

3. Apply Database Migration

wrangler d1 execute concierge-worker --remote --file migrations/0001_create_schema.sql

4. Set Secrets

See Configuration & Secrets for the full list.

5. Deploy

wrangler deploy

6. Configure Webhooks

After deploying, configure webhooks in the Meta Developer Console:

See Facebook App Setup for detailed instructions.