poly setup is safe to re-run at any time.
Examples:
- Authentication — runs the browser sign-in flow and saves an ADK key, as
poly logindoes. Skipped if credentials already exist. - Account API key (optional) — asks whether to set up an account API key for the PolyAI APIs, and if you say yes runs
poly apikey, which creates the key and exportsPOLY_API_KEYto your shell profile. It reuses the sign-in from step 1, so there is no second browser trip. The ADK itself does not need this key. Skipped whenPOLY_API_KEYis already in your profile, with--skip-auth, or when there is no terminal to ask; runpoly apikeyyourself in that case. - Shell completion — installs tab completion for your shell. For bash and zsh this appends an
eval "$(poly completion <shell>)"line to your rc file; for fish it writes~/.config/fish/completions/poly.fish. Skipped if already configured. Seepoly completionfor the manual route. - AI agent skills — installs the ADK skills into coding agents detected on your machine (Claude Code, Cursor, Codex, and others) via the
npx skillspackage. Skipped with a warning if Node.js 18+ is not available — a missing Node never fails setup. - Project — offers to create a new Agent Studio project or connect an existing one, as
poly project createandpoly initdo. Skipped if the directory already contains a project.
The skills step needs Node.js 18+Skill installation shells out to
npx, which requires Node.js 18 or newer. Without it, the step is skipped with a warning and the rest of setup completes normally — install Node and re-run poly setup to add the skills later.Anonymous usage telemetry
poly setup sends anonymous usage telemetry. Set POLY_NO_TELEMETRY=1 or DO_NOT_TRACK=1 to turn it off.Related pages
- Tooling — the coding-agent integrations the skills step installs into

