Set up the CLI and folder
Step-by-step guide to setting up the Nango CLI and integrations folder.
Set up the Nango CLI and an integration folder to develop custom integrations with Nango.
Install the Nango CLI
Install the Nango CLI globally:
Create your Nango integrations folder
All your integrations live in a folder called nango-integrations
. Whether located in your main codebase or a dedicated repository, this folder should be version-controlled.
To initialize your integrations folder (e.g. at the root of your repository), run:
This creates the ./nango-integrations
folder with some initial configuration and an example
sync script. The nango-integrations
directory looks like this:
Authenticate the CLI
In an .env
file in ./nango-integrations
, add the following environment variables:
Get your secret keys from the Environment Settings tab (toggle between the Production
and Development
environment in the left nav bar).
Learn more about the Nango CLI (reference) and the content of the integrations folder.
Questions, problems, feedback? Please reach out in the Slack community.
Was this page helpful?