navan-install-auth

Featured

Set up OAuth 2.0 authentication for the Navan REST API. Use when configuring a new Navan integration or rotating API credentials. Trigger with "install navan", "setup navan auth", "navan credentials", "navan oauth".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Navan Install & Auth ## Overview Configure 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. **Purpose:** Obtain a working OAuth 2.0 bearer token for calling Navan API endpoints. ## Prerequisites - **Navan admin access** — you need the Admin or Travel Admin role - **Node.js 18+** (for TypeScript) or **Python 3.8+** (for Python) - A `.env`-aware project (dotenv for Node, python-dotenv for Python) - Navan Business tier or higher (free for up to 300 employees) ## Instructions ### Step 1: Create OAuth Credentials in Navan Dashboard Navigate to: **Admin > Travel admin > Settings > Integrations > Navan API Credentials > Create New** Save the `client_id` and `client_secret` immediately — credentials are **only viewable once**. If lost, you must revoke and regenerate. ### Step 2: Store Credentials Securely Create a `.env` file in your project root: ```bash # .env — NEVER commit this file NAVAN_CLIENT_ID="your-client-id-here" NAVAN_CLIENT_SECRET="your-client-secret-here" NAVAN_BASE_URL="https://api.navan.com" ``` Ensure `.env` is in your `.gitignore`: ```bash echo ".env" >> .gitignore ``` ### Step 3: Token Exchange (TypeScript) Install dependencies and implement the OAuth 2.0 client credentials flow: ```bash npm install dotenv ``` ```typescript import 'dotenv/config'; interface TokenResponse { access_token: string; token_type: strin...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

navan-security-basics

Secure Navan API credentials with OAuth 2.0 best practices, SSO/SAML, and SCIM provisioning. Use when hardening a Navan integration, rotating credentials, or configuring identity provider SSO. Trigger with "navan security", "navan sso", "navan credentials", "navan scim".

2,266 Updated today
jeremylongshore
AI & Automation Featured

navan-core-workflow-a

Manage the complete Navan travel booking lifecycle via REST API. Use when building travel dashboards, automating trip reporting, or syncing booking data to internal systems. Trigger with "navan travel workflow", "navan booking management", "navan trip retrieval".

2,266 Updated today
jeremylongshore
AI & Automation Featured

navan-hello-world

Make your first Navan API call to retrieve trip and user data. Use when verifying a new Navan integration works end-to-end after auth setup. Trigger with "navan hello world", "navan example", "test navan api", "first navan call".

2,266 Updated today
jeremylongshore
AI & Automation Featured

navan-deploy-integration

Use when deploying Navan integrations with ERP systems (NetSuite, Sage Intacct, Xero), HRIS platforms (Workday, BambooHR), or identity providers (Okta, Azure AD). Trigger with "navan deploy integration" or "navan erp setup" or "navan sso deployment".

2,266 Updated today
jeremylongshore
AI & Automation Featured

navan-ci-integration

Use when setting up CI/CD pipelines that validate Navan API integrations, run booking data health checks, or generate automated compliance reports. Trigger with "navan ci integration" or "navan pipeline" or "navan github actions".

2,266 Updated today
jeremylongshore