Overview
Hightouch provides an intuitive Command Line Interface (CLI) to give users access to resources in the terminal or automation scripts. You can use the CLI to access the definition of your resources like syncs and models or trigger a sync run from your terminal or automation scripts.
Quick start
Install CLI
To install from shell scripts, run:
Install the latest version
curl -sLf https://getcli.hightouch.io | sh -
Install specific version
curl -sLf https://getcli.hightouch.io | INSTALL_HT_VERSION=v0.1.0 sh -
Login with API key
Next, you need to create a Hightouch API key in your Hightouch workspace settings.
- From the API keys tab on the Settings page, select Add API key.
- Enter a descriptive Name for your key.
- Copy your API key and store it in a safe location. The key will only be displayed once.
- Click Create API key.
Then you can login with this API key:
ht login
Hightouch API key [************************************]:
You can also use your API key with ENV variables.
HIGHTOUCH_APIKEY=${yourkey} ht COMMANDS
CLI reference
Once you've installed and logged in, you can follow the CLI Reference documentation to start using the CLI.
Issues
If you have any problems using CLI, please file an issue through GitHub, or contact us through Slack or.