UiPath Documentation
robot
latest
false
Robot developer guide
  • Robot JavaScript SDK
    • About the Robot JavaScript SDK
    • Configuration Steps

About the Robot JavaScript SDK

Robot JavaScript SDK (RobotJS): JavaScript libraries connecting web applications to UiPath Robots for automation creation and management.

RobotJS

UiPath's Robot JavaScript SDK, or Robot JS, enables you to incorporate UiPath automation capabilities within your JavaScript applications. It provides a set of JavaScript libraries that act as a bridge of communication between JavaScript-based applications and UiPath Robots.

This SDK extends the ability to create, monitor, and manage processes directly from JavaScript applications.

Prerequisites

RobotJS requires the following:

  • Studio and Robot version 2019.10 or greater installed on the machine
  • Robot JavaScript add-on installed on the machine that executes the process
  • Robot connected to an Orchestrator instance

RobotJS on Windows OS

To use RobotJS add-on on Windows Server 2012 R2, Windows 8 and 8.1, you need:

  • Robot JS version 1.2.5+
  • Robot version 2021.4.4+

RobotJS on macOS

To use RobotJS add-on on macOS ARMv8 and AMD64, you need:

  • Robot JS version 1.2.7+
  • Robot version 2021.4.4+

It functions similarly as on Windows OS, with some exceptions:

  • It does not support the Safari browser,
  • it does not offer a standalone version, and
  • it only executes cross-platform automations.

Getting the Robot JavaScript SDK

Studio versions 2020.4+ provide the Robot JavaScript SDK by default. Licensed under Apache 2.0, it is available from the following sources:

  • NPM: The SDK is available as an NPM package with TypeScript bindings. The NPM package can be included in a project by running the following command at the root of the project directory:
    npm install --save @uipath/robot
    npm install --save @uipath/robot
    
  • CDN: The CDN version is added before the closing </body> tag:
    <script href="https://download.uipath.com/js/1.3.2/UiPathRobot.js"/>
    <script href="https://download.uipath.com/js/1.3.2/UiPathRobot.js"/>
    
  • Direct download: The minimized version of the Robot Javascript SDK is available as a .js package.
    https://download.uipath.com/js/1.3.2/UiPathRobot.js
    https://download.uipath.com/js/1.3.2/UiPathRobot.js
    

Documentation

The Developer Guide combined with the User Guide offer a complete SDK and JavaScript add-on overview for Robot, detailing usage, prerequisites, and initial robot-enabled application creation.

You can also develop the Robot JavaScript SDK functionality in .NET, by using the commands.

Specifications

  • The full documentation of SDK Specifications provides detailed information on the models and methods used by the Robot Javascript SDK.
  • Sample References offer pre-built samples for boilerplate and office applications that can be easily integrated in your custom application.

Try It

A practical demo using the Robot JavaScript SDK is available at Robot JS Demo. The demo securely connects to your existing Robot, retrieves the processes from UiPath Assistant, and displays them after access authorization is granted.

  • RobotJS
  • Prerequisites
  • RobotJS on Windows OS
  • RobotJS on macOS
  • Getting the Robot JavaScript SDK
  • Documentation
  • Specifications
  • Try It

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated