Skip to content

docs(uipath-coded-apps): add environment variables guidance - #4625

Draft
amrit-agarwal-1 wants to merge 1 commit into
mainfrom
docs/coded-apps-environment-variables
Draft

amrit-agarwal-1 wants to merge 1 commit into
mainfrom
docs/coded-apps-environment-variables

Conversation

@amrit-agarwal-1

@amrit-agarwal-1 amrit-agarwal-1 commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Coded apps can take per-deployment configuration as UIPATH_APPS_* environment variables, read with env from @uipath/uipath-typescript, set at deploy and changed without a redeploy. The skill had nothing on it, so an agent could not tell public configuration from secrets or find the deploy flags.

Adds references/environment-variables.md (what to use when, format rules, reading in code, local dev, .env.example, standalone and in-solution paths, troubleshooting), Critical Rule 22, the deploy flags in the command reference and deploy guide, the push/.env.example sync in file-sync, and the environmentVariables property in the solution skill's deploy-config section.

Draft on purpose: the released CLI (@uipath/codedapp-tool 1.205.0) and dev plugin (@uipath/coded-apps-dev 1.0.0-beta.1) do not carry the deploy flags, the .env.example sync or the .env.local reading yet (UiPath/cli#4868 and the follow-up PRs), and the platform feature is enabled per tenant. The reference gates on both with an explicit check (uip codedapp deploy -h lists --env-vars-file; the tenant refuses with not enabled for this tenant). Mark ready once the CLI release with those changes is out.

Checks run: check-skill-links.mjs, compose-skill-flavor.mjs validate, check-sensitive-content.py.

🤖 Generated with Claude Code

@amrit-agarwal-1

Copy link
Copy Markdown
Contributor Author

Prefix is now UIPATH_APPS_ (team decision today, after UIPATH_CLIENT_ turned out to collide with the UIPATH_CLIENT_ID/UIPATH_CLIENT_SECRET credential names). Renamed in the latest commit; the reserved-name guard went with it since those names no longer carry the prefix.

@amrit-agarwal-1
amrit-agarwal-1 force-pushed the docs/coded-apps-environment-variables branch from bc4e79a to b5156f8 Compare November 12, 2026 09:18
Per-deployment configuration for coded apps: UIPATH_APPS_* variables read with env from
@uipath/uipath-typescript, set at deploy time (standalone flags or the solution deployment
configuration) and changed without a redeploy. Adds the reference, the SKILL.md rule and the
pointers from the related references.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@amrit-agarwal-1
amrit-agarwal-1 force-pushed the docs/coded-apps-environment-variables branch from b5156f8 to 8a203d6 Compare November 16, 2026 07:35

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant