Preview
Before publishing a connector, you'll likely want to view what it will look like on Unito. The CLI offers two
options for this, --preview
, and --live-preview
.
Preview
Previewing a connector allows you to publish it in a temporary state guaranteed to be private to your organization.
integration-cli publish --preview
It effectively packages your connector and publishes it onto Unito's infrastructure, but it keeps it private.
Live Preview
For development purposes, you might want to skip Unito's infrastructure altogether and test right from your machine.
For this, you can use the --live-preview
option.
integration-cli publish --live-preview
This command will:
- Start your connector process locally.
- Create a temporary private connector in your Unito organization.
- Start
ngrok
pointing to your local connector process.
All requests are redirected to your local process.
warning
Make sure you've setup your ngrok account. Using an account subject to rate limits may induces slowness, errors and headaches.