coding-agents
2026.10
false
UiPath for Coding Agents user guide
- Get started
- Best practices
- Capabilities
- Skills
- CLI
- Examples
- Examples overview
- Recipe: build an agent
- Recipe: automate with RPA
- Recipe: enter data into a web app
- Recipe: extract data from a desktop app
- Recipe: refactor and test a workflow
- Recipe: a queue-based process with REFramework
- Recipe: build a flow in Maestro
- Recipe: build a Maestro Case
- Recipe: coded app and API workflow
- Recipe: build a coded function
- Recipe: verify a release with Test Manager
- Recipe: extract data from documents with IXP
- Advanced
- CI/CD and automation
- Governance and trust
- Help
CI/CD and automation
Run the uip CLI non-interactively in a CI/CD pipeline to publish and run automations.
Run the uip CLI in a pipeline, with no browser login.
Prerequisites
- A CI/CD system such as GitHub Actions or Azure DevOps.
- An External Application: a client ID, plus a client secret or a federated credential.
Set up a pipeline job
-
Store the credentials as CI/CD secrets, never in the repository.
-
Install the CLI:
npm install -g @uipath/clinpm install -g @uipath/cli -
Sign in with the External Application:
uip login --client-id env.UIPATH_CLIENT_ID --client-secret env.UIPATH_CLIENT_SECRET --tenant <tenant-name>uip login --client-id env.UIPATH_CLIENT_ID --client-secret env.UIPATH_CLIENT_SECRET --tenant <tenant-name>Add
--authorityfor a host other thancloud.uipath.com. For federated login, pass--client-assertioninstead of--client-secret. -
Run your publish or job command.
-
Fail the pipeline on any non-zero exit code:
Code Meaning 1 Failure 2 Authentication error 3 Validation error 4 Timeout For test runs, gate on the
uip tm report getresult: before CLI 1.207.0,uip tm waitexits 0 even when tests fail.
Commands: UiPath CLI documentation. Agent-built Studio Admin pipelines: CI/CD pipelines.