bamboohr-install-auth
Install and configure BambooHR API authentication with HTTP Basic Auth. Use when setting up a new BambooHR integration, configuring API keys, or initializing BambooHR REST API access in your project. Trigger with phrases like "install bamboohr", "setup bamboohr", "bamboohr auth", "configure bamboohr API key", "bamboohr credentials".
What this skill does
# BambooHR Install & Auth
## Overview
Set up BambooHR REST API authentication. BambooHR uses HTTP Basic Authentication — your API key is the username, and the password can be any arbitrary string (typically `x`).
**Base URL pattern:**
```
https://api.bamboohr.com/api/gateway.php/{companyDomain}/v1/
```
Where `{companyDomain}` is your BambooHR subdomain (e.g., `acmecorp` from `acmecorp.bamboohr.com`).
## Prerequisites
- Node.js 18+ or Python 3.10+
- BambooHR account with API access enabled
- API key generated from BambooHR (Account > API Keys)
- Company subdomain from your BambooHR URL
## Instructions
### Step 1: Generate an API Key
1. Log in to BambooHR at `https://{companyDomain}.bamboohr.com`
2. Click your profile icon > **API Keys**
3. Click **Add New Key**, give it a descriptive name
4. Copy the key immediately — it is only shown once
### Step 2: Configure Environment Variables
```bash
# Required
export BAMBOOHR_API_KEY="your-api-key-here"
export BAMBOOHR_COMPANY_DOMAIN="yourcompany"
# Create .env file for local development
cat > .env << 'EOF'
BAMBOOHR_API_KEY=your-api-key-here
BAMBOOHR_COMPANY_DOMAIN=yourcompany
EOF
# IMPORTANT: Add to .gitignore
echo '.env' >> .gitignore
echo '.env.local' >> .gitignore
```
### Step 3: Install HTTP Client
```bash
# Node.js — no BambooHR-specific SDK needed; use fetch or axios
npm install dotenv
# Python
pip install requests python-dotenv
```
### Step 4: Verify Connection
**TypeScript / Node.js:**
```typescript
import 'dotenv/config';
const COMPANY = process.env.BAMBOOHR_COMPANY_DOMAIN!;
const API_KEY = process.env.BAMBOOHR_API_KEY!;
const BASE_URL = `https://api.bamboohr.com/api/gateway.php/${COMPANY}/v1`;
// BambooHR uses HTTP Basic Auth: API key as username, "x" as password
const headers = {
'Authorization': `Basic ${Buffer.from(`${API_KEY}:x`).toString('base64')}`,
'Accept': 'application/json',
};
// Test: fetch the employee directory
const res = await fetch(`${BASE_URL}/employees/directory`, { headers });
if (res.ok) {
const data = await res.json();
console.log(`Connected. ${data.employees?.length ?? 0} employees found.`);
} else {
console.error(`Auth failed: ${res.status} ${res.statusText}`);
const errHeader = res.headers.get('X-BambooHR-Error-Message');
if (errHeader) console.error(`Detail: ${errHeader}`);
}
```
**Python:**
```python
import os, requests
from dotenv import load_dotenv
load_dotenv()
COMPANY = os.environ["BAMBOOHR_COMPANY_DOMAIN"]
API_KEY = os.environ["BAMBOOHR_API_KEY"]
BASE_URL = f"https://api.bamboohr.com/api/gateway.php/{COMPANY}/v1"
# HTTP Basic Auth: API key as username, "x" as password
response = requests.get(
f"{BASE_URL}/employees/directory",
auth=(API_KEY, "x"),
headers={"Accept": "application/json"},
)
if response.ok:
data = response.json()
print(f"Connected. {len(data.get('employees', []))} employees found.")
else:
print(f"Auth failed: {response.status_code}")
print(response.headers.get("X-BambooHR-Error-Message", ""))
```
**Quick curl test:**
```bash
curl -s -u "${BAMBOOHR_API_KEY}:x" \
"https://api.bamboohr.com/api/gateway.php/${BAMBOOHR_COMPANY_DOMAIN}/v1/employees/directory" \
-H "Accept: application/json" | head -c 200
```
## Output
- Environment variables configured (`BAMBOOHR_API_KEY`, `BAMBOOHR_COMPANY_DOMAIN`)
- `.env` file created and git-ignored
- Successful API response from `/employees/directory`
## Error Handling
| HTTP Status | Header | Cause | Solution |
|-------------|--------|-------|----------|
| 401 | `X-BambooHR-Error-Message` | Invalid or missing API key | Regenerate key in BambooHR dashboard |
| 403 | `X-BambooHR-Error-Message` | Key lacks permissions for endpoint | Use an admin-level API key |
| 404 | — | Wrong company domain in URL | Verify subdomain matches `{x}.bamboohr.com` |
| 503 | `Retry-After` | Rate limited or service unavailable | Wait for `Retry-After` seconds and retry |
## Enterprise Considerations
- **Key rotation**: Generate a new key, update env vars, verify, then delete the old key
- **Audit trail**: Each API key is tied to a user; BambooHR logs which key made each request
- **IP allowlisting**: BambooHR does not support IP restrictions on API keys
- **SSO/OAuth**: BambooHR supports OpenID Connect for browser login, but API access requires API keys
- **Multi-tenant**: Store per-company credentials in a secrets manager (AWS Secrets Manager, GCP Secret Manager, Vault)
## Resources
- [BambooHR API Getting Started](https://documentation.bamboohr.com/docs/getting-started)
- [BambooHR Authentication Docs](https://documentation.bamboohr.com/docs)
- [BambooHR API Technical Overview](https://documentation.bamboohr.com/docs/api-details)
## Next Steps
After successful auth, proceed to `bamboohr-hello-world` for your first employee data retrieval.
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.