You can connect your robots to Orchestrator in different ways based on the robot authentication settings configured in Orchestrator, typically by an administrator.
What are my authentication settings
The robot authentication settings can be seen and configured on Tenant > Settings, on the Robot security tab, usually by an administrator. Your Orchestrator administrator should provide you with details so as to be able to use the right method to connect your robot.
More on robot authentication.
Instructions on how to change robot authentication settings.
将有人值守的机器人连接到 Orchestrator
交互式登录
使用您的凭据登录,以将机器人连接到 Orchestrator。这使机器人可以访问 Orchestrator 资源,并为用户提供 Studio 或 Assistant 等产品的操作权限。
- 打开 Assistant。
- 在“首选项”菜单上,单击“Orchestrator 设置”。系统将显示“Orchestrator 配置”窗口。
- 在“连接类型”字段上,选择“服务 URL”。窗口的内容将根据选择进行调整。
- 在“服务 URL”字段中,输入要连接的 Orchestrator 实例的 URL。
- 单击“登录”。 系统会将您定向至 Orchestrator 实例的“登录”页面。
- 照常登录。
- 确认您的身份后,Assistant 中将填充您有权访问的 Orchestrator 文件夹中的流程。

注意
使用交互式登录时,无需在 Orchestrator 中创建计算机对象。
重要
在传统文件夹上下文中不支持交互式登录。
客户端凭据
使用客户端凭据将无人值守机器人连接到 Orchestrator。客户端 ID - 客户端密码对是通过 Orchestrator 中的计算机模板对象生成的。
有两种方法可以将机器人与客户端凭据连接:使用 Assistant 或命令行。
使用 Assistant
- 打开 Assistant。
- 在“首选项”菜单上,单击“Orchestrator 设置”。系统将显示“Orchestrator 配置”窗口。
- 在“连接类型”字段上,选择“客户端 ID”。窗口的内容将根据选择进行调整。
- 在“Orchestrator URL”字段中,输入 Orchestrator 的网址,例如
https://myOrchestrator.uipath.com/.
- 在“客户端 ID”字段中,输入由 Orchestrator 中的计算机对象生成的客户端 ID。
- 在“客户端密码”字段中,输入由 Orchestrator 中的计算机对象生成的客户端密码。
- 单击“连接”。机器人已连接到 Orchestrator。

使用命令行
- 打开命令提示符。
- 转到安装机器人的目录。例如:
cd C:\Program Files\UiPath\Studio
- 使用
--connect
、--url
、--clientID
和--clientSecret
命令行参数连接机器人并传递 Orchestrator URL、客户端 ID 和客户端密码。例如:
UiRobot.exe --connect --url <OrchestratorURL> --clientID <clientID> --clientSecret <clientSecret>
注意
使用 PowerShell 时,您需要使用“”对客户端密码中的
$
字符进行转义。例如,您应该将客户端密码(例如Bepx8O3XqSHrt$ZU
)传递为"Bepx8O3XqSHrt""$""ZU"
。
计算机密钥
使用计算机密钥连接有人值守的机器人。计算机密钥在 Orchestrator 中通过计算机对象生成。
注意
- 公司中负责 Orchestrator 配置的人员应向有人值守的用户和开发者提供正确的 Orchestrator URL 和计算机密钥。 无需将计算机对象分配给 Orchestrator 文件夹,只需将帐户分配给 Orchestrator 文件夹即可。
- 在同一台计算机上工作的多个帐户都需要在 Orchestrator 中创建一个机器人。
有两种方法可以将机器人与计算机密钥连接:使用 Assistant 或通过命令行。
使用 Assistant
- 打开 Assistant。
- 在“首选项”菜单上,单击“Orchestrator 设置”。系统将显示“Orchestrator 配置”窗口。
- 在“连接类型”字段上,选择“计算机密钥”。窗口的内容将根据选择进行调整。
- 在“计算机名称”字段中,您可以看到物理机或虚拟机的名称。
- 在“Orchestrator URL”字段中,输入 Orchestrator 的网址,例如
https://myOrchestrator.uipath.com/.
-- - 在“计算机密钥”字段中,输入由 Orchestrator 中的计算机对象生成的密钥。
- 单击“连接”。机器人已连接到 Orchestrator。

使用命令行
- 打开命令提示符。
- 转到安装机器人的目录。例如:
cd C:\Program Files\UiPath\Studio
- 使用
--connect
、-url
和-key
命令行参数。
UiRobot.exe --connect -url <orchestratorInstanceURL> -key <machineKey>
机器人已连接到 Orchestrator。如果您有高密度环境,则每个用户对应的机器人现已连接到 Orchestrator。
将无人值守机器人连接到 Orchestrator
在无人值守的自动化中,主机已在无人值守模式下连接并获得许可,因此 Orchestrator 是执行流程的指定方式。如果要在强制执行交互式登录时以有人值守模式(打开 Assistant)使用计算机,则需要登录,否则您将无法在 Assistant 中看到流程,并且机器人将显示为“已连接,未获得许可”。
客户端凭据
使用客户端凭据将无人值守机器人连接到 Orchestrator。客户端 ID - 客户端密码对是通过 Orchestrator 中的计算机模板对象生成的。
有两种方法可以将机器人与客户端凭据连接:使用 Assistant 或命令行。
使用 Assistant
- 打开 Assistant。
- 在“首选项”菜单上,单击“Orchestrator 设置”。系统将显示“Orchestrator 配置”窗口。
- 在“连接类型”字段上,选择“客户端 ID”。窗口的内容将根据选择进行调整。
- 在“Orchestrator URL”字段中,输入 Orchestrator 的网址,例如
https://myOrchestrator.uipath.com/.
- 在“客户端 ID”字段中,输入由 Orchestrator 中的计算机对象生成的客户端 ID。
- 在“客户端密码”字段中,输入由 Orchestrator 中的计算机对象生成的客户端密码。
- 单击“连接”。机器人已连接到 Orchestrator。

使用命令行
- 打开命令提示符。
- 转到安装机器人的目录。例如:
cd C:\Program Files\UiPath\Studio
- 使用
--connect
、--url
、--clientID
和--clientSecret
命令行参数连接机器人并传递 Orchestrator URL、客户端 ID 和客户端密码。例如:
UiRobot.exe --connect --url <OrchestratorURL> --clientID <clientID> --clientSecret <clientSecret>
注意
使用 PowerShell 时,您需要使用“”对客户端密码中的
$
字符进行转义。例如,您应该将客户端密码(例如Bepx8O3XqSHrt$ZU
)传递为"Bepx8O3XqSHrt""$""ZU"
。
计算机密钥
使用计算机密钥将无人值守机器人连接到 Orchestrator。计算机密钥在 Orchestrator 中通过计算机对象生成。
注意
需要在 Orchestrator 中将计算机对象分配文件夹。
在注册每个用户机器人时,只有使用相同的计算机名称和密钥才能启用高密度机器人功能。
有两种方法可以将机器人与计算机密钥连接:使用 Assistant 或使用命令行。
使用 Assistant
- 打开 Assistant。
- 在“首选项”菜单上,单击“Orchestrator 设置”。系统将显示“Orchestrator 配置”窗口。
- 在“连接类型”字段上,选择“计算机密钥”。窗口的内容将根据选择进行调整。
- 在“计算机名称”字段中,您可以看到物理机或虚拟机的名称。
- 在“Orchestrator URL”字段中,输入 Orchestrator 的网址,例如
https://myOrchestrator.uipath.com/.
- 在“计算机密钥”字段中,输入由 Orchestrator 中的计算机对象生成的密钥。
- 单击“连接”。机器人已连接到 Orchestrator。

使用命令行
- 打开命令提示符。
- 转到安装机器人的目录。例如:
cd C:\Program Files\UiPath\Studio
- 使用
--connect
、-url
和-key
命令行参数。
UiRobot.exe --connect -url <orchestratorInstanceURL> -key <machineKey>
机器人已连接到 Orchestrator。如果您有高密度环境,则每个用户对应的机器人现已连接到 Orchestrator。
Update the default Orchestrator URL for Mac
To update the default Orchestrator URL service when using the Assistant on a Mac, change it from store.json (/Applications/UiPath Assistant.app/Contents/Robot/uipath.config~/Library/Application Support/UiPath/store.json):
"MAIN_WINDOW_SERVICE_LOGIN_DETAILS": {
"nextServiceUrl": "https://cloud.uipath.com",
"defaultServiceUrl": "https://cloud.uipath.com"
}
3个月前更新