Skip to main content
The superglue CLI (sg) lets you build, run, and manage integration tools from the terminal. It connects to your superglue instance (cloud or self-hosted) and supports both interactive and scriptable workflows.

Installation

Verify the install:

Setup

Run the interactive setup wizard:
This prompts for:
  • API key — from your superglue dashboard (Settings → API Keys)
  • API endpoint — defaults to https://api.superglue.cloud
  • Output mode — stdout only, or stdout + file
  • Config location — project-local (.superglue/config.json) or global (~/.superglue/config.json)
Alternatively, set environment variables directly:

Configuration Resolution

Both API key and endpoint resolve in this order:
  1. CLI flag (--api-key, --endpoint)
  2. Environment variable (SUPERGLUE_API_KEY, SUPERGLUE_API_ENDPOINT)
  3. Config file
  4. Default (endpoint defaults to https://api.superglue.cloud)

Global Flags

These flags work with any command:

Command Structure

AI Agent Integration

Install as a skill for AI coding agents (35+ agents supported):
Or target a specific agent:

Next steps

Commands Reference

Full reference for every CLI command and flag