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.
What’s different from the laptop demo
Section titled “What’s different from the laptop demo”| 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 |
1. Install the CLI
Section titled “1. Install the CLI”curl -fsSL https://github.com/getcanyon-ai/canyon-releases/releases/latest/download/install.sh -o install.sh && sh install.sh2. Sign in
Section titled “2. Sign in”canyon login https://canyon.yourcompany.exampleThe CLI signs in with a code you approve in a browser signed in as you:
- The CLI prints a code and a link, and says how long the code lasts: 10 minutes.
- 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.
- 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.
- 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.
3. Teach your coding agent
Section titled “3. Teach your coding agent”canyon skill installIt 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.
4. Deploy
Section titled “4. Deploy”From the app’s directory, ask your agent to deploy it, or run:
canyon deploy-
The first deploy writes
canyon.tomlwith the app’s id. Commit it, so everyone who clones the code deploys the same app. Add a one-linedescriptionto 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 statusshows who can, on its access line:access private · you are an ownerOpening 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).
5. Share it
Section titled “5. Share it”canyon share sam@yourcompany.example # read-onlycanyon share sam@yourcompany.example --level contributorcanyon share everyone # everyone at your org, read-onlyShare an app has the levels, groups and app roles.
6. Put it in production
Section titled “6. Put it in production”canyon deploy --env prodIt 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.