OneCLI connects AI agents to Navan through the Navan API. Agents can read travel bookings and expense transactions, and write ERP sync status, GL codes, tax mappings, and custom field values back to Navan. The gateway injects credentials into requests to api.navan.com, so your agent never sees them.Navan uses machine-to-machine OAuth 2.0 (the client credentials grant), not a browser sign-in. You create a Client ID and Secret Key in Navan, and OneCLI exchanges them for an access token. Tokens last 12 hours, and the gateway gets a new one automatically when the current one expires.
For expense endpoints: Navan must enable the Expense API for your company. Ask Navan support or your account team. Until it’s enabled, expense requests return 403 Forbidden. Booking endpoints work without it.
Sign in to Navan, click the Navan logo in the top left, and select Admin.
Open Integrations and start a new API credential.
1. In the left menu, go to Travel > Settings > Integrations.
2. In the Navan API credentials section, click Create new.
Name the credential and select the scopes your agents need.
1. Enter a Description, for example OneCLI. Leave Allowed IP Addresses empty.
2. Select the scopes your agents need:
Scope
Grants
Booking: Read Only
Read travel bookings
Expense: Read Only
Read expense transactions, receipts, and custom fields
Expense: Write
Update transactions, custom field options, GL codes, and tax mappings
3. Click Create.
Copy the Client ID and Secret Key before you close the dialog.
1. The Client ID. You’ll paste it into OneCLI next.
2. The Secret Key. Click Copy key to copy it on its own.
3. Click Save and Copy all to copy the Description, Client ID, and Secret Key together.
Navan shows the Secret Key only once. Save it before you close the dialog. If you lose it, delete the credential and create a new one.
2
Connect in OneCLI
Open the OneCLI dashboard, go to Settings > Apps, find Navan, and click Connect.
Enter the Navan credential in OneCLI. Region is under Advanced.
1. Paste the Client ID from Navan.
2. Paste the Secret Key from Navan.
3. Expand Advanced only if your company is hosted in Navan’s EU region, and set Region to eu. Leave it empty for US.
4. Click Connect Navan.
OneCLI exchanges the credentials for a token when you connect. If the credential is invalid or has no scopes selected, the connection fails with an error that explains why.
3
Grant the connection to an agent
Grant the Navan connection to each agent that needs it.
Optional: company hosted in Navan's EU region
EU companiesSet Region to eu (under Advanced in the connect window) if your company is hosted in Navan’s EU region. OneCLI then uses Navan’s EU token endpoint and adds the X-ta-region: EU header to every request. Navan answers EU requests without that header with 500 Internal Server Error, so your agent doesn’t need to add the header itself.
The bookings endpoint requires a complete date range: createdFrom/createdTo, updatedFrom/updatedTo, or startDateFrom/startDateTo. Without one, Navan returns 400 Bad Request.
The Expense API isn’t enabled for your company yet, or the credential lacks an Expense scope. Ask Navan support to enable the Expense API, and check the credential’s scopes in Travel > Settings > Integrations.
Connecting fails with 401
The Client ID or Secret Key is wrong, or the region doesn’t match your account. A US credential fails against the EU region and the other way around.
Connecting fails with "no scopes"
The credential was created without any scope selected. Delete it in Navan and create a new one with at least one scope.
Writes return 403 Forbidden
The credential doesn’t have the Expense: Write scope. Edit the credential in Navan to add it, then reconnect in OneCLI.
Access is per agent: grant the connection to each agent that needs it, choosing per tool what runs freely, what needs human approval, and what stays blocked. A read-only agent is a single grant. Organization rules add guardrails on top, like rate limits and blanket blocks. Everything is checked before credential injection, so a blocked request never reaches the Navan API.
Create a new credential in Navan, then update it in the Navan connection in OneCLI. Agents pick it up automatically. Then delete the old credential in Navan.
How do I keep Navan credentials out of the agent's context?
Store them in OneCLI. The gateway exchanges them for tokens and injects them at the proxy. See How it works.
I lost the Secret Key. What now?
Navan shows it only once. Delete the credential and create a new one.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"OneCLI","colors":{"primary":"#19BA5D","light":"#34D474","dark":"#128A45"},"logo":{"light":"https://mintcdn.com/chartdbinc/3IvBQeNyWpN0X2ob/logo/logo-full-light.svg?fit=max\u0026auto=format\u0026n=3IvBQeNyWpN0X2ob\u0026q=85\u0026s=630ee6bb5c7441548135c690b3e18d35","dark":"https://mintcdn.com/chartdbinc/3IvBQeNyWpN0X2ob/logo/logo-full-dark.svg?fit=max\u0026auto=format\u0026n=3IvBQeNyWpN0X2ob\u0026q=85\u0026s=c80db357e121f4676dba423c01304258","href":"/"},"favicon":"https://mintcdn.com/chartdbinc/wh8636A1-I7XVdgP/favicon.png?fit=max\u0026auto=format\u0026n=wh8636A1-I7XVdgP\u0026q=85\u0026s=71b6d9b7afc7659e690354e389db9da8","appearance":{"default":"light"},"background":{"color":{"light":"#FAFAF9","dark":"#1A1918"}},"navbar":{"links":[{"href":"https://github.com/onecli/onecli","label":"GitHub"},{"href":"https://onecli.sh","label":"Install"}]},"footer":{"socials":{"github":"https://github.com/onecli"}},"fonts":{"heading":{"family":"Overused Grotesk","weight":600,"source":"fonts/OverusedGroteskRoman-VF.woff2","format":"woff2"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"https://mintlify.s3.us-west-1.amazonaws.com/chartdbinc/images/github.svg","href":"https://github.com/onecli"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"chartdbinc","hasAudioNarration":false,"actualSubdomain":"chartdbinc","customDomains":["onecli.sh"],"gitSource":{"type":"github","owner":"onecli","repo":"onecli-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af17ec8c6b8d7b6768109a7","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"API Reference","count":240},{"language":"default","tag":"Workspace","count":105},{"language":"default","tag":"Integrations","count":88},{"language":"default","tag":"All app connections","count":64},{"language":"default","tag":"Enterprise","count":57},{"language":"default","tag":"Organization","count":52},{"language":"default","tag":"Apps","count":29},{"language":"default","tag":"Channels","count":28},{"language":"default","tag":"Platform","count":21},{"language":"default","tag":"Guides","count":17}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"a.nav-anchor div.mr-4.rounded-md{--tw-ring-color: transparent !important;--tw-ring-shadow: 0 0 0 0 transparent !important;--tw-ring-offset-shadow: 0 0 0 0 transparent !important;box-shadow:none!important;background:transparent!important;filter:none!important;transition:opacity 0.15s ease!important}a.nav-anchor:hover div.mr-4.rounded-md{--tw-ring-color: transparent !important;--tw-ring-shadow: 0 0 0 0 transparent !important;--tw-ring-offset-shadow: 0 0 0 0 transparent !important;box-shadow:none!important;background:transparent!important;filter:none!important;opacity:0.7!important}a.nav-anchor div.mr-4.rounded-md img{opacity:1!important;filter:none!important;background:transparent!important}a.nav-anchor:hover div.mr-4.rounded-md img{opacity:1!important;filter:none!important;background:transparent!important}.dark a.nav-anchor div.mr-4.rounded-md img,[data-theme=\"dark\"] a.nav-anchor div.mr-4.rounded-md img{filter:invert(1)!important}"}],"page":{"pagePath":"integrations/navan","slug":"/integrations/navan","pageMetadata":{"title":"Sync Navan Bookings and Expenses With AI Agents","sidebarTitle":"Navan","description":"Let agents read Navan bookings and expenses and sync ERP data back. The gateway exchanges and refreshes client credentials, so agents never see them.","canonical":"https://onecli.sh/docs/integrations/navan","href":"/integrations/navan"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Let agents read Navan bookings and expenses and sync ERP data back. The gateway exchanges and refreshes client credentials, so agents never see them.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,Frame,Heading,OptimizedImage,Step,Steps,Table,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsxs(_components.p,{children:[`OneCLI connects AI agents to Navan through the Navan API. Agents can read travel bookings and expense transactions, and write ERP sync status, GL codes, tax mappings, and custom field values back to Navan. The gateway injects credentials into requests to `,_jsx(_components.code,{children:`api.navan.com`}),`, so your agent never sees them.`]}),`\n`,_jsx(_components.p,{children:`Navan uses machine-to-machine OAuth 2.0 (the client credentials grant), not a browser sign-in. You create a Client ID and Secret Key in Navan, and OneCLI exchanges them for an access token. Tokens last 12 hours, and the gateway gets a new one automatically when the current one expires.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-you-will-set-up`,children:`What you will set up`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Navan API credentials (Client ID and Secret Key) with the scopes you need`}),`\n`,_jsx(_components.li,{children:`A connection that gets and refreshes 12-hour access tokens`}),`\n`,_jsx(_components.li,{children:`Per-agent, per-tool access to bookings and expenses`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`prerequisites`,children:`Prerequisites`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`A Navan account with `,_jsx(_components.strong,{children:`Administrator`}),` permissions`]}),`\n`,_jsxs(_components.li,{children:[`For expense endpoints: Navan must enable the `,_jsx(_components.strong,{children:`Expense API`}),` for your company. Ask Navan support or your account team. Until it’s enabled, expense requests return `,_jsx(_components.code,{children:`403 Forbidden`}),`. Booking endpoints work without it.`]}),`\n`]}),`\n`,_jsx(`a`,{id:`self-hosted`,style:{scrollMarginTop:`8rem`}}),`\n`,_jsx(Heading,{level:`2`,id:`setup`,children:`Setup`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Create API credentials in Navan`,children:[_jsxs(_components.p,{children:[`Sign in to `,_jsx(_components.a,{href:`https://app.navan.com`,children:`Navan`}),`, click the Navan logo in the top left, and select `,_jsx(_components.strong,{children:`Admin`}),`.`]}),_jsx(Frame,{caption:`Open Integrations and start a new API credential.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chartdbinc/4QUhmBQbRL1cjHvq/images/integrations/navan/01-integrations.png?fit=max\u0026auto=format\u0026n=4QUhmBQbRL1cjHvq\u0026q=85\u0026s=a13d862ee6494bc96f3353ca993bc9e1`,alt:`Navan Admin Integrations page with the Integrations menu item and the Create new button in the Navan API credentials section highlighted.`,\"data-og-width\":`1725`,width:`1725`,\"data-og-height\":`1173`,height:`1173`,\"data-path\":`images/integrations/navan/01-integrations.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chartdbinc/4QUhmBQbRL1cjHvq/images/integrations/navan/01-integrations.png?w=280\u0026fit=max\u0026auto=format\u0026n=4QUhmBQbRL1cjHvq\u0026q=85\u0026s=d20829229846d7eba6bf54d2f30e50b9 280w, https://mintcdn.com/chartdbinc/4QUhmBQbRL1cjHvq/images/integrations/navan/01-integrations.png?w=560\u0026fit=max\u0026auto=format\u0026n=4QUhmBQbRL1cjHvq\u0026q=85\u0026s=04625061f5c0b421b36a70d67f7dc72d 560w, https://mintcdn.com/chartdbinc/4QUhmBQbRL1cjHvq/images/integrations/navan/01-integrations.png?w=840\u0026fit=max\u0026auto=format\u0026n=4QUhmBQbRL1cjHvq\u0026q=85\u0026s=f714a67456b4a2cf5bae0ddfc78a24a1 840w, https://mintcdn.com/chartdbinc/4QUhmBQbRL1cjHvq/images/integrations/navan/01-integrations.png?w=1100\u0026fit=max\u0026auto=format\u0026n=4QUhmBQbRL1cjHvq\u0026q=85\u0026s=867edf43b4205c478aa60aa1240c90da 1100w, https://mintcdn.com/chartdbinc/4QUhmBQbRL1cjHvq/images/integrations/navan/01-integrations.png?w=1650\u0026fit=max\u0026auto=format\u0026n=4QUhmBQbRL1cjHvq\u0026q=85\u0026s=a1958ce62137bd0ba0f73c1c914cd1eb 1650w, https://mintcdn.com/chartdbinc/4QUhmBQbRL1cjHvq/images/integrations/navan/01-integrations.png?w=2500\u0026fit=max\u0026auto=format\u0026n=4QUhmBQbRL1cjHvq\u0026q=85\u0026s=3ac26183a412f87b83a711970568f038 2500w`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`1.`}),` In the left menu, go to `,_jsx(_components.strong,{children:`Travel`}),` > `,_jsx(_components.strong,{children:`Settings`}),` > `,_jsx(_components.strong,{children:`Integrations`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`2.`}),` In the `,_jsx(_components.strong,{children:`Navan API credentials`}),` section, click `,_jsx(_components.strong,{children:`Create new`}),`.`]}),`\n`]}),_jsx(Frame,{caption:`Name the credential and select the scopes your agents need.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chartdbinc/4QUhmBQbRL1cjHvq/images/integrations/navan/02-create-credential.png?fit=max\u0026auto=format\u0026n=4QUhmBQbRL1cjHvq\u0026q=85\u0026s=ca231a21fcf291afce360ac377cfe281`,alt:`Navan Create new API credential dialog with the Description field, the three scope checkboxes, and the Create button highlighted.`,\"data-og-width\":`1080`,width:`1080`,\"data-og-height\":`1154`,height:`1154`,\"data-path\":`images/integrations/navan/02-create-credential.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chartdbinc/4QUhmBQbRL1cjHvq/images/integrations/navan/02-create-credential.png?w=280\u0026fit=max\u0026auto=format\u0026n=4QUhmBQbRL1cjHvq\u0026q=85\u0026s=a72d43f9c8a524ecfb1104f7ac12bc3f 280w, https://mintcdn.com/chartdbinc/4QUhmBQbRL1cjHvq/images/integrations/navan/02-create-credential.png?w=560\u0026fit=max\u0026auto=format\u0026n=4QUhmBQbRL1cjHvq\u0026q=85\u0026s=918519c9dc64a0996dfa3c72140c6d3a 560w, https://mintcdn.com/chartdbinc/4QUhmBQbRL1cjHvq/images/integrations/navan/02-create-credential.png?w=840\u0026fit=max\u0026auto=format\u0026n=4QUhmBQbRL1cjHvq\u0026q=85\u0026s=264dd1c7534753a33b5378be801a6e92 840w, https://mintcdn.com/chartdbinc/4QUhmBQbRL1cjHvq/images/integrations/navan/02-create-credential.png?w=1100\u0026fit=max\u0026auto=format\u0026n=4QUhmBQbRL1cjHvq\u0026q=85\u0026s=56d0977e3f94feb016a9373de8f97862 1100w, https://mintcdn.com/chartdbinc/4QUhmBQbRL1cjHvq/images/integrations/navan/02-create-credential.png?w=1650\u0026fit=max\u0026auto=format\u0026n=4QUhmBQbRL1cjHvq\u0026q=85\u0026s=5ae8ff60c41866c2074199d0ad57ef17 1650w, https://mintcdn.com/chartdbinc/4QUhmBQbRL1cjHvq/images/integrations/navan/02-create-credential.png?w=2500\u0026fit=max\u0026auto=format\u0026n=4QUhmBQbRL1cjHvq\u0026q=85\u0026s=94a2895ae7a865b913c3c9a55be5478c 2500w`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`1.`}),` Enter a `,_jsx(_components.strong,{children:`Description`}),`, for example `,_jsx(_components.code,{children:`OneCLI`}),`. Leave `,_jsx(_components.strong,{children:`Allowed IP Addresses`}),` empty.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`2.`}),` Select the scopes your agents need:`]}),`\n`]}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Scope`}),_jsx(_components.th,{children:`Grants`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Booking: Read Only`})}),_jsx(_components.td,{children:`Read travel bookings`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Expense: Read Only`})}),_jsx(_components.td,{children:`Read expense transactions, receipts, and custom fields`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Expense: Write`})}),_jsx(_components.td,{children:`Update transactions, custom field options, GL codes, and tax mappings`})]})]})]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`3.`}),` Click `,_jsx(_components.strong,{children:`Create`}),`.`]}),`\n`]}),_jsx(Frame,{caption:`Copy the Client ID and Secret Key before you close the dialog.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chartdbinc/4QUhmBQbRL1cjHvq/images/integrations/navan/03-credential-created.png?fit=max\u0026auto=format\u0026n=4QUhmBQbRL1cjHvq\u0026q=85\u0026s=3b9448df18c94dc8ca64d19f8a4fbad5`,alt:`Navan API credential created dialog with the Client ID and Secret Key fields (values hidden) and the Save and Copy all button highlighted.`,\"data-og-width\":`1120`,width:`1120`,\"data-og-height\":`1993`,height:`1993`,\"data-path\":`images/integrations/navan/03-credential-created.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chartdbinc/4QUhmBQbRL1cjHvq/images/integrations/navan/03-credential-created.png?w=280\u0026fit=max\u0026auto=format\u0026n=4QUhmBQbRL1cjHvq\u0026q=85\u0026s=7d025c1ccabfa009bf92d84d279c2682 280w, https://mintcdn.com/chartdbinc/4QUhmBQbRL1cjHvq/images/integrations/navan/03-credential-created.png?w=560\u0026fit=max\u0026auto=format\u0026n=4QUhmBQbRL1cjHvq\u0026q=85\u0026s=9305194b3579a9ae21757c1ee4a18208 560w, https://mintcdn.com/chartdbinc/4QUhmBQbRL1cjHvq/images/integrations/navan/03-credential-created.png?w=840\u0026fit=max\u0026auto=format\u0026n=4QUhmBQbRL1cjHvq\u0026q=85\u0026s=83183fc89992e52e16b1b9372a4c2d29 840w, https://mintcdn.com/chartdbinc/4QUhmBQbRL1cjHvq/images/integrations/navan/03-credential-created.png?w=1100\u0026fit=max\u0026auto=format\u0026n=4QUhmBQbRL1cjHvq\u0026q=85\u0026s=a7d6ce48e31563f279437034037d1ef2 1100w, https://mintcdn.com/chartdbinc/4QUhmBQbRL1cjHvq/images/integrations/navan/03-credential-created.png?w=1650\u0026fit=max\u0026auto=format\u0026n=4QUhmBQbRL1cjHvq\u0026q=85\u0026s=1c4cc2deba458d3f44d799b09b92060b 1650w, https://mintcdn.com/chartdbinc/4QUhmBQbRL1cjHvq/images/integrations/navan/03-credential-created.png?w=2500\u0026fit=max\u0026auto=format\u0026n=4QUhmBQbRL1cjHvq\u0026q=85\u0026s=bf9dc7de3fc6de2a98ca68a9ed8c3fb4 2500w`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`1.`}),` The `,_jsx(_components.strong,{children:`Client ID`}),`. You’ll paste it into OneCLI next.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`2.`}),` The `,_jsx(_components.strong,{children:`Secret Key`}),`. Click `,_jsx(_components.strong,{children:`Copy key`}),` to copy it on its own.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`3.`}),` Click `,_jsx(_components.strong,{children:`Save and Copy all`}),` to copy the Description, Client ID, and Secret Key together.`]}),`\n`]}),_jsx(Warning,{children:_jsx(_components.p,{children:`Navan shows the Secret Key only once. Save it before you close the dialog. If you lose it, delete the credential and create a new one.`})})]}),_jsxs(Step,{title:`Connect in OneCLI`,children:[_jsxs(_components.p,{children:[`Open the OneCLI dashboard, go to `,_jsx(_components.strong,{children:`Settings`}),` > `,_jsx(_components.strong,{children:`Apps`}),`, find `,_jsx(_components.strong,{children:`Navan`}),`, and click `,_jsx(_components.strong,{children:`Connect`}),`.`]}),_jsx(Frame,{caption:`Enter the Navan credential in OneCLI. Region is under Advanced.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/chartdbinc/X-m6FZm1coJ8ypUu/images/integrations/navan/04-onecli-connect.png?fit=max\u0026auto=format\u0026n=X-m6FZm1coJ8ypUu\u0026q=85\u0026s=b5eae8c0969bc4a343bca416de5d0010`,alt:`OneCLI connect window for Navan with the Client ID and Secret Key fields, Advanced expanded to show the Connection label and Region fields, and the Connect Navan button.`,\"data-og-width\":`976`,width:`976`,\"data-og-height\":`1932`,height:`1932`,\"data-path\":`images/integrations/navan/04-onecli-connect.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/chartdbinc/X-m6FZm1coJ8ypUu/images/integrations/navan/04-onecli-connect.png?w=280\u0026fit=max\u0026auto=format\u0026n=X-m6FZm1coJ8ypUu\u0026q=85\u0026s=c80bbd3501f3d2891b9e6a144772c7ea 280w, https://mintcdn.com/chartdbinc/X-m6FZm1coJ8ypUu/images/integrations/navan/04-onecli-connect.png?w=560\u0026fit=max\u0026auto=format\u0026n=X-m6FZm1coJ8ypUu\u0026q=85\u0026s=ab356577c5eb6ec2cfe0de3f76c11916 560w, https://mintcdn.com/chartdbinc/X-m6FZm1coJ8ypUu/images/integrations/navan/04-onecli-connect.png?w=840\u0026fit=max\u0026auto=format\u0026n=X-m6FZm1coJ8ypUu\u0026q=85\u0026s=d996d9e22395ed38822e34c99e2f7c8e 840w, https://mintcdn.com/chartdbinc/X-m6FZm1coJ8ypUu/images/integrations/navan/04-onecli-connect.png?w=1100\u0026fit=max\u0026auto=format\u0026n=X-m6FZm1coJ8ypUu\u0026q=85\u0026s=5ab6a751e695f6af6a61c1a3af9f1b16 1100w, https://mintcdn.com/chartdbinc/X-m6FZm1coJ8ypUu/images/integrations/navan/04-onecli-connect.png?w=1650\u0026fit=max\u0026auto=format\u0026n=X-m6FZm1coJ8ypUu\u0026q=85\u0026s=ae22cef60cc7a4c952b6d678d29e9b9a 1650w, https://mintcdn.com/chartdbinc/X-m6FZm1coJ8ypUu/images/integrations/navan/04-onecli-connect.png?w=2500\u0026fit=max\u0026auto=format\u0026n=X-m6FZm1coJ8ypUu\u0026q=85\u0026s=06adcead9e5439b755aa6d7bab54eb5f 2500w`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`1.`}),` Paste the `,_jsx(_components.strong,{children:`Client ID`}),` from Navan.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`2.`}),` Paste the `,_jsx(_components.strong,{children:`Secret Key`}),` from Navan.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`3.`}),` Expand `,_jsx(_components.strong,{children:`Advanced`}),` only if your company is hosted in Navan’s EU region, and set `,_jsx(_components.strong,{children:`Region`}),` to `,_jsx(_components.code,{children:`eu`}),`. Leave it empty for US.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`4.`}),` Click `,_jsx(_components.strong,{children:`Connect Navan`}),`.`]}),`\n`]}),_jsx(_components.p,{children:`OneCLI exchanges the credentials for a token when you connect. If the credential is invalid or has no scopes selected, the connection fails with an error that explains why.`})]}),_jsx(Step,{title:`Grant the connection to an agent`,children:_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/guides/agent-access`,children:`Grant`}),` the Navan connection to each agent that needs it.`]})})]}),`\n`,_jsx(AccordionGroup,{children:_jsxs(Accordion,{title:`Optional: company hosted in Navan's EU region`,id:`optional-company-hosted-in-navans-eu-region`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`EU companies`})}),_jsxs(_components.p,{children:[`Set `,_jsx(_components.strong,{children:`Region`}),` to `,_jsx(_components.code,{children:`eu`}),` (under `,_jsx(_components.strong,{children:`Advanced`}),` in the connect window) if your company is hosted in Navan’s EU region. OneCLI then uses Navan’s EU token endpoint and adds the `,_jsx(_components.code,{children:`X-ta-region: EU`}),` header to every request. Navan answers EU requests without that header with `,_jsx(_components.code,{children:`500 Internal Server Error`}),`, so your agent doesn’t need to add the header itself.`]})]})}),`\n`,_jsx(Heading,{level:`2`,id:`make-a-request`,children:`Make a request`}),`\n`,_jsxs(_components.p,{children:[`Your agent calls the Navan API directly, without an `,_jsx(_components.code,{children:`Authorization`}),` header. The gateway adds it.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.navan.com/v1/bookings?createdFrom=2026-09-01\u0026createdTo=2026-09-30\u0026page=0\u0026size=20\"`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"page\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"totalElements\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currentPage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pageSize\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`20`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"totalPages\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The bookings endpoint requires a complete date range: `,_jsx(_components.code,{children:`createdFrom`}),`/`,_jsx(_components.code,{children:`createdTo`}),`, `,_jsx(_components.code,{children:`updatedFrom`}),`/`,_jsx(_components.code,{children:`updatedTo`}),`, or `,_jsx(_components.code,{children:`startDateFrom`}),`/`,_jsx(_components.code,{children:`startDateTo`}),`. Without one, Navan returns `,_jsx(_components.code,{children:`400 Bad Request`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-agents-can-do`,children:`What agents can do`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Area`}),_jsx(_components.th,{children:`Endpoints`}),_jsx(_components.th,{children:`Access`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Bookings`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /v1/bookings`})}),_jsx(_components.td,{children:`Read`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Card transactions`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GET /v1/expense/card-transactions`}),`, `,_jsx(_components.code,{children:`/connect-transactions`})]}),_jsx(_components.td,{children:`Read`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Other transactions`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GET /v1/expense/manual-transactions`}),`, `,_jsx(_components.code,{children:`/repayments`}),`, `,_jsx(_components.code,{children:`/fees`}),`, `,_jsx(_components.code,{children:`/adjustments`}),`, `,_jsx(_components.code,{children:`/daily-rebates`}),`, `,_jsx(_components.code,{children:`/disputes`}),`, `,_jsx(_components.code,{children:`/statement-payments`})]}),_jsx(_components.td,{children:`Read`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Any transaction type`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GET /v1/expense/transactions`}),`, `,_jsx(_components.code,{children:`/transactions/{id}`})]}),_jsx(_components.td,{children:`Read`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Receipts`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GET /v1/expense/transactions/receipts`}),`, `,_jsx(_components.code,{children:`/transactions/{id}/receipt`})]}),_jsx(_components.td,{children:`Read`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Custom fields`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GET /v1/expense/custom-fields`}),`, `,_jsx(_components.code,{children:`/custom-fields/{name}`})]}),_jsx(_components.td,{children:`Read`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`GL codes`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GET /v1/expense/gl-codes`}),`, `,_jsx(_components.code,{children:`/gl-codes/{number}`}),`, `,_jsx(_components.code,{children:`/gl-code-settings`})]}),_jsx(_components.td,{children:`Read`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Tax mappings`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`GET /v1/expense/tax-mappings`}),`, `,_jsx(_components.code,{children:`/tax-mappings/by-tax-code`})]}),_jsx(_components.td,{children:`Read`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Update transactions`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`PATCH /v1/expense/transactions`})}),_jsx(_components.td,{children:`Write`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Custom field options`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`POST /v1/expense/custom-fields/{name}/options`})}),_jsx(_components.td,{children:`Write`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Manage GL codes`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`PUT`}),`/`,_jsx(_components.code,{children:`PATCH /v1/expense/gl-codes`}),`, `,_jsx(_components.code,{children:`PATCH /gl-code-settings`}),`, `,_jsx(_components.code,{children:`POST`}),`/`,_jsx(_components.code,{children:`DELETE /gl-code-exclusions`})]}),_jsx(_components.td,{children:`Write`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Manage tax mappings`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`PUT`}),`/`,_jsx(_components.code,{children:`PATCH`}),`/`,_jsx(_components.code,{children:`POST`}),`/`,_jsx(_components.code,{children:`DELETE /v1/expense/tax-mappings`})]}),_jsx(_components.td,{children:`Write`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`For request parameters and response fields, see the `,_jsx(_components.a,{href:`https://docs.navan.com/api/`,children:`Navan Expense API reference`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`use-cases`,children:`Use cases`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Finance agents that sync expense transactions into an ERP and mark them as synced in Navan`}),`\n`,_jsx(_components.li,{children:`Reporting agents that pull card spend, fees, and rebates for a period`}),`\n`,_jsx(_components.li,{children:`Travel agents that list upcoming trips and their bookings`}),`\n`,_jsx(_components.li,{children:`Admin agents that keep custom field options and GL codes in sync with your ERP`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Expense requests return 403 Forbidden`,id:`expense-requests-return-403-forbidden`,children:_jsxs(_components.p,{children:[`The Expense API isn’t enabled for your company yet, or the credential lacks an Expense scope. Ask Navan support to enable the Expense API, and check the credential’s scopes in `,_jsx(_components.strong,{children:`Travel`}),` > `,_jsx(_components.strong,{children:`Settings`}),` > `,_jsx(_components.strong,{children:`Integrations`}),`.`]})}),_jsx(Accordion,{title:`Connecting fails with 401`,id:`connecting-fails-with-401`,children:_jsx(_components.p,{children:`The Client ID or Secret Key is wrong, or the region doesn’t match your account. A US credential fails against the EU region and the other way around.`})}),_jsx(Accordion,{title:`Connecting fails with \"no scopes\"`,id:`connecting-fails-with-no-scopes`,children:_jsx(_components.p,{children:`The credential was created without any scope selected. Delete it in Navan and create a new one with at least one scope.`})}),_jsx(Accordion,{title:`Writes return 403 Forbidden`,id:`writes-return-403-forbidden`,children:_jsxs(_components.p,{children:[`The credential doesn’t have the `,_jsx(_components.strong,{children:`Expense: Write`}),` scope. Edit the credential in Navan to add it, then reconnect in OneCLI.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`controlling-access`,children:`Controlling access`}),`\n`,_jsxs(_components.p,{children:[`Access is per agent: `,_jsx(_components.a,{href:`/guides/agent-access`,children:`grant`}),` the connection to each agent that needs it, choosing per tool what runs freely, what needs human approval, and what stays blocked. A read-only agent is a single grant. Organization `,_jsx(_components.a,{href:`/guides/rules`,children:`rules`}),` add guardrails on top, like rate limits and blanket blocks. Everything is checked before credential injection, so a blocked request never reaches the Navan API.`]}),`\n`,_jsx(Heading,{level:`2`,id:`faq`,children:`FAQ`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`How do I rotate Navan credentials?`,id:`how-do-i-rotate-navan-credentials`,children:_jsx(_components.p,{children:`Create a new credential in Navan, then update it in the Navan connection in OneCLI. Agents pick it up automatically. Then delete the old credential in Navan.`})}),_jsx(Accordion,{title:`How do I keep Navan credentials out of the agent's context?`,id:`how-do-i-keep-navan-credentials-out-of-the-agents-context`,children:_jsxs(_components.p,{children:[`Store them in OneCLI. The gateway exchanges them for tokens and injects them at the proxy. See `,_jsx(_components.a,{href:`/how-it-works`,children:`How it works`}),`.`]})}),_jsx(Accordion,{title:`I lost the Secret Key. What now?`,id:`i-lost-the-secret-key-what-now`,children:_jsx(_components.p,{children:`Navan shows it only once. Delete the credential and create a new one.`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Sync Navan Bookings and Expenses With AI Agents","sidebarTitle":"Navan","description":"Let agents read Navan bookings and expenses and sync ERP data back. The gateway exchanges and refreshes client credentials, so agents never see them.","canonical":"https://onecli.sh/docs/integrations/navan","href":"/integrations/navan"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"What you will set up","slug":"what-you-will-set-up","depth":2,"children":[]},{"title":"Prerequisites","slug":"prerequisites","depth":2,"children":[]},{"title":"Setup","slug":"setup","depth":2,"children":[]},{"title":"Make a request","slug":"make-a-request","depth":2,"children":[]},{"title":"What agents can do","slug":"what-agents-can-do","depth":2,"children":[]},{"title":"Use cases","slug":"use-cases","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]},{"title":"Controlling access","slug":"controlling-access","depth":2,"children":[]},{"title":"FAQ","slug":"faq","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/chartdbinc/e8c5fc0faf4d8de9/infra/cloudfront/docs-response-headers.js"],"subdomain":"chartdbinc","siteName":"OneCLI","title":"Sync Navan Bookings and Expenses With AI Agents - OneCLI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-09T08:05:40.821Z","originalFileLocation":"integrations/navan.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Let agents read Navan bookings and expenses and sync ERP data back. The gateway exchanges and refreshes client credentials, so agents never see them.\">\u003cmeta data-mint-head name=\"application-name\" content=\"OneCLI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/chartdbinc/M5-fw7HRdTdsqSgf/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/chartdbinc/M5-fw7HRdTdsqSgf/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/chartdbinc/M5-fw7HRdTdsqSgf/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/chartdbinc/M5-fw7HRdTdsqSgf/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/chartdbinc/M5-fw7HRdTdsqSgf/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/chartdbinc/M5-fw7HRdTdsqSgf/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/chartdbinc/M5-fw7HRdTdsqSgf/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/chartdbinc/M5-fw7HRdTdsqSgf/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/chartdbinc/M5-fw7HRdTdsqSgf/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Sync Navan Bookings and Expenses With AI Agents - OneCLI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Let agents read Navan bookings and expenses and sync ERP data back. The gateway exchanges and refreshes client credentials, so agents never see them.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OneCLI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://onecli.sh/docs/integrations/navan\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://chartdbinc.mintlify.site/docs/_mintlify/api/og/v2?division=All+app+connections\u0026amp;title=Sync+Navan+Bookings+and+Expenses+With+AI+Agents\u0026amp;description=Let+agents+read+Navan+bookings+and+expenses+and+sync+ERP+data+back.+The+gateway+exchanges+and+refreshes+client+credentials%2C+so+agents+never+see+them.\u0026amp;theme=4d31f9e8e68b774b9a2b22f5\u0026amp;signature=7f45fd36a16ef00c113a36d0b4cb66b199db01a4563868dc2f55cac34687f520\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Sync Navan Bookings and Expenses With AI Agents - OneCLI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Let agents read Navan bookings and expenses and sync ERP data back. The gateway exchanges and refreshes client credentials, so agents never see them.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://chartdbinc.mintlify.site/docs/_mintlify/api/og/v2?division=All+app+connections\u0026amp;title=Sync+Navan+Bookings+and+Expenses+With+AI+Agents\u0026amp;description=Let+agents+read+Navan+bookings+and+expenses+and+sync+ERP+data+back.+The+gateway+exchanges+and+refreshes+client+credentials%2C+so+agents+never+see+them.\u0026amp;theme=4d31f9e8e68b774b9a2b22f5\u0026amp;signature=7f45fd36a16ef00c113a36d0b4cb66b199db01a4563868dc2f55cac34687f520\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/chartdbinc/M5-fw7HRdTdsqSgf/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OneCLI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#19BA5D\">\u003clink data-mint-head rel=\"canonical\" href=\"https://onecli.sh/docs/integrations/navan\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/integrations/navan.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://onecli.sh/#organization\",\"name\":\"OneCLI\",\"url\":\"https://onecli.sh\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/chartdbinc/3IvBQeNyWpN0X2ob/logo/logo-full-light.svg?fit=max\u0026auto=format\u0026n=3IvBQeNyWpN0X2ob\u0026q=85\u0026s=630ee6bb5c7441548135c690b3e18d35\"}},{\"@type\":\"WebSite\",\"@id\":\"https://onecli.sh/docs#website\",\"name\":\"OneCLI\",\"url\":\"https://onecli.sh/docs\",\"publisher\":{\"@id\":\"https://onecli.sh/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://onecli.sh/docs/integrations/navan#webpage\",\"url\":\"https://onecli.sh/docs/integrations/navan\",\"name\":\"Sync Navan Bookings and Expenses With AI Agents\",\"description\":\"Let agents read Navan bookings and expenses and sync ERP data back. The gateway exchanges and refreshes client credentials, so agents never see them.\",\"dateModified\":\"2026-11-09T08:05:40.821Z\",\"isPartOf\":{\"@id\":\"https://onecli.sh/docs#website\"},\"breadcrumb\":{\"@id\":\"https://onecli.sh/docs/integrations/navan#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://onecli.sh/docs/integrations/navan#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"All app connections\",\"item\":\"https://onecli.sh/docs/integrations/affinity\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sync Navan Bookings and Expenses With AI Agents\",\"item\":\"https://onecli.sh/docs/integrations/navan\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://onecli.sh/docs/integrations/navan#article\",\"headline\":\"Sync Navan Bookings and Expenses With AI Agents\",\"name\":\"Sync Navan Bookings and Expenses With AI Agents\",\"description\":\"Let agents read Navan bookings and expenses and sync ERP data back. The gateway exchanges and refreshes client credentials, so agents never see them.\",\"url\":\"https://onecli.sh/docs/integrations/navan\",\"mainEntityOfPage\":{\"@id\":\"https://onecli.sh/docs/integrations/navan#webpage\"},\"dateModified\":\"2026-11-09T08:05:40.821Z\",\"publisher\":{\"@id\":\"https://onecli.sh/#organization\"},\"isPartOf\":{\"@id\":\"https://onecli.sh/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OneCLI\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"OneCLI","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"https://mintlify.s3.us-west-1.amazonaws.com/chartdbinc/images/github.svg","href":"https://github.com/onecli"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"Integrations","groups":[{"group":"Integrations","root":{"title":"Integrations: Connect Agents to External Services","sidebarTitle":"Overview","href":"/integrations"},"pages":[{"title":"App Connections: How OAuth \u0026 API Keys Work","sidebarTitle":"App Connections","href":"/integrations/app-connections"},{"title":"Custom Connections: Connect Any API With a Key","sidebarTitle":"Custom connections","href":"/integrations/custom-connections"},{"title":"Chat With AI Agents and Approve Actions in Slack","sidebarTitle":"Slack","href":"/integrations/slack"},{"title":"Keep LLM API Keys Out of Your AI Agents","sidebarTitle":"LLMs","href":"/integrations/llms"},{"title":"External Vaults: Connect Password Managers","sidebarTitle":"External Vaults","href":"/vaults/overview"}]},{"group":"Cloud integrations","pages":[{"title":"Prospect and Enrich Leads in Apollo.io With Agents","sidebarTitle":"Apollo.io","href":"/integrations/apollo-io"},{"title":"Use AWS From AI Agents Without Exposing Keys","sidebarTitle":"AWS","href":"/integrations/aws"},{"title":"Let AI Agents Open PRs and Issues on GitHub","sidebarTitle":"GitHub","href":"/integrations/github"},{"title":"Org-Approved GitHub Repo Access for AI Agents","sidebarTitle":"GitHub App","href":"/integrations/github-app"},{"title":"Let AI Agents Query Datadog Metrics and Monitors","sidebarTitle":"Datadog","href":"/integrations/datadog"},{"title":"Let AI Agents Update HubSpot CRM Records","sidebarTitle":"HubSpot","href":"/integrations/hubspot"},{"title":"Let AI Agents Triage Sentry Errors","sidebarTitle":"Sentry","href":"/integrations/sentry"},{"title":"Let AI Agents Read and Write OneNote Notebooks","sidebarTitle":"Microsoft OneNote","href":"/integrations/microsoft-onenote"},{"title":"Connect AI Agents to Outlook Mail in Microsoft 365","sidebarTitle":"Outlook Mail","href":"/integrations/outlook-mail"},{"title":"Let AI Agents Book Meetings in Outlook Calendar","sidebarTitle":"Outlook Calendar","href":"/integrations/outlook-calendar"}]},{"group":"All app connections","pages":[{"title":"Connect AI Agents to Affinity CRM With an API Key","sidebarTitle":"Affinity","href":"/integrations/affinity"},{"title":"Let AI Agents Manage Attio CRM Records","sidebarTitle":"Attio","href":"/integrations/attio"},{"title":"Run Clay Enrichment From AI Agents","sidebarTitle":"Clay","href":"/integrations/clay"},{"title":"Query PostHog Analytics and Flags From Agents","sidebarTitle":"PostHog","href":"/integrations/posthog"},{"title":"Connect AI Agents to Salesforce With an External App","sidebarTitle":"Salesforce","href":"/integrations/salesforce"},{"title":"Turn Timeless Meetings Into Agent Follow-Ups","sidebarTitle":"Timeless","href":"/integrations/timeless"},{"title":"Let Agents Search Circleback Meeting Notes","sidebarTitle":"Circleback","href":"/integrations/circleback"},{"title":"Run HeyReach LinkedIn Campaigns From AI Agents","sidebarTitle":"HeyReach","href":"/integrations/heyreach"},{"title":"Automate Dripify LinkedIn Outreach With Agents","sidebarTitle":"Dripify","href":"/integrations/dripify"},{"title":"Let On-Call Agents Triage PagerDuty Incidents","sidebarTitle":"PagerDuty","href":"/integrations/pagerduty"},{"title":"Query Coralogix Logs and Metrics From Agents","sidebarTitle":"Coralogix","href":"/integrations/coralogix"},{"title":"Search Company Knowledge in Onyx From Agents","sidebarTitle":"Onyx","href":"/integrations/onyx"},{"title":"Scoped Cloudflare API Tokens for AI Agents","sidebarTitle":"Cloudflare","href":"/integrations/cloudflare"},{"title":"Set Up One Google OAuth Client for All Google Apps","sidebarTitle":"Google (setup)","href":"/integrations/google"},{"title":"Let AI Agents Search, Draft, and Send Gmail","sidebarTitle":"Gmail","href":"/integrations/gmail"},{"title":"Let AI Agents Schedule Meetings in Google Calendar","sidebarTitle":"Google Calendar","href":"/integrations/google-calendar"},{"title":"Give AI Agents Access to Google Drive Files","sidebarTitle":"Google Drive","href":"/integrations/google-drive"},{"title":"Let AI Agents Draft and Edit Google Docs","sidebarTitle":"Google Docs","href":"/integrations/google-docs"},{"title":"Let AI Agents Read and Update Google Sheets","sidebarTitle":"Google Sheets","href":"/integrations/google-sheets"},{"title":"Generate Google Slides Decks With AI Agents","sidebarTitle":"Google Slides","href":"/integrations/google-slides"},{"title":"Build Google Forms and Read Responses With Agents","sidebarTitle":"Google Forms","href":"/integrations/google-forms"},{"title":"Create Google Meet Links From AI Agents","sidebarTitle":"Google Meet","href":"/integrations/google-meet"},{"title":"Search and Organize Google Photos With AI Agents","sidebarTitle":"Google Photos","href":"/integrations/google-photos"},{"title":"Track To-Dos in Google Tasks From AI Agents","sidebarTitle":"Google Tasks","href":"/integrations/google-tasks"},{"title":"Automate Google Workspace User Admin With Agents","sidebarTitle":"Google Admin","href":"/integrations/google-admin"},{"title":"Pull GA4 Reports Into AI Agents","sidebarTitle":"Google Analytics","href":"/integrations/google-analytics"},{"title":"Let AI Agents Check Indexing in Search Console","sidebarTitle":"Google Search Console","href":"/integrations/google-search-console"},{"title":"Automate Google Classroom Coursework With Agents","sidebarTitle":"Google Classroom","href":"/integrations/google-classroom"},{"title":"Manage YouTube Playlists and Analytics With Agents","sidebarTitle":"YouTube","href":"/integrations/youtube"},{"title":"Let AI Agents Search and Update Notion Pages","sidebarTitle":"Notion","href":"/integrations/notion"},{"title":"Let AI Agents Create and Triage Jira Issues","sidebarTitle":"Jira","href":"/integrations/jira"},{"title":"Give AI Agents Search and Edit Access to Confluence","sidebarTitle":"Confluence","href":"/integrations/confluence"},{"title":"Let AI Agents Manage Your Todoist Tasks","sidebarTitle":"Todoist","href":"/integrations/todoist"},{"title":"Give AI Agents Safe Access to Your Dropbox Files","sidebarTitle":"Dropbox","href":"/integrations/dropbox"},{"title":"Deploy to Fly.io From an Agent Without Exposing Tokens","sidebarTitle":"Fly.io","href":"/integrations/flyio"},{"title":"Let AI Agents Post to LinkedIn on Your Behalf","sidebarTitle":"LinkedIn","href":"/integrations/linkedin"},{"title":"Connect AI Agents to Monday.com Boards","sidebarTitle":"Monday.com","href":"/integrations/monday"},{"title":"Administer MongoDB Atlas Clusters With Agents","sidebarTitle":"MongoDB Atlas","description":"Let agents manage Atlas clusters, database users, and projects through the Administration API, using service account credentials they never see.","href":"/integrations/mongodb-atlas"},{"title":"Sync Navan Bookings and Expenses With AI Agents","sidebarTitle":"Navan","href":"/integrations/navan"},{"title":"Let AI Agents Send Email With Resend","sidebarTitle":"Resend","description":"Let agents send transactional email and check delivery status with Resend. The gateway injects your API key, so agents never see or leak it.","href":"/integrations/resend"},{"title":"Send SMS and WhatsApp From AI Agents With Twilio","sidebarTitle":"Twilio","href":"/integrations/twilio"},{"title":"Zendesk Integration: Tickets and Help Center","sidebarTitle":"Zendesk","href":"/integrations/zendesk"},{"title":"Manage Supabase Projects With AI Agents","sidebarTitle":"Supabase","href":"/integrations/supabase"},{"title":"Call Claude and Gemini on Vertex AI From Agents","sidebarTitle":"Vertex AI","href":"/integrations/vertex-ai"},{"title":"Let AI Agents Edit Webflow CMS and Publish Sites","sidebarTitle":"Webflow","href":"/integrations/webflow"},{"title":"Let AI Agents Schedule Zoom Meetings and Get Recordings","sidebarTitle":"Zoom","href":"/integrations/zoom"},{"title":"Give Agents AWS Access With an IAM Role, Not Keys","sidebarTitle":"AWS Role","href":"/integrations/aws-role"},{"title":"Bitbucket Repos, Pull Requests, and Pipelines","sidebarTitle":"Bitbucket","href":"/integrations/bitbucket"},{"title":"Manage Docker Hub Repositories From AI Agents","sidebarTitle":"Docker Hub","href":"/integrations/docker"},{"title":"Read Fathom Meeting Summaries From AI Agents","sidebarTitle":"Fathom","href":"/integrations/fathom"},{"title":"Give AI Agents Access to Fireflies Transcripts","sidebarTitle":"Fireflies","href":"/integrations/fireflies"},{"title":"Let AI Agents Work With GitLab Merge Requests","sidebarTitle":"GitLab","href":"/integrations/gitlab"},{"title":"Send Google Chat Messages From AI Agents","sidebarTitle":"Google Chat","href":"/integrations/google-chat"},{"title":"Let AI Agents Look Up and Update Google Contacts","sidebarTitle":"Google Contacts","href":"/integrations/google-contacts"},{"title":"Let AI Agents Read Your Granola Meeting Notes","sidebarTitle":"Granola","href":"/integrations/granola"},{"title":"Route Agent Package Installs Through JFrog","sidebarTitle":"JFrog Artifactory","href":"/integrations/jfrog-artifactory"},{"title":"Let AI Agents File and Update Linear Issues","sidebarTitle":"Linear","href":"/integrations/linear"},{"title":"Run Snowflake SQL From an Agent, Token Hidden","sidebarTitle":"Snowflake","href":"/integrations/snowflake"},{"title":"Use a Restricted Stripe Key With AI Agents","sidebarTitle":"Stripe","href":"/integrations/stripe"},{"title":"Let AI Agents Manage Trello Boards and Cards","sidebarTitle":"Trello","href":"/integrations/trello"},{"title":"Let AI Agents Deploy and Manage Vercel Projects","sidebarTitle":"Vercel","href":"/integrations/vercel"},{"title":"Let AI Agents Post and Read on X (Twitter)","sidebarTitle":"X","href":"/integrations/x"},{"title":"Let AI Agents Work Zoho CRM Leads and Deals","sidebarTitle":"Zoho CRM","href":"/integrations/zoho-crm"},{"title":"Let AI Agents Draft Word Docs in OneDrive","sidebarTitle":"Microsoft Word","href":"/integrations/microsoft-word"}]},{"group":"LLMs","pages":[{"title":"Connect Claude to Agents With a Token or API Key","sidebarTitle":"Anthropic","href":"/integrations/anthropic"},{"title":"Use OpenAI API Keys and Codex OAuth With AI Agents","sidebarTitle":"OpenAI","href":"/integrations/openai"}]},{"group":"External Vaults","pages":[{"title":"Bitwarden Vault: Sync Secrets to the Gateway","sidebarTitle":"Bitwarden","href":"/vaults/bitwarden"},{"title":"1Password Vault: Service Account Integration","sidebarTitle":"1Password","href":"/vaults/1password"}]}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference"}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdks"}]}]},"basePath":"","title":"Sync Navan Bookings and Expenses With AI Agents - OneCLI","buildId":"dpl_6dVqRXFR2Go5vF5RLvAdHuv189oT","deploymentId":"dpl_6dVqRXFR2Go5vF5RLvAdHuv189oT","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-9l8IeNTQ.js","DynamicMarkdown-BBht_uEs.js","zoom-image-lightbox-CPu1dUmH.js","lightbox-handle-r17bVUz3.js"]}