SkaleData Docs

Install the CLI

Install the skale CLI, sign in, enable shell completion, and set its environment variables.

The skale CLI connects clouds to SkaleData, develops and deploys Airflow DAGs, and mints credentials for application APIs. Install it first; the rest of Getting started uses it.

Installation

brew install skaledata/tap/skale

Authentication

# Interactive login (opens browser)
skale auth login

For CI/CD, use an API key instead:

skale auth set-key sdk_...
# or, non-interactively, via environment variable:
export SKALEDATA_API_KEY=sdk_...

Next, connect a cloud.

To call a deployed app's own REST API (Airflow, Airbyte, …), see App APIs and credentials.

Shell completion

Enable tab completion for your shell:

Bash

skale completion bash > /etc/bash_completion.d/skale

Zsh

skale completion zsh > "${fpath[1]}/_skale"

Fish

skale completion fish > ~/.config/fish/completions/skale.fish

After adding the completion script, restart your shell or source your profile.

Environment variables

VariableDescription
SKALEDATA_API_KEYAPI key for non-interactive authentication
SKALEDATA_API_URLOverride the API endpoint (default: https://api.skaledata.com)

On this page