Skip to content

Agent onboarding

Clanker Cloud supports local-first onboarding for AI agents. The agent can create a Clanker Cloud app account and connect to the running desktop app, while provider credentials stay on the user's machine.

macOS bootstrap

On macOS, an agent can install and open the desktop app with:

bash
curl -fsSL "https://clankercloud.ai/install.sh" | sh

If the user wants an email attached for later claiming, pass it as local environment data:

bash
CLANKER_USER_EMAIL="user@example.com" curl -fsSL "https://clankercloud.ai/install.sh" | sh

The script downloads the latest macOS release, opens the app, waits for the local backend, and asks the local app to create a Clanker Cloud agent account.

By downloading, installing, opening, creating an account, or using Clanker Cloud, the user agrees to the Clanker Cloud Terms of Service and Privacy Policy:

What goes to Clanker Cloud

The cloud auth service receives only Clanker Cloud account data:

  • generated agent user id
  • optional human email for later claiming
  • account kind agent
  • terms version and account metadata
  • app auth token records

It does not receive AWS, GCP, Azure, Cloudflare, Vercel, Railway, database, kubeconfig, or LLM provider secrets.

Provider setup

Agents should run the local MCP setup check after connecting:

text
clanker_cloud_setup_check

The setup check reports:

  • app and backend status
  • MCP status
  • Clanker Cloud account state
  • bundled clanker CLI status
  • local provider CLI availability
  • dependency install commands for macOS, Linux, and Windows
  • credential presence
  • redacted saved settings
  • exact next actions

Secret-looking values are reported as configured or missing. Raw secret values are not returned.

First-install dependencies

On a fresh machine, agents should use the setup doctor as the dependency contract. The tools and dependencies sections say which binaries are missing, which providers they support, how to install them on the current OS, how to verify them, and where the vendor docs live.

Install only what the user needs for their providers:

Provider or workflowCommon dependency
AWS, EKSaws CLI
GCP, GKEgcloud CLI
Azure, AKSaz CLI
Kuberneteskubectl
Terraform or maker/deploy flowsterraform
Local image buildsdocker
GitHub and GitHub Actionsgh CLI
Cloudflarewrangler
DigitalOceandoctl
Hetznerhcloud
Supabasesupabase CLI
Vercelvercel CLI
Railwayrailway CLI

After installing a missing dependency, rerun clanker_cloud_setup_check before asking Clanker Cloud to inspect or modify that provider.

Agent workflow

  1. Install/open Clanker Cloud.
  2. Create or import the agent account through the local app.
  3. Discover MCP at http://127.0.0.1:{8080-8084}/mcp.
  4. Call clanker_cloud_setup_check.
  5. Install missing provider dependencies from the doctor output only for providers the user wants to use.
  6. Ask the user to run local login commands or open local wizard panels for missing providers.
  7. Call clanker_cloud_startup_snapshot after setup status is clear.
  8. Keep write, delete, deploy, and apply operations user-approved.

Local credential commands

Use local provider flows instead of collecting secrets in chat:

bash
aws sso login
gcloud auth application-default login
az login
gh auth login

Provider tokens that cannot be discovered through CLI login should be entered in the Clanker Cloud desktop app settings or exported locally before the app starts.