NangoHQ / nango
API access for agents & apps.
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing NangoHQ/nango in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Summary (README)
PreviewIntegration primitives
Nango provides a set of powerful primitives that you can combine to build any integration:
- Auth: Managed API authorization for 600+ APIs
- Proxy: Query APIs via Nango with credentials injection
- Functions: Build custom integrations in code with a scalable runtime
Flexible use cases
Flexible by design, Nango never constrains the integrations you need to build:
Why Nango?
We believe teams should build their own integrations, but with better primitives.
By leveraging Nango, developers can save weeks per integration:
- Fast: Avoid rebuilding hard infrastructure & per-API tools.
- Flexible: Code-based integrations with full access to external APIs.
- Dev-centric: API-first & infrastructure as code for mature development workflows.
- Reliable: Production-ready primitives from day one.
- Secure: Secure handling of credentials and user data.
- Observable: Full visibility into every API interaction.
- Modular: Use only what you need, without vendor lock-in.
- Proven at scale: Powers millions of users for companies like Replit, Mercor, Exa, etc.
Getting started
Authorize any API in minutes:
- Configure an integration: Sign up (free, no credit card) then set up a new integration in the Integrations tab.
- Authorize the API: On the Connections tab, create a new connection and complete the auth flow. Later, embed the auth flow in your product:
nango.openConnectUI({ onEvent: (event) => { /* handle completion */ } }); - Access the API: Retrieve the API credentials from your connection:
import { Nango } from '@nangohq/node';
const nango = new Nango({ secretKey: '<NANGO-SECRET-KEY>' });
const connection = await nango.getConnection(
'<INTEGRATION-ID>',
'<CONNECTION-ID>'
);
console.log(connection.credentials);
Next, follow the Auth implementation guide, make requests with the Proxy, or implement custom integrations with Functions.
Open-source vs. paid
Nango is offered under the Elastic license. Our Cloud and Enterprise Self-Hosted versions let you access all features, according to your plan. You can also self-host it for free with a limited feature set.
Contributors
Anybody can contribute support for a new API.
Thank you for continuously making Nango better ❤️
<a href="https://github.com/nangohq/nango/graphs/contributors"> <img src="https://contrib.rocks/image?repo=nangohq/nango" /> </a>