back to home

NangoHQ / nango

API access for agents & apps.

6,673 stars
637 forks
39 issues
TypeScriptJavaScriptCSS

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.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind-ai.vercel.app/repo/NangoHQ/nango)
Preview:Analyzed by RepoMind

Repository Summary (README)

Preview
<div align="center"> <img src="/assets/nango-logo.png?raw=true" width="350"> </div> <h1 align="center">API access for AI agents & apps</h1> <div align="center"> Easily integrate your AI agents & SaaS product with 600+ APIs. </div> <p align="center"> <br /> <a href="https://nango.dev/docs/" rel="dofollow"><strong>Explore the docs »</strong></a> <br /> <br/> <a href="https://nango.dev/integrations">600+ supported APIs</a> · <a href="https://nango.dev">Website</a> · <a href="https://nango.dev/slack">Slack Community</a> </p>

Integration 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:

  1. Configure an integration: Sign up (free, no credit card) then set up a new integration in the Integrations tab.
  2. 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 */ } });
    
  3. 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>