Skip to content
ChangelogBook a demoSign up

CLI overview

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.

  1. From the API keys tab on the Settings page, click Add API key.
  2. Enter a descriptive Name for your key.
  3. 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.
  4. Copy your API key and store it in a safe location. The key is only displayed once.
  5. 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.

Ready to get started?

Jump right in or a book a demo. Your first destination is always free.

Book a demoSign upBook a demo

Need help?

Our team is relentlessly focused on your success. Don't hesitate to reach out!

Feature requests?

We'd love to hear your suggestions for integrations and other features.

Privacy PolicyTerms of Service