Skip to main content

Install the Nango CLI

Install the Nango CLI globally:
In the folder where you want your integration folder (e.g. root of your project), run:

CLI Authentication

Add the following env vars. We recommend that you have a .env file in ./nango-integrations:
Get your prod and dev secret keys from the Project Settings tab (toggle between the prod and dev environment in the left nav bar).
For self-hosting, set the NANGO_HOSTPORT env variable to http://localhost:3003 (for local development) or your instance’s URL.

All CLI commands & command details

Check out all CLI commands by running:
Get details about a specific command by running:

Flags & environment variables

Global command flags:
Environment variables:
Questions, problems, feedback? Please reach out in the Slack community.