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).
- Go to your repo → Settings → Webhooks → Add webhook
- Payload URL:
https://my-webhook.vercel.app/api/webhook
- Content type:
application/json
- Secret: same as
GITHUB_WEBHOOK_SECRET
- Events: Just the push event
- 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