Skip to main content

Get Started

The Connector CLI (also referred to as the "Integration CLI") is a command-line tool to build, debug, test and deploy connectors.

Installation

The CLI is distributed as a private NPM package (@unitoio/integration-cli) hosted on GitHub Packages. Access is granted on request — ask your Unito partner manager for an access token (the same token also grants access to the SDK and debugger).

export UNITO_GITHUB_PKG_TOKEN=<your token>
npm config set @unitoio:registry https://npm.pkg.github.com/unitoio
npm config set //npm.pkg.github.com/:_authToken "$UNITO_GITHUB_PKG_TOKEN"
npm install --global @unitoio/integration-cli

Configuration

In order to use most of the CLI commands, you need an API key. Given the momentarily restricted nature of the CLI, you currently cannot generate one yourself. Ask your Unito partner manager for more information. Once obtained, you can login using the login command.

integration-cli login --environment=production

Upgrades

The integration-cli should upgrade itself automatically. You can force a manual upgrade with the upgrade command.

integration-cli upgrade