ランキングに戻る

NangoHQ/nango

TypeScriptnango.dev

Build product integrations with AI.

oauth2oauth1apiapi-clientintegrationsapi-integrationaccess-tokenrefresh-tokenoauthapi-integrationsproduct-integrationunified-api
スター成長
スター
11.2k
フォーク
1.2k
週間成長
Issue
25
5k10k
2023年1月2024年3月2025年5月2026年7月
成果物npmnpm install nango
README

Build product integrations with AI.

Connect your product & AI agents with 900+ APIs. Build, run, and maintain integrations with AI in code, on infrastructure built for scale.

Website · Docs · 900+ APIs · Slack Community

GitHub Stars License NPM Downloads

What is Nango?

Nango is an open-source platform for building product integrations. It supports 900+ APIs and works with any backend language, AI coding tool, and agent SDK.

You write integration logic as TypeScript functions, or let AI generate them for you, and deploy to Nango's production runtime. Nango handles auth, execution, scaling, and observability.

Used in production by Replit, Ramp, Mercor, and hundreds more.

How it works

Nango gives you three primitives that cover every integration pattern:

1. Auth

Managed OAuth, API keys, and token refresh for 900+ APIs. Embed a white-label auth flow in your app. Nango handles credentials, token storage, and multi-tenant connection management.

// Embed auth in your frontend
nango.openConnectUI({ onEvent: (event) => { /* handle completion */ } });

2. Proxy

Make authenticated API requests on behalf of your users. Send requests through Nango's proxy: it resolves the provider, injects credentials, handles retries and rate limits, and returns the response.

import { Nango } from '@nangohq/node';

const nango = new Nango({ secretKey: '<NANGO-SECRET-KEY>' });

// Make an authenticated request to any API
const response = await nango.get({
    endpoint: '/v3/contacts',
    providerConfigKey: '<INTEGRATION-ID>',
    connectionId: '<CONNECTION-ID>'
});

3. Functions

Write integration logic as TypeScript functions and deploy to Nango. Functions execute on a production runtime with built-in API access, retries, storage, and observability.

Use the AI builder to generate them from a description of your use case.

export default async function run(nango: Nango) {
    const { owner, repo, title, body } = nango.input;
    
    const response = await nango.post({
        endpoint: `/repos/${owner}/${repo}/issues`,
        data: { title, body }
    });
    
    return response.data;
}

What you can build

Nango supports every common integration pattern:

Use case Description
AI tool calling & MCP Give AI agents the ability to act on external APIs
Data syncing One or two-way sync for RAG pipelines, indexing, and triggers
Webhook processing Receive and process webhooks from external APIs reliably
API unification Normalize APIs to your own universal schema
Actions Write data and execute operations on behalf of your users
Per-customer config Customize integration behavior for each customer

Quickstart

Get up and running in under 5 minutes:

1. Create an integration. Sign up (free, no credit card), then configure a new integration in the Integrations tab.

2. Authorize the API. On the Connections tab, create a connection and complete the auth flow. Later, embed this in your product:

nango.openConnectUI({ onEvent: (event) => { /* handle completion */ } });

3. Access the API. Retrieve credentials and make authenticated requests:

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);

Embed the Auth flow in your product, make requests with the Proxy, or build custom integrations with Functions.

Why Nango?

AI-generated, human-controlled code. Nango's AI builder generates TypeScript integration functions from natural language. Unlike black-box solutions, you get readable code you can review, edit, and version control. With full type safety and a built-in testing framework.

Production-grade infrastructure. Nango processes billions of API requests. The runtime provides per-tenant isolation, elastic scaling, automatic retries, and rate-limit handling. Battle-tested by hundreds of companies in production.

Auth for 900+ APIs, out of the box. OAuth flows, token refresh, credential storage, and multi-tenant support handled for you. Connect to any API without building auth from scratch.

Open source and self-hostable. Nango is fully open source. Run it on Nango Cloud or self-host on your own infrastructure. SOC 2 Type II, HIPAA, and GDPR compliant.

Fits your workflow. Fully operable via CLI and API. Compatible with any backend language or framework, AI coding tools (Cursor, Codex, Claude Code), and agent SDKs (MCP, LangChain).

Open-source vs. paid

Nango is available under the Elastic License. The Cloud and Enterprise Self-Hosted versions give you access to all features, based on your plan. You can also self-host for free with a limited feature set.

Contributing

We welcome contributions — anyone can add support for a new API.

Thank you to all contributors ❤️

関連リポジトリ
supabase/supabase

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

TypeScriptnpmApache License 2.0firebasesupabase
supabase.com
106.7k13.2k
sahat/hackathon-starter

A boilerplate for Node.js web applications

JavaScriptnpmMIT Licensehackathonboilerplate
35.2k8.1k
googleworkspace/cli

Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI agent skills.

Rustcrates.ioApache License 2.0google-workspaceagent-skills
developers.google.com/workspace
29.9k1.7k
better-auth/better-auth

The most comprehensive authentication framework

TypeScriptnpmMIT Licenseauthenticationoauth
better-auth.com
29.3k2.7k
authelia/authelia

The Single Sign-On Multi-Factor portal for web apps, now OpenID Certified™

GoGo ModulesApache License 2.0totpldap
authelia.com
28.3k1.4k
nextauthjs/next-auth

Authentication for the Web.

TypeScriptnpmISC Licensenodejsnextjs
authjs.dev
28.3k4k
jaredhanson/passport

Simple, unobtrusive authentication for Node.js.

JavaScriptnpmMIT Licensenodejsexpress
passportjs.org
23.5k1.3k
shieldfy/API-Security-Checklist

Checklist of the most important security countermeasures when designing, testing, and releasing your API

MIT Licenseapisecurity
23.3k2.7k
goauthentik/authentik

The authentication glue you need.

PythonPyPIOthersamlsaml-idp
goauthentik.io
22.4k1.7k
justauth/JustAuth

🏆Gitee 最有价值开源项目 🚀:100: 小而全而美的第三方登录开源组件。目前已支持Github、Gitee、微博、钉钉、百度、Coding、腾讯云开发者平台、OSChina、支付宝、QQ、微信、淘宝、Google、Facebook、抖音、领英、小米、微软、今日头条、Teambition、StackOverflow、Pinterest、人人、华为、企业微信、酷家乐、Gitlab、美团、饿了么、推特、飞书、京东、阿里云、喜马拉雅、Amazon、Slack和 Line 等第三方平台的授权登录。 Login, so easy!

JavaMavenMIT Licensejustauthoauth2
justauth.cn
17.5k2.9k
ory/hydra

Internet-scale OpenID Certified™ OpenID Connect and OAuth2.1 provider that integrates with your user management through headless APIs. Solve OIDC/OAuth2 user cases over night. Consume as a service on Ory Network or self-host. Trusted by OpenAI and many others for scale and security. Written in Go.

GoGo ModulesApache License 2.0hydraoauth2
ory.com
17.4k1.6k
zitadel/zitadel

ZITADEL - Identity infrastructure, simplified for you.

GoGo ModulesGNU Affero General Public License v3.0samlauthentication
zitadel.com
14.5k1.2k