robot
2021.10
false
UiPath logo, featuring letters U and I in white
OUT OF SUPPORT
Robot User Guide
Last updated Nov 11, 2024

Configuration Steps

In order for your automation projects to benefit from the Robot JavaScript SDK, the following prerequisites need to be met:

  • Studio and Robot version 2019.10 or greater installed
  • A Robot connected to Orchestrator
  • The UiPath JavaScript Add-On installed on the Robot machine
  • The Robot JavaScript SDK

    Important:

    The Robot JavaScript SDK is provided out-of-the box for Studio Community Edition v2020.2 and Enterprise v2020.4 and greater. For Enterprise v2019.10 LTS a stand-alone Add-On installer is also available.

    If you upgrade from v2019.10 to v2020.2 and later, you need to manually uninstall the UiPath Robot JS Add-on before running the Studio and Robot installer.

Once the UiPath JavaScript Add-On is installed, a prompt is displayed to allow your custom application or web page to connect to the Robot when a method is called. You can test it here.



The Robot JavaScript SDK

This SDK provides all the necessary methods and properties you can include in your custom application or web page. You can download it as follows:

NPM

The npm package is available with TypeScript bindings. To include it in your project, you need to execute the following command at the root of your project directory:

npm install --save @uipath/robotnpm install --save @uipath/robot

CDN

For CDN, you need to include the SDK before closing the </body> tag.
<body>
...
...
<script href="//download.uipath.com/js/Latest/UiPathRobot.js"></script>
</body><body>
...
...
<script href="//download.uipath.com/js/Latest/UiPathRobot.js"></script>
</body>

Direct Download

You can also grab the Robot JavaScript SDK via direct download.

  • The Robot JavaScript SDK
  • NPM
  • CDN
  • Direct Download

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.