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.
This page covers the Hightouch CLI (ht). To generate typed wrappers from
event contracts, see the Events CLI (htevents).
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, click Add API key.
- Enter a descriptive Name for your key.
- Under User group, select the group whose permissions the key should have in this workspace, or select All of the creator's groups to give the key the same permissions as you.
- Copy your API key and store it in a safe location. The key is only 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.