NIN Connect Docs
Platform (Self-Host)

Self-Hosting NIN Connect

Run the full NIN Connect platform on your own infrastructure — dashboard, runtime proxy, and all.

Why Self-Host?

The hosted platform at connect.nin.in works out of the box for most use cases. But if you need full control — custom plugins, private infrastructure, audit requirements, or just want to tinker — you can run everything yourself.

What You Get

The self-hosted platform includes:

  • Dashboard — admin UI for managing plugins, tools, auth methods, categories, API keys, connections, and execution logs
  • Runtime API (/api/v1/*) — the same endpoints the SDK talks to
  • Connect pages — hosted OAuth and credential submission flows for end-users
  • SDK compatibility — just point baseUrl to your instance
const nin = new Nin({
  apiKey: "nk_live_...",
  baseUrl: "http://localhost:3100", // your self-hosted instance
});

Sections

PageWhat it covers
ArchitectureInternal code structure, execution proxy, credential vault, OAuth engine
SetupPrerequisites, env vars, database, running locally
DashboardAdmin and developer UI — plugins, tools, API keys, connections, logs
MCPMCP plugin setup, OAuth discovery, public servers, and security
Auth SystemSupported auth types, OAuth flow internals, encryption
DatabaseFull schema reference (Drizzle ORM, PostgreSQL)

On this page