Documentation Index
Fetch the complete documentation index at: https://docs.augmentcode.com/llms.txt
Use this file to discover all available pages before exploring further.
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
Createapp/api/webhook/route.ts:
3. Set environment variables in Vercel
4. Deploy
https://my-webhook.vercel.app).
5. Configure GitHub webhook
- 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
| Instead of… | Try… |
|---|---|
| Vercel | Express: createExpressHandler() from integrations/express |
| Vercel | Any framework: createGitHubWebhookHandler() + verifyWebhookSignature() |
| Main branch only | Customize shouldIndex to match any branch pattern |
| S3 storage | FilesystemStore for local/self-hosted setups |