clay) is JSON-first, so agents and scripts can inspect results without parsing prose.
1. Install the plugin or CLI
Install the plugin for your agent environment. If you only need the CLI in a terminal, local script, or CI job, install the standalone package instead.- Claude Code
- Codex
- Cursor
- Terminal or CI
Install the Clay plugin from the
clay-run/agent-plugins plugin repository using your workspace’s Claude Code plugin setup flow.
Then continue with sign-in below.2. Sign in
The plugin, MCP server, and CLI all authenticate with the same session. Sign in once:login --stdin instead, which keeps the key out of shell history:
3. Verify access
Confirm the CLI can see your user and workspace:4. Run a routine
List routines available to your workspace:5. Explore Workflows (Alpha)
Workflows are in Alpha. They can be created, edited, validated, run, inspected, and batch-run from the plugin and CLI.Work with JSON
Successful commands write JSON to stdout. Failures write a structured error to stderr and exit non-zero. Pipe stdout tojq to extract fields:
Next steps
- Return to the overview when you want to choose the next path.
- Learn about Routines.
- Try the search and enrich recipe.
- Use the Public API quickstart when you need raw HTTP access instead of the CLI.

