| name | bamboohr-deploy-integration |
| description | Deploy BambooHR integrations to Vercel, Fly.io, and Cloud Run platforms.
Use when deploying BambooHR-powered applications to production,
configuring platform-specific secrets, or setting up deployment pipelines.
Trigger with phrases like "deploy bamboohr", "bamboohr Vercel",
"bamboohr production deploy", "bamboohr Cloud Run", "bamboohr Fly.io".
|
| allowed-tools | Read, Write, Edit, Bash(vercel:*), Bash(fly:*), Bash(gcloud:*) |
| version | 1.4.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","hr","bamboohr","deployment"] |
| compatibility | Designed for Claude Code |
BambooHR Deploy Integration
Overview
Deploy BambooHR-powered applications to cloud platforms with proper secrets management, health checks, and webhook endpoint configuration. Covers Vercel (serverless), Fly.io (containers), and Google Cloud Run.
Prerequisites
- BambooHR integration tested locally and in staging
- Production API key and company domain ready
- Platform CLI installed (
vercel, fly, or gcloud)
Instructions
Vercel Deployment (Serverless)
vercel env add BAMBOOHR_API_KEY production
vercel env add BAMBOOHR_COMPANY_DOMAIN production
vercel env add BAMBOOHR_WEBHOOK_SECRET production
vercel.json:
{
"functions": {
"api/**/*.ts": {
"maxDuration": 30
}
},
"crons": [{
"path": "/api/bamboohr/sync",
"schedule": "0 */6 * * *"
}]
}
Webhook endpoint (Vercel serverless):
import { verifyBambooHRWebhook } from '../../src/bamboohr/security';
config = { : { : } };
() {
(req. !== ) res.().();
: [] = [];
( chunk req) chunks.(chunk);
rawBody = .(chunks);
sig = req.[];
ts = req.[];
(!(rawBody, sig, ts, process..!)) {
res.().({ : });
}
event = .(rawBody.());
(event);
res.().({ : });
}