Skip to main content

Commands

activity

Show the activity associated with this connector.

integration-cli activity

dev

Develop your connector using our interactive debugger tool.

integration-cli dev

encrypt

Client secrets and passwords can be encrypted using this command.

integration-cli encrypt

init

Initialize a new connector.

integration-cli init

invite

Give access to your connector to other users.

integration-cli invite

login

Authenticate yourself using your API key.

integration-cli login

oauth2

Perform an OAuth2 workflow to either populate or refresh a test account's credentials.

integration-cli oauth2

publish

Publish your connector.

integration-cli publish

test

Test your connector.

integration-cli test

upgrade

Upgrade the CLI.

integration-cli upgrade

Configuration

By default, the CLI uses the .unito.json file at the root of your connector directory for most of its operations. The information it contains will be used when publishing your connector to our environment or running tests, defining important things like the connector name, the authorization methods, encrypted secrets, test accounts, etc.

You may want to use a different configuration file in some cases, for example if you need to use a different secret value in development vs in production. To that end, you can specify the relative path from the connector's root directory to the file you want to use.

integration-cli publish --live-preview --config-path=/my-config.json