[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M793FCYHB481RZNEEJD8163F":3,"skill-same:01M793FCYHB481RZNEEJD8163F":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},"01M793FCYHB481RZNEEJD8163F","navan-install-auth",null,"Set up OAuth 2.0 authentication for the Navan REST API.\nUse when configuring a new Navan integration or rotating API credentials.\nTrigger with \"install navan\", \"setup navan auth\", \"navan credentials\", \"navan oauth\".","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-install-auth\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: navan-install-auth\ndescription: |\n  Set up OAuth 2.0 authentication for the Navan REST API.\n  Use when configuring a new Navan integration or rotating API credentials.\n  Trigger with \"install navan\", \"setup navan auth\", \"navan credentials\", \"navan oauth\".\nallowed-tools: Read, Write, Edit, Bash(npm:*), Bash(pip:*), 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 Install & Auth\n\n## Overview\n\nConfigure OAuth 2.0 client credentials for the Navan REST API. Navan has **no public SDK** — all API access uses raw REST calls with bearer tokens obtained via the client_credentials grant.\n\n**Purpose:** Obtain a working OAuth 2.0 bearer token for calling Navan API endpoints.\n\n## Prerequisites\n\n- **Navan admin access** — you need the Admin or Travel Admin role\n- **Node.js 18+** (for TypeScript) or **Python 3.8+** (for Python)\n- A `.env`-aware project (dotenv for Node, python-dotenv for Python)\n- Navan Business tier or higher (free for up to 300 employees)\n\n## Instructions\n\n### Step 1: Create OAuth Credentials in Navan Dashboard\n\nNavigate to: **Admin > Travel admin > Settings > Integrations > Navan API Credentials > Create New**\n\nSave the `client_id` and `client_secret` immediately — credentials are **only viewable once**. If lost, you must revoke and regenerate.\n\n### Step 2: Store Credentials Securely\n\nCreate a `.env` file in your project root:\n\n```bash\n# .env — NEVER commit this file\nNAVAN_CLIENT_ID=\"your-client-id-here\"\nNAVAN_CLIENT_SECRET=\"your-client-secret-here\"\nNAVAN_BASE_URL=\"https:\u002F\u002Fapi.navan.com\"\n```\n\nEnsure `.env` is in your `.gitignore`:\n\n```bash\necho \".env\" >> .gitignore\n```\n\n### Step 3: Token Exchange (TypeScript)\n\nInstall dependencies and implement the OAuth 2.0 client credentials flow:\n\n```bash\nnpm install dotenv\n```\n\n```typescript\nimport 'dotenv\u002Fconfig';\n\ninterface TokenResponse {\n  access_token: string;\n  token_type: string;\n  expires_in: number;\n}\n\nasync function getNavanToken(): Promise\u003Cstring> {\n  const response = await fetch(`${process.env.NAVAN_BASE_URL}\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: process.env.NAVAN_CLIENT_ID!,\n      client_secret: process.env.NAVAN_CLIENT_SECRET!,\n    }),\n  });\n\n  if (!response.ok) {\n    const error = await response.text();\n    throw new Error(`Auth failed (${response.status}): ${error}`);\n  }\n\n  const data: TokenResponse = await response.json();\n  return data.access_token;\n}\n\n\u002F\u002F Verify connection\nconst token = await getNavanToken();\nconsole.log('Auth successful — token acquired');\n```\n\n### Step 4: Token Exchange (Python)\n\n```bash\npip install requests python-dotenv\n```\n\n```python\nimport os\nimport requests\nfrom dotenv import load_dotenv\n\nload_dotenv()\n\ndef get_navan_token() -> str:\n    \"\"\"Exchange client credentials for an OAuth 2.0 bearer token.\"\"\"\n    response = requests.post(\n        f\"{os.environ['NAVAN_BASE_URL']}\u002Fta-auth\u002Foauth\u002Ftoken\",\n        data={\n            \"grant_type\": \"client_credentials\",\n            \"client_id\": os.environ[\"NAVAN_CLIENT_ID\"],\n            \"client_secret\": os.environ[\"NAVAN_CLIENT_SECRET\"],\n        },\n    )\n    response.raise_for_status()\n    return response.json()[\"access_token\"]\n\ntoken = get_navan_token()\nprint(\"Auth successful — token acquired\")\n```\n\n### Step 5: Verify Connection\n\nMake an authenticated API call to confirm credentials work:\n\n```typescript\nconst bookings = await fetch(`${process.env.NAVAN_BASE_URL}\u002Fv1\u002Fbookings?page=0&size=50`, {\n  headers: { Authorization: `Bearer ${token}` },\n});\n\nif (bookings.ok) {\n  const { data } = await bookings.json();\n  console.log(`Connection verified — retrieved ${data.length} bookings`);\n} else {\n  console.error(`Verification failed: ${bookings.status}`);\n}\n```\n\n## Output\n\nSuccessful completion produces:\n- OAuth 2.0 `client_id` and `client_secret` stored in `.env`\n- A `getNavanToken()` function (TypeScript or Python) returning a bearer token\n- A verified connection to the Navan API confirmed by a successful GET request\n\n## Error Handling\n\n| Error | Code | Cause | Solution |\n|-------|------|-------|----------|\n| Invalid credentials | 401 | Wrong client_id or client_secret | Regenerate credentials in Admin > Integrations |\n| Insufficient permissions | 403 | Account lacks API access or wrong tier | Contact Navan support to enable API access |\n| Rate limited | 429 | Too many auth requests | Implement token caching (see navan-local-dev-loop) |\n| Endpoint not found | 404 | Wrong base URL or path | Verify NAVAN_BASE_URL is `https:\u002F\u002Fapi.navan.com` |\n| Server error | 500 | Navan service issue | Retry after 30 seconds; check Navan status page |\n| Service unavailable | 503 | Navan maintenance window | Wait and retry; check for scheduled maintenance |\n\n## Examples\n\n**Minimal auth check script:**\n\n```bash\n# Quick credential test with curl\ncurl -s -X POST https:\u002F\u002Fapi.navan.com\u002Fta-auth\u002Foauth\u002Ftoken \\\n  -H \"Content-Type: application\u002Fx-www-form-urlencoded\" \\\n  -d \"grant_type=client_credentials&client_id=$NAVAN_CLIENT_ID&client_secret=$NAVAN_CLIENT_SECRET\" \\\n  | python3 -c \"import sys,json; d=json.load(sys.stdin); print('OK' if 'access_token' in d else 'FAIL')\"\n```\n\n## Resources\n\n- [Navan Help Center](https:\u002F\u002Fapp.navan.com\u002Fapp\u002Fhelpcenter) — primary documentation hub\n- [Navan TMC API Documentation](https:\u002F\u002Fapp.navan.com\u002Fapp\u002Fhelpcenter\u002Farticles\u002Ftravel\u002Fadmin\u002Fother-integrations\u002Fnavan-tmc-api-integration-documentation) — API integration guide\n- [Navan Integrations](https:\u002F\u002Fnavan.com\u002Fintegrations) — available integration partners\n- [Navan Security & Compliance](https:\u002F\u002Fnavan.com\u002Fsecurity) — SOC 2 Type II, ISO 27001, PCI DSS Level 1\n\n## Next Steps\n\nAfter authentication is working, proceed to `navan-hello-world` to make your first API call, or see `navan-sdk-patterns` to build a reusable typed wrapper.\n","# Navan Install & Auth\n\n## Overview\n\nConfigure OAuth 2.0 client credentials for the Navan REST API. Navan has **no public SDK** — all API access uses raw REST calls with bearer tokens obtained via the client_credentials grant.\n\n**Purpose:** Obtain a working OAuth 2.0 bearer token for calling Navan API endpoints.\n\n## Prerequisites\n\n- **Navan admin access** — you need the Admin or Travel Admin role\n- **Node.js 18+** (for TypeScript) or **Python 3.8+** (for Python)\n- A `.env`-aware project (dotenv for Node, python-dotenv for Python)\n- Navan Business tier or higher (free for up to 300 employees)\n\n## Instructions\n\n### Step 1: Create OAuth Credentials in Navan Dashboard\n\nNavigate to: **Admin > Travel admin > Settings > Integrations > Navan API Credentials > Create New**\n\nSave the `client_id` and `client_secret` immediately — credentials are **only viewable once**. If lost, you must revoke and regenerate.\n\n### Step 2: Store Credentials Securely\n\nCreate a `.env` file in your project root:\n\n```bash\n# .env — NEVER commit this file\nNAVAN_CLIENT_ID=\"your-client-id-here\"\nNAVAN_CLIENT_SECRET=\"your-client-secret-here\"\nNAVAN_BASE_URL=\"https:\u002F\u002Fapi.navan.com\"\n```\n\nEnsure `.env` is in your `.gitignore`:\n\n```bash\necho \".env\" >> .gitignore\n```\n\n### Step 3: Token Exchange (TypeScript)\n\nInstall dependencies and implement the OAuth 2.0 client credentials flow:\n\n```bash\nnpm install dotenv\n```\n\n```typescript\nimport 'dotenv\u002Fconfig';\n\ninterface TokenResponse {\n  access_token: string;\n  token_type: string;\n  expires_in: number;\n}\n\nasync function getNavanToken(): Promise\u003Cstring> {\n  const response = await fetch(`${process.env.NAVAN_BASE_URL}\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: process.env.NAVAN_CLIENT_ID!,\n      client_secret: process.env.NAVAN_CLIENT_SECRET!,\n    }),\n  });\n\n  if (!response.ok) {\n    const error = await response.text();\n    throw new Error(`Auth failed (${response.status}): ${error}`);\n  }\n\n  const data: TokenResponse = await response.json();\n  return data.access_token;\n}\n\n\u002F\u002F Verify connection\nconst token = await getNavanToken();\nconsole.log('Auth successful — token acquired');\n```\n\n### Step 4: Token Exchange (Python)\n\n```bash\npip install requests python-dotenv\n```\n\n```python\nimport os\nimport requests\nfrom dotenv import load_dotenv\n\nload_dotenv()\n\ndef get_navan_token() -> str:\n    \"\"\"Exchange client credentials for an OAuth 2.0 bearer token.\"\"\"\n    response = requests.post(\n        f\"{os.environ['NAVAN_BASE_URL']}\u002Fta-auth\u002Foauth\u002Ftoken\",\n        data={\n            \"grant_type\": \"client_credentials\",\n            \"client_id\": os.environ[\"NAVAN_CLIENT_ID\"],\n            \"client_secret\": os.environ[\"NAVAN_CLIENT_SECRET\"],\n        },\n    )\n    response.raise_for_status()\n    return response.json()[\"access_token\"]\n\ntoken = get_navan_token()\nprint(\"Auth successful — token acquired\")\n```\n\n### Step 5: Verify Connection\n\nMake an authenticated API call to confirm credentials work:\n\n```typescript\nconst bookings = await fetch(`${process.env.NAVAN_BASE_URL}\u002Fv1\u002Fbookings?page=0&size=50`, {\n  headers: { Authorization: `Bearer ${token}` },\n});\n\nif (bookings.ok) {\n  const { data } = await bookings.json();\n  console.log(`Connection verified — retrieved ${data.length} bookings`);\n} else {\n  console.error(`Verification failed: ${bookings.status}`);\n}\n```\n\n## Output\n\nSuccessful completion produces:\n- OAuth 2.0 `client_id` and `client_secret` stored in `.env`\n- A `getNavanToken()` function (TypeScript or Python) returning a bearer token\n- A verified connection to the Navan API confirmed by a successful GET request\n\n## Error Handling\n\n| Error | Code | Cause | Solution |\n|-------|------|-------|----------|\n| Invalid credentials | 401 | Wrong client_id or client_secret | Regenerate credentials in Admin > Integrations |\n| Insufficient permissions | 403 | Account lacks API access or wrong tier | Contact Navan support to enable API access |\n| Rate limited | 429 | Too many auth requests | Implement token caching (see navan-local-dev-loop) |\n| Endpoint not found | 404 | Wrong base URL or path | Verify NAVAN_BASE_URL is `https:\u002F\u002Fapi.navan.com` |\n| Server error | 500 | Navan service issue | Retry after 30 seconds; check Navan status page |\n| Service unavailable | 503 | Navan maintenance window | Wait and retry; check for scheduled maintenance |\n\n## Examples\n\n**Minimal auth check script:**\n\n```bash\n# Quick credential test with curl\ncurl -s -X POST https:\u002F\u002Fapi.navan.com\u002Fta-auth\u002Foauth\u002Ftoken \\\n  -H \"Content-Type: application\u002Fx-www-form-urlencoded\" \\\n  -d \"grant_type=client_credentials&client_id=$NAVAN_CLIENT_ID&client_secret=$NAVAN_CLIENT_SECRET\" \\\n  | python3 -c \"import sys,json; d=json.load(sys.stdin); print('OK' if 'access_token' in d else 'FAIL')\"\n```\n\n## Resources\n\n- [Navan Help Center](https:\u002F\u002Fapp.navan.com\u002Fapp\u002Fhelpcenter) — primary documentation hub\n- [Navan TMC API Documentation](https:\u002F\u002Fapp.navan.com\u002Fapp\u002Fhelpcenter\u002Farticles\u002Ftravel\u002Fadmin\u002Fother-integrations\u002Fnavan-tmc-api-integration-documentation) — API integration guide\n- [Navan Integrations](https:\u002F\u002Fnavan.com\u002Fintegrations) — available integration partners\n- [Navan Security & Compliance](https:\u002F\u002Fnavan.com\u002Fsecurity) — SOC 2 Type II, ISO 27001, PCI DSS Level 1\n\n## Next Steps\n\nAfter authentication is working, proceed to `navan-hello-world` to make your first API call, or see `navan-sdk-patterns` to build a reusable typed wrapper.\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 OAuth 2.0 authentication for the Navan REST API.\nUse when configuring a new Navan integration or rotating API credentials.\nTrigger with \"install navan\", \"setup navan auth\", \"navan credentials\", \"navan oauth\".\n","Read, Write, Edit, Bash(npm:*), Bash(pip:*), Grep","claude-code","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fsaas-packs--navan-pack--navan-install-auth",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-install-auth",{"tool":48,"command":49},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill navan-install-auth",{"tool":51,"command":52},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill navan-install-auth","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--navan-pack--navan-install-auth\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",[],[]]