Skip to content

Installation

Download the binary for your platform from flowctl.sh/download.

Terminal window
curl -fsSL https://flowctl.sh/install | sh

Or download manually:

Terminal window
# macOS Apple Silicon
wget https://flowctl.sh/releases/latest/flowctl-darwin-arm64
chmod +x flowctl-darwin-arm64
sudo mv flowctl-darwin-arm64 /usr/local/bin/flowctl

Download flowctl-windows-amd64.exe from flowctl.sh/download and add it to your PATH.

Terminal window
flowctl --version

flowctl talks to ServiceNow’s REST API. You need credentials.

OAuth2 (recommended):

Terminal window
export SN_CLIENT_ID=your_client_id
export SN_CLIENT_SECRET=your_client_secret
flowctl --instance https://myco.service-now.com --sys-id abc123...

Basic Auth:

Terminal window
export SN_PASSWORD=your_password
flowctl --instance https://myco.service-now.com --sys-id abc123... --user admin

Both methods work in all tiers. OAuth2 is better for production — no password, token auto-refreshes.

  1. Create an OAuth Application Registry entry with Grant Type = Client Credentials
  2. Set an OAuth Application User on the registry entry
  3. Enable system property glide.oauth.inbound.client_credential.grant_type.enabled = true
  4. Minimum version: Washington DC release

Need to create or update flows? See Pro features