Skip to main content
Experimental API - Context Connectors is experimental and subject to breaking changes.

Prerequisites

  • A Vercel account (or Express server)
  • Augment API credentials
  • AWS credentials + S3 bucket
  • A GitHub repo you control

Steps

1. Create a Vercel project

2. Create the webhook handler

Create app/api/webhook/route.ts:

3. Set environment variables in Vercel

4. Deploy

Note the URL (e.g., https://my-webhook.vercel.app).

5. Configure GitHub webhook

  1. Go to your repo → Settings → Webhooks → Add webhook
  2. Payload URL: https://my-webhook.vercel.app/api/webhook
  3. Content type: application/json
  4. Secret: same as GITHUB_WEBHOOK_SECRET
  5. Events: Just the push event
  6. Click “Add webhook”

6. Test it

Push a commit to main. Check Vercel logs for:

Done!

Your index updates automatically on every push to main.

Also Works With