Development setup

Develop locally

Clone the repository and install dependencies:

git clone https://github.com/NangoHQ/nango.git
cd nango
npm install
npm run prepare

Create your environment file:

cp .env.example .env

Start the databases and queue:

npm run dev:docker

Run Nango in two separate terminals:

npm run dev:watch
npm run dev:watch:apps

Open http://localhost:3000.

Run integrations

Create a directory for your integrations and install the CLI:

mkdir nango-integrations
cd nango-integrations
npm install --global nango
nango init

Set NANGO_SECRET_KEY_DEV and NANGO_HOSTPORT in .env, then deploy:

nango deploy dev

See the CLI documentation for more information.