[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M793FTWVXDR95PZT78QGS0YP":3,"skill-same:01M793FTWVXDR95PZT78QGS0YP":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M793FTWVXDR95PZT78QGS0YP","navan-multi-env-setup",null,"Set up dev\u002Fstaging\u002Fprod environment separation for Navan integrations without a sandbox API.\nUse when configuring multiple environments, building CI test pipelines, or setting up local development.\nTrigger with \"navan environments\", \"navan multi env\", \"navan dev setup\", \"navan mock server\".","jukeyman\u002Fjukeyman-skills","jukeyman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142960420?v=4","01M78FR4Y3DHMMCBCC0GXXNB3F","RICK JEFFERSON","01M78FR4Z8RVQRAD31Y5J7V6EB",1,"MIT","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--navan-pack--navan-multi-env-setup\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: navan-multi-env-setup\ndescription: |\n  Set up dev\u002Fstaging\u002Fprod environment separation for Navan integrations without a sandbox API.\n  Use when configuring multiple environments, building CI test pipelines, or setting up local development.\n  Trigger with \"navan environments\", \"navan multi env\", \"navan dev setup\", \"navan mock server\".\nallowed-tools: Read, Write, Edit, Bash(npm:*), Grep\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ntags: [saas, navan, travel]\ncompatible-with: claude-code\n---\n\n# Navan Multi-Environment Setup\n\n## Overview\nNavan does not offer a sandbox or staging API — every call hits production data with real corporate bookings and expense records. This creates risk for development and testing: a bug in a sync script could modify live itineraries, and CI pipelines cannot safely run integration tests. This skill implements environment isolation using separate OAuth apps, environment variable validation, a local development proxy, and a CI mock server.\n\n## Prerequisites\n- Navan admin access to create multiple OAuth apps (Admin > Travel admin > Settings > Integrations)\n- Node.js 18+ for proxy and mock server\n- Understanding of OAuth 2.0 client credentials flow (see `navan-install-auth`)\n- `.env` management tooling (dotenv, direnv, or cloud secret manager)\n\n## Instructions\n\n### Step 1: Create Per-Environment OAuth Apps\nCreate separate API credentials in the Navan admin dashboard for each environment. This provides natural isolation — the dev app can have read-only scopes while production gets full access.\n\n```bash\n# .env.development — read-only scoped OAuth app\nNAVAN_ENV=development\nNAVAN_CLIENT_ID=dev-client-id-xxxxx\nNAVAN_CLIENT_SECRET=dev-client-secret-xxxxx\nNAVAN_API_BASE=https:\u002F\u002Fapi.navan.com\u002Fv1\nNAVAN_READ_ONLY=true\n\n# .env.staging — read + limited write, separate audit trail\nNAVAN_ENV=staging\nNAVAN_CLIENT_ID=stg-client-id-xxxxx\nNAVAN_CLIENT_SECRET=stg-client-secret-xxxxx\nNAVAN_API_BASE=https:\u002F\u002Fapi.navan.com\u002Fv1\nNAVAN_READ_ONLY=false\n\n# .env.production — full access, rotation-managed\nNAVAN_ENV=production\nNAVAN_CLIENT_ID=prod-client-id-xxxxx\nNAVAN_CLIENT_SECRET=prod-client-secret-xxxxx\nNAVAN_API_BASE=https:\u002F\u002Fapi.navan.com\u002Fv1\nNAVAN_READ_ONLY=false\n```\n\n### Step 2: Build an Environment-Aware Client\n```typescript\nimport { config } from 'dotenv';\n\ninterface NavanConfig {\n  env: string;\n  clientId: string;\n  clientSecret: string;\n  apiBase: string;\n  readOnly: boolean;\n}\n\nfunction loadConfig(): NavanConfig {\n  const envFile = `.env.${process.env.NODE_ENV || 'development'}`;\n  config({ path: envFile });\n\n  const required = ['NAVAN_CLIENT_ID', 'NAVAN_CLIENT_SECRET', 'NAVAN_API_BASE'];\n  for (const key of required) {\n    if (!process.env[key]) {\n      throw new Error(`Missing ${key} in ${envFile}`);\n    }\n  }\n\n  return {\n    env: process.env.NAVAN_ENV || 'development',\n    clientId: process.env.NAVAN_CLIENT_ID!,\n    clientSecret: process.env.NAVAN_CLIENT_SECRET!,\n    apiBase: process.env.NAVAN_API_BASE!,\n    readOnly: process.env.NAVAN_READ_ONLY === 'true'\n  };\n}\n\nclass NavanClient {\n  private config: NavanConfig;\n  private accessToken: string | null = null;\n\n  constructor() {\n    this.config = loadConfig();\n    console.log(`Navan client initialized [${this.config.env}] readOnly=${this.config.readOnly}`);\n  }\n\n  async request(method: string, path: string, body?: object): Promise\u003Cany> {\n    \u002F\u002F Block writes in read-only environments\n    if (this.config.readOnly && method !== 'GET') {\n      throw new Error(`Write operations blocked in ${this.config.env} (read-only mode)`);\n    }\n\n    if (!this.accessToken) {\n      this.accessToken = await this.authenticate();\n    }\n\n    const response = await fetch(`${this.config.apiBase}${path}`, {\n      method,\n      headers: {\n        'Authorization': `Bearer ${this.accessToken}`,\n        'Content-Type': 'application\u002Fjson'\n      },\n      body: body ? JSON.stringify(body) : undefined\n    });\n\n    if (!response.ok) {\n      throw new Error(`Navan API error: HTTP ${response.status} on ${method} ${path}`);\n    }\n    return response.json();\n  }\n\n  private async authenticate(): Promise\u003Cstring> {\n    const res = await fetch('https:\u002F\u002Fapi.navan.com\u002Fta-auth\u002Foauth\u002Ftoken', {\n      method: 'POST',\n      headers: { 'Content-Type': 'application\u002Fx-www-form-urlencoded' },\n      body: new URLSearchParams({\n        grant_type: 'client_credentials',\n        client_id: this.config.clientId,\n        client_secret: this.config.clientSecret\n      })\n    });\n    const { access_token } = await res.json();\n    return access_token;\n  }\n}\n```\n\n### Step 3: Create a Local Development Proxy\n```typescript\nimport express from 'express';\n\n\u002F\u002F Proxy that logs all requests and optionally blocks writes\nconst proxy = express();\n\nproxy.use(express.json());\nproxy.all('\u002Fnavan\u002F*', async (req, res) => {\n  const navanPath = req.path.replace('\u002Fnavan', '');\n  const method = req.method;\n\n  \u002F\u002F Log every request for debugging\n  console.log(`[PROXY] ${method} ${navanPath}`);\n  if (req.body && Object.keys(req.body).length > 0) {\n    console.log(`[PROXY] Body:`, JSON.stringify(req.body, null, 2));\n  }\n\n  \u002F\u002F In dev mode, block mutating operations\n  if (process.env.NAVAN_READ_ONLY === 'true' && method !== 'GET') {\n    console.log(`[PROXY] BLOCKED: ${method} ${navanPath} (read-only mode)`);\n    return res.status(403).json({\n      error: 'Write operation blocked in development mode',\n      method, path: navanPath\n    });\n  }\n\n  \u002F\u002F Forward to real Navan API\n  try {\n    const response = await fetch(`https:\u002F\u002Fapi.navan.com\u002Fv1${navanPath}`, {\n      method,\n      headers: {\n        'Authorization': req.headers.authorization as string,\n        'Content-Type': 'application\u002Fjson'\n      },\n      body: ['POST', 'PUT', 'PATCH'].includes(method)\n        ? JSON.stringify(req.body) : undefined\n    });\n\n    const data = await response.json();\n    console.log(`[PROXY] Response: ${response.status}`);\n    res.status(response.status).json(data);\n  } catch (err: any) {\n    console.error(`[PROXY] Error:`, err.message);\n    res.status(502).json({ error: 'Proxy error', message: err.message });\n  }\n});\n\nproxy.listen(4000, () => console.log('Navan dev proxy on http:\u002F\u002Flocalhost:4000'));\n```\n\n### Step 4: Build a CI Mock Server\n```typescript\nimport express from 'express';\nconst mock = express();\nmock.use(express.json());\n\n\u002F\u002F Mock data store\nconst mockData = {\n  users: [\n    { id: 'user-001', email: 'traveler@company.com', role: 'traveler', department: 'engineering' }\n  ],\n  trips: [\n    { id: 'trip-001', traveler_id: 'user-001', status: 'confirmed', total: 450.00 }\n  ],\n  expenses: [\n    { id: 'exp-001', submitter_id: 'user-001', amount: 125.50, status: 'submitted' }\n  ]\n};\n\n\u002F\u002F OAuth token endpoint\nmock.post('\u002Fta-auth\u002Foauth\u002Ftoken', (req, res) => {\n  res.json({ access_token: 'mock-token-ci', expires_in: 3600, token_type: 'Bearer' });\n});\n\n\u002F\u002F Users\nmock.get('\u002Fv1\u002Fusers', (req, res) => {\n  res.json({ data: mockData.users, total: mockData.users.length, has_more: false });\n});\n\n\u002F\u002F Trips\nmock.get('\u002Fv1\u002Ftrips', (req, res) => {\n  res.json({ data: mockData.trips, total: mockData.trips.length, has_more: false });\n});\n\n\u002F\u002F Expenses\nmock.get('\u002Fv1\u002Fexpenses', (req, res) => {\n  res.json({ data: mockData.expenses, total: mockData.expenses.length, has_more: false });\n});\n\n\u002F\u002F Catch-all for unimplemented endpoints\nmock.all('*', (req, res) => {\n  console.log(`[MOCK] Unhandled: ${req.method} ${req.path}`);\n  res.status(501).json({ error: 'Not implemented in mock', path: req.path });\n});\n\nconst port = process.env.MOCK_PORT || 4001;\nmock.listen(port, () => console.log(`Navan mock server on http:\u002F\u002Flocalhost:${port}`));\n```\n\n### Step 5: Wire Mock Server into CI\n```yaml\n# .github\u002Fworkflows\u002Ftest.yml\n- name: Start Navan mock server\n  run: |\n    node navan-mock-server.js &\n    sleep 2\n  env:\n    MOCK_PORT: 4001\n\n- name: Run integration tests\n  run: npm test\n  env:\n    NAVAN_API_BASE: http:\u002F\u002Flocalhost:4001\u002Fv1\n    NAVAN_CLIENT_ID: ci-test-client\n    NAVAN_CLIENT_SECRET: ci-test-secret\n    NODE_ENV: test\n```\n\n## Output\nA complete environment isolation strategy for Navan integrations: separate OAuth apps per environment with scoped permissions, an environment-aware client with write protection, a local dev proxy for request logging and mutation blocking, and a CI-ready mock server that eliminates production API dependencies from automated tests.\n\n## Error Handling\n| Error | Code | Solution |\n|-------|------|----------|\n| Missing env vars | N\u002FA | Config loader throws on startup; check the correct `.env.\u003Cenvironment>` file exists |\n| Write blocked in read-only | 403 | Expected in dev mode; switch to staging\u002Fprod for write operations |\n| Mock endpoint not found | 501 | Add the endpoint to mock server; check test expectations match mock data |\n| Proxy connection refused | 502 | Ensure the proxy server is running; check port availability |\n| Wrong environment loaded | N\u002FA | Verify NODE_ENV matches the intended `.env.\u003Cenvironment>` file |\n\n## Examples\n\n**Validate environment configuration:**\n```bash\n# Check which environment would load\nNODE_ENV=staging node -e \"\n  require('dotenv').config({ path: '.env.staging' });\n  console.log('ENV:', process.env.NAVAN_ENV);\n  console.log('READ_ONLY:', process.env.NAVAN_READ_ONLY);\n  console.log('CLIENT_ID:', process.env.NAVAN_CLIENT_ID?.slice(0, 8) + '...');\n\"\n```\n\n**Run tests against mock server locally:**\n```bash\n# Terminal 1: Start mock\nMOCK_PORT=4001 node navan-mock-server.js\n\n# Terminal 2: Run tests\nNAVAN_API_BASE=http:\u002F\u002Flocalhost:4001\u002Fv1 npm test\n```\n\n## Resources\n- [Navan Help Center](https:\u002F\u002Fapp.navan.com\u002Fapp\u002Fhelpcenter) — API credential creation and management\n- [Navan Integrations](https:\u002F\u002Fnavan.com\u002Fintegrations) — Available integration patterns and partners\n- [Navan Security](https:\u002F\u002Fnavan.com\u002Fsecurity) — Data handling and environment security policies\n- [dotenv Documentation](https:\u002F\u002Fgithub.com\u002Fmotdotla\u002Fdotenv) — Environment variable management for Node.js\n\n## Next Steps\nAfter setting up environments, see `navan-security-basics` for credential rotation across all environments, or `navan-ci-integration` for building the full CI\u002FCD pipeline with Navan API tests.\n","# Navan Multi-Environment Setup\n\n## Overview\nNavan does not offer a sandbox or staging API — every call hits production data with real corporate bookings and expense records. This creates risk for development and testing: a bug in a sync script could modify live itineraries, and CI pipelines cannot safely run integration tests. This skill implements environment isolation using separate OAuth apps, environment variable validation, a local development proxy, and a CI mock server.\n\n## Prerequisites\n- Navan admin access to create multiple OAuth apps (Admin > Travel admin > Settings > Integrations)\n- Node.js 18+ for proxy and mock server\n- Understanding of OAuth 2.0 client credentials flow (see `navan-install-auth`)\n- `.env` management tooling (dotenv, direnv, or cloud secret manager)\n\n## Instructions\n\n### Step 1: Create Per-Environment OAuth Apps\nCreate separate API credentials in the Navan admin dashboard for each environment. This provides natural isolation — the dev app can have read-only scopes while production gets full access.\n\n```bash\n# .env.development — read-only scoped OAuth app\nNAVAN_ENV=development\nNAVAN_CLIENT_ID=dev-client-id-xxxxx\nNAVAN_CLIENT_SECRET=dev-client-secret-xxxxx\nNAVAN_API_BASE=https:\u002F\u002Fapi.navan.com\u002Fv1\nNAVAN_READ_ONLY=true\n\n# .env.staging — read + limited write, separate audit trail\nNAVAN_ENV=staging\nNAVAN_CLIENT_ID=stg-client-id-xxxxx\nNAVAN_CLIENT_SECRET=stg-client-secret-xxxxx\nNAVAN_API_BASE=https:\u002F\u002Fapi.navan.com\u002Fv1\nNAVAN_READ_ONLY=false\n\n# .env.production — full access, rotation-managed\nNAVAN_ENV=production\nNAVAN_CLIENT_ID=prod-client-id-xxxxx\nNAVAN_CLIENT_SECRET=prod-client-secret-xxxxx\nNAVAN_API_BASE=https:\u002F\u002Fapi.navan.com\u002Fv1\nNAVAN_READ_ONLY=false\n```\n\n### Step 2: Build an Environment-Aware Client\n```typescript\nimport { config } from 'dotenv';\n\ninterface NavanConfig {\n  env: string;\n  clientId: string;\n  clientSecret: string;\n  apiBase: string;\n  readOnly: boolean;\n}\n\nfunction loadConfig(): NavanConfig {\n  const envFile = `.env.${process.env.NODE_ENV || 'development'}`;\n  config({ path: envFile });\n\n  const required = ['NAVAN_CLIENT_ID', 'NAVAN_CLIENT_SECRET', 'NAVAN_API_BASE'];\n  for (const key of required) {\n    if (!process.env[key]) {\n      throw new Error(`Missing ${key} in ${envFile}`);\n    }\n  }\n\n  return {\n    env: process.env.NAVAN_ENV || 'development',\n    clientId: process.env.NAVAN_CLIENT_ID!,\n    clientSecret: process.env.NAVAN_CLIENT_SECRET!,\n    apiBase: process.env.NAVAN_API_BASE!,\n    readOnly: process.env.NAVAN_READ_ONLY === 'true'\n  };\n}\n\nclass NavanClient {\n  private config: NavanConfig;\n  private accessToken: string | null = null;\n\n  constructor() {\n    this.config = loadConfig();\n    console.log(`Navan client initialized [${this.config.env}] readOnly=${this.config.readOnly}`);\n  }\n\n  async request(method: string, path: string, body?: object): Promise\u003Cany> {\n    \u002F\u002F Block writes in read-only environments\n    if (this.config.readOnly && method !== 'GET') {\n      throw new Error(`Write operations blocked in ${this.config.env} (read-only mode)`);\n    }\n\n    if (!this.accessToken) {\n      this.accessToken = await this.authenticate();\n    }\n\n    const response = await fetch(`${this.config.apiBase}${path}`, {\n      method,\n      headers: {\n        'Authorization': `Bearer ${this.accessToken}`,\n        'Content-Type': 'application\u002Fjson'\n      },\n      body: body ? JSON.stringify(body) : undefined\n    });\n\n    if (!response.ok) {\n      throw new Error(`Navan API error: HTTP ${response.status} on ${method} ${path}`);\n    }\n    return response.json();\n  }\n\n  private async authenticate(): Promise\u003Cstring> {\n    const res = await fetch('https:\u002F\u002Fapi.navan.com\u002Fta-auth\u002Foauth\u002Ftoken', {\n      method: 'POST',\n      headers: { 'Content-Type': 'application\u002Fx-www-form-urlencoded' },\n      body: new URLSearchParams({\n        grant_type: 'client_credentials',\n        client_id: this.config.clientId,\n        client_secret: this.config.clientSecret\n      })\n    });\n    const { access_token } = await res.json();\n    return access_token;\n  }\n}\n```\n\n### Step 3: Create a Local Development Proxy\n```typescript\nimport express from 'express';\n\n\u002F\u002F Proxy that logs all requests and optionally blocks writes\nconst proxy = express();\n\nproxy.use(express.json());\nproxy.all('\u002Fnavan\u002F*', async (req, res) => {\n  const navanPath = req.path.replace('\u002Fnavan', '');\n  const method = req.method;\n\n  \u002F\u002F Log every request for debugging\n  console.log(`[PROXY] ${method} ${navanPath}`);\n  if (req.body && Object.keys(req.body).length > 0) {\n    console.log(`[PROXY] Body:`, JSON.stringify(req.body, null, 2));\n  }\n\n  \u002F\u002F In dev mode, block mutating operations\n  if (process.env.NAVAN_READ_ONLY === 'true' && method !== 'GET') {\n    console.log(`[PROXY] BLOCKED: ${method} ${navanPath} (read-only mode)`);\n    return res.status(403).json({\n      error: 'Write operation blocked in development mode',\n      method, path: navanPath\n    });\n  }\n\n  \u002F\u002F Forward to real Navan API\n  try {\n    const response = await fetch(`https:\u002F\u002Fapi.navan.com\u002Fv1${navanPath}`, {\n      method,\n      headers: {\n        'Authorization': req.headers.authorization as string,\n        'Content-Type': 'application\u002Fjson'\n      },\n      body: ['POST', 'PUT', 'PATCH'].includes(method)\n        ? JSON.stringify(req.body) : undefined\n    });\n\n    const data = await response.json();\n    console.log(`[PROXY] Response: ${response.status}`);\n    res.status(response.status).json(data);\n  } catch (err: any) {\n    console.error(`[PROXY] Error:`, err.message);\n    res.status(502).json({ error: 'Proxy error', message: err.message });\n  }\n});\n\nproxy.listen(4000, () => console.log('Navan dev proxy on http:\u002F\u002Flocalhost:4000'));\n```\n\n### Step 4: Build a CI Mock Server\n```typescript\nimport express from 'express';\nconst mock = express();\nmock.use(express.json());\n\n\u002F\u002F Mock data store\nconst mockData = {\n  users: [\n    { id: 'user-001', email: 'traveler@company.com', role: 'traveler', department: 'engineering' }\n  ],\n  trips: [\n    { id: 'trip-001', traveler_id: 'user-001', status: 'confirmed', total: 450.00 }\n  ],\n  expenses: [\n    { id: 'exp-001', submitter_id: 'user-001', amount: 125.50, status: 'submitted' }\n  ]\n};\n\n\u002F\u002F OAuth token endpoint\nmock.post('\u002Fta-auth\u002Foauth\u002Ftoken', (req, res) => {\n  res.json({ access_token: 'mock-token-ci', expires_in: 3600, token_type: 'Bearer' });\n});\n\n\u002F\u002F Users\nmock.get('\u002Fv1\u002Fusers', (req, res) => {\n  res.json({ data: mockData.users, total: mockData.users.length, has_more: false });\n});\n\n\u002F\u002F Trips\nmock.get('\u002Fv1\u002Ftrips', (req, res) => {\n  res.json({ data: mockData.trips, total: mockData.trips.length, has_more: false });\n});\n\n\u002F\u002F Expenses\nmock.get('\u002Fv1\u002Fexpenses', (req, res) => {\n  res.json({ data: mockData.expenses, total: mockData.expenses.length, has_more: false });\n});\n\n\u002F\u002F Catch-all for unimplemented endpoints\nmock.all('*', (req, res) => {\n  console.log(`[MOCK] Unhandled: ${req.method} ${req.path}`);\n  res.status(501).json({ error: 'Not implemented in mock', path: req.path });\n});\n\nconst port = process.env.MOCK_PORT || 4001;\nmock.listen(port, () => console.log(`Navan mock server on http:\u002F\u002Flocalhost:${port}`));\n```\n\n### Step 5: Wire Mock Server into CI\n```yaml\n# .github\u002Fworkflows\u002Ftest.yml\n- name: Start Navan mock server\n  run: |\n    node navan-mock-server.js &\n    sleep 2\n  env:\n    MOCK_PORT: 4001\n\n- name: Run integration tests\n  run: npm test\n  env:\n    NAVAN_API_BASE: http:\u002F\u002Flocalhost:4001\u002Fv1\n    NAVAN_CLIENT_ID: ci-test-client\n    NAVAN_CLIENT_SECRET: ci-test-secret\n    NODE_ENV: test\n```\n\n## Output\nA complete environment isolation strategy for Navan integrations: separate OAuth apps per environment with scoped permissions, an environment-aware client with write protection, a local dev proxy for request logging and mutation blocking, and a CI-ready mock server that eliminates production API dependencies from automated tests.\n\n## Error Handling\n| Error | Code | Solution |\n|-------|------|----------|\n| Missing env vars | N\u002FA | Config loader throws on startup; check the correct `.env.\u003Cenvironment>` file exists |\n| Write blocked in read-only | 403 | Expected in dev mode; switch to staging\u002Fprod for write operations |\n| Mock endpoint not found | 501 | Add the endpoint to mock server; check test expectations match mock data |\n| Proxy connection refused | 502 | Ensure the proxy server is running; check port availability |\n| Wrong environment loaded | N\u002FA | Verify NODE_ENV matches the intended `.env.\u003Cenvironment>` file |\n\n## Examples\n\n**Validate environment configuration:**\n```bash\n# Check which environment would load\nNODE_ENV=staging node -e \"\n  require('dotenv').config({ path: '.env.staging' });\n  console.log('ENV:', process.env.NAVAN_ENV);\n  console.log('READ_ONLY:', process.env.NAVAN_READ_ONLY);\n  console.log('CLIENT_ID:', process.env.NAVAN_CLIENT_ID?.slice(0, 8) + '...');\n\"\n```\n\n**Run tests against mock server locally:**\n```bash\n# Terminal 1: Start mock\nMOCK_PORT=4001 node navan-mock-server.js\n\n# Terminal 2: Run tests\nNAVAN_API_BASE=http:\u002F\u002Flocalhost:4001\u002Fv1 npm test\n```\n\n## Resources\n- [Navan Help Center](https:\u002F\u002Fapp.navan.com\u002Fapp\u002Fhelpcenter) — API credential creation and management\n- [Navan Integrations](https:\u002F\u002Fnavan.com\u002Fintegrations) — Available integration patterns and partners\n- [Navan Security](https:\u002F\u002Fnavan.com\u002Fsecurity) — Data handling and environment security policies\n- [dotenv Documentation](https:\u002F\u002Fgithub.com\u002Fmotdotla\u002Fdotenv) — Environment variable management for Node.js\n\n## Next Steps\nAfter setting up environments, see `navan-security-basics` for credential rotation across all environments, or `navan-ci-integration` for building the full CI\u002FCD pipeline with Navan API tests.\n",{"name":5,"tags":24,"author":28,"license":15,"version":29,"description":30,"allowed-tools":31,"compatible-with":32},[25,26,27],"saas","navan","travel","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Set up dev\u002Fstaging\u002Fprod environment separation for Navan integrations without a sandbox API.\nUse when configuring multiple environments, building CI test pipelines, or setting up local development.\nTrigger with \"navan environments\", \"navan multi env\", \"navan dev setup\", \"navan mock server\".\n","Read, Write, Edit, Bash(npm:*), Grep","claude-code","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fsaas-packs--navan-pack--navan-multi-env-setup",0,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills","https:\u002F\u002Fgithub.com\u002Fjukeyman","https:\u002F\u002FRJBUSINESSSOLUTIONS.ORG","Credit and Finance Expert | Developer\r\n\r\nI'm Rick Jefferson, a seasoned credit and finance expert with over a decade of experience in financial literacy,","2026-07-13 07:03:29",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add jukeyman\u002Fjukeyman-skills --skill navan-multi-env-setup",{"tool":48,"command":49},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill navan-multi-env-setup",{"tool":51,"command":52},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill navan-multi-env-setup","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--navan-pack--navan-multi-env-setup\u002FSKILL.md",true,[],[57,64,71,78,85,93],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M79ANS2SM329NEP5ZCX106RR","zustand-store-creator","Create zustand store creator operations. Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category. Use when working with zustand store creator functionality. Trigger with phrases like \"zustand store creator\", \"zustand creator\", \"zustand\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M79AMZKP4YDEZ7EHG1Y7PP74","zero-trust-config-helper","Configure with zero trust config helper operations. Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category. Use when configuring systems or services. Trigger with phrases like \"zero trust config helper\", \"zero helper\", \"zero\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M79AMJSBCEJQNBTYNAHYN5HM","zapier-integration-helper","Assist with zapier integration helper operations. Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category. Use when working with APIs or building integrations. Trigger with phrases like \"zapier integration helper\", \"zapier helper\", \"zapier\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M79AHJZGVMARS13VFQYRR1MP","yaml-config-validator","Validate yaml config validator operations. Auto-activating skill for DevOps Basics.\nTriggers on: yaml config validator, yaml config validator\nPart of the DevOps Basics skill category. Use when configuring systems or services. Trigger with phrases like \"yaml config validator\", \"yaml validator\", \"yaml\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fyaml-config-validator\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":89,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M79AHGDZRN0020RDQSQDPAM8","xvary-stock-research","Thesis-driven equity analysis from public SEC EDGAR and market data; \u002Fanalyze, \u002Fscore, \u002Fcompare workflows with bundled Python tools (Claude Code, Cursor, Codex).","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M79AHCYJ9FV9RMHQ24HDRN33","xss-vulnerability-scanner","Scan xss vulnerability scanner operations. Auto-activating skill for Security Fundamentals.\nTriggers on: xss vulnerability scanner, xss vulnerability scanner\nPart of the Security Fundamentals skill category. Use when working with xss vulnerability scanner functionality. Trigger with phrases like \"xss vulnerability scanner\", \"xss scanner\", \"xss\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxss-vulnerability-scanner\u002FSKILL.md",[],[]]