Skip to content
CanyonDocsDocs for Canyon v0.10.0

Deploy on your company's Canyon

Your company runs Canyon, and you have its address, such as https://canyon.yourcompany.example. Sign the canyon CLI in to it once, and you or your coding agent can deploy through it. Everything you deploy is private to you until you share it.

The laptop demo Your company’s Canyon
Address http://localhost:7777 Your company’s https address
Signing in Nobody signs in: sign-in is off Through your identity provider, in the browser; the CLI signs in with a code you approve there
Who opens your app Anyone who can reach the demo You and Canyon’s admins, until you share it
An app’s address <app>.preview.localhost:7777 Under your company’s domain, such as https://<app>.preview.<domain>
A blocking finding the code is right about Anyone can approve it Someone else approves it, never you on your own deploy
The AI review Off: the demo has no AI model On, if your admin set up a model
Production You promote You promote, or your org has a person approve it in the dashboard
Terminal window
curl -fsSL https://github.com/getcanyon-ai/canyon-releases/releases/latest/download/install.sh -o install.sh && sh install.sh
Terminal window
canyon login https://canyon.yourcompany.example

The CLI signs in with a code you approve in a browser signed in as you:

Start a sign-in A code and a link, for 10 minutes Asks until it is approved Approve, signed in as you Signed in as you, for 7 days Open the link and check the code canyon login Canyon You, in a browser
CLI sign-in: the terminal shows a code, you approve it in a browser signed in as you
  1. The CLI prints a code and a link, and says how long the code lasts: 10 minutes.
  2. Open the link. If you aren’t signed in yet, the page says “Sign in to approve the Canyon CLI” and sends you to company sign-in first.
  3. The page “Sign in to the Canyon CLI” shows the code, the address the request came from, and when. Check the code matches your terminal. The page names the account you are approving as, with “Switch account” to change it.
  4. Click “Approve” or “Deny”. The link fills in the code, but only your click approves it. Only a browser sign-in can approve or deny a code: a CLI sign-in is refused.

Approving gives that machine your access for 7 days. Anything running there acts as you, including a coding agent and its deploys. Only approve a code you started yourself. The CLI then says it is signed in, and names you and your organisation. canyon login --token is not available: a person signs in, and every CLI session is that person’s.

If the code expires and the CLI says Canyon is still being set up, nobody can approve a sign-in there yet: ask whoever installed it to finish setup.

Terminal window
canyon skill install

It writes the Canyon skill and a session hook for Claude Code, and for Cursor in a project that has a .cursor directory. At each session start the hook hands the agent your org’s current rules from the Canyon you signed in to. Use it from your coding agent shows what it writes. canyon skill uninstall takes it out again.

From the app’s directory, ask your agent to deploy it, or run:

Terminal window
canyon deploy
  • The first deploy writes canyon.toml with the app’s id. Commit it, so everyone who clones the code deploys the same app. Add a one-line description to it first, so colleagues see what the app does (canyon.toml).

  • Canyon reviews the code before anything is built. When the review blocks, the output names the file, the line and the fix, and the agent fixes it and deploys again (Fix or approve).

  • Your app is private: only you and Canyon’s admins can open it until you share it. canyon status shows who can, on its access line:

    access private · you are an owner

    Opening the address sends people through sign-in first, and the app learns who they are from a token Canyon signs (Sign-in inside your app).

Terminal window
canyon share sam@yourcompany.example # read-only
canyon share sam@yourcompany.example --level contributor
canyon share everyone # everyone at your org, read-only

Share an app has the levels, groups and app roles.

Terminal window
canyon deploy --env prod

It promotes the exact image preview runs, with production’s own secrets. Where your org has a person approve each promotion, it prints a link instead, and someone on the app’s team approves it in the dashboard. See Get to production.

When something stops you, Troubleshooting lists the messages Canyon prints and what to do about each.