All articles on UiPath
UiPath Authentication takes place directly in the flow. Depending on the design of your flow will probably use multiple nodes to authenticate. This article explains the process for a UiPath cloud based setup. It will also explain where to find the account information in UiPath and the UiPath Orchestrator.
Add Authentication Node to Flow
In your flow click on + to open the mask to add nodes. Navigate to Extensions in the mask and then the UiPath symbol to see all Nodes associated with the UiPath extension.
Figure 1: How to find the nodes for the UiPath extension
Choose Authentication to add the node to your flow
Figure 2: Find Cloud Authentification node
Finding and Adding Authentication Information
Fields in Node
When you click on the flow you will have the ability to edit the node and add your UiPath authentication information.
To add a UiPath connection chose which type of connection you will be using and click on the + next to the connection drop down menu.
Figure 3: Add UiPath Connection
A new window will appear asking for your UiPath information. Depending on whether you choose On-premise or Cloud Authentication, the window might look different. The information field Name is chosen by you and is used to clearly identify the connection.
Figure 4: Add UiPath Connection
Finding Information in UiPath Cloud Orchestrator
The information can be found in UiPath right after signing in under Admin - Tenants and after opening up the relevant tenant, by clicking on API Access on the sideways ellipses behind Orchestrator.
Figure 5: Where to find API Access information
Figure 6: API Access Information
Client ID should be added to the clientID field in the node.
User Key should be added to the refreshToken field in the node.
Account Logical Name should be added to accountLogicalName.
Tenant Name should be added to tenantLogicalName.
Click Create to save your connection. Your connection will automatically be added to the UiPath Connection dropdown menu.
Finding Information in On-premise Orchestrator
For On-premise Authentication it is much easier to finde the information needed.
The URL of your orchestrator instance should be added to the orchestratorUrl field in the node.
The name of your tenant should be added to the tenancyName field.
The login information you use to access your orchestrator should be added to the usernameOrEMailAddress and password fields.
After adding your connection you need to decide whether to save the token data you will receive from UiPath in the Input or Context. The token data will be needed at a later point by other nodes (for example the Start a specific job node).
Figure 6: Setting Storage Options
After entering all the information in the save the node. If you want to test if it works simply send a message over the test chat and looking in the appropriate area to see the JSON payload with the Access Token sent by UiPath has been received.
Figure 6: JSON Context
Now that we have added our authentication information we will need to retrieve information regarding your processes from the UiPath Orchestrator.