gitmyhub

nango

TypeScript ★ 11k updated 1d ago

Build product integrations with AI.

An open-source platform that handles OAuth logins, token refresh, and API connections for 700+ services so you can add third-party integrations to your app without writing custom auth code.

TypeScriptsetup: moderatecomplexity 3/5

Nango is an open-source platform for connecting your application or AI agent to external APIs. Instead of writing custom code to handle OAuth login flows, token refresh, rate limits, and retries for every third-party service you want to support, Nango handles all of that for you. It supports over 700 APIs out of the box.

The platform is built around three main building blocks. The first is Auth, which manages the login and credential flow for APIs that use OAuth or API keys. You embed a short snippet in your app, and Nango takes care of storing credentials and refreshing tokens across multiple users. The second is the Proxy, which lets your backend make authenticated requests to external APIs through Nango. You send a request to Nango specifying which API and which user connection to use, and Nango resolves the credentials, handles retries, and returns the result. The third is Functions, where you write integration logic as TypeScript code and deploy it to run on Nango's infrastructure. An AI builder in the platform can generate these functions from a plain description of what you want.

Common patterns the platform supports include syncing data to and from external services (for example, feeding data into a search index), processing incoming webhooks from third-party services, giving AI agents the ability to call external APIs as tools, and normalizing data from different APIs into a consistent format for your application.

Nango is used in production at companies like Replit and Ramp. It is available as a hosted cloud service or can be self-hosted. The codebase is fully open source under the Elastic License, and the project welcomes contributions, including adding support for new APIs.

Where it fits