UiPath Documentation
activities
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

Document Understanding 活动

上次更新日期 2026年4月22日

配置外部连接

外部连接允许您使用内部部署机器人创建和运行活动。要设置外部连接,请首先将外部应用程序添加到包含本地项目资源的云组织。接下来,您需要输入外部应用程序凭据,该凭据会根据您的需求而有所不同。如果您正在设计活动,请将凭据直接输入到活动中。对于运行时,请将这些凭据保存在链接到执行机器人的本地 Orchestrator 中。这将为内部部署机器人提供必要的访问权限,以使用来自云组织或其他租户的资源。

1. 添加外部应用程序

  1. In your Automation CloudTM organization, add an external application and select Document Understanding as one of its resources. Ensure that the necessary Application scopes are included. The necessary application scopes depend on the activities for which you want to use the external application. For example, if you want to use external application authentication with extraction activities, such as the Generative Extractor or Data Extraction Scope, we recommend that you assign application scopes related to extraction, such as the Du.Extraction.Api application scope. Once you've added the external application to your organization, save the provided App ID and App Secret. These credentials are necessary for your local Studio workflow, as they allow it to consume resources from the cloud organization at design-time or runtime.

    Figure 1. Generated credentials after adding an external application to your organization

    将外部应用程序添加到组织后生成的凭据

  2. Enable Document UnderstandingTM in your chosen tenant.

  3. 向选定的租户分配特定服务:

    • 如果您已注册 Flex 计划,请分配 AI Unit。
  4. If you want to use this external application at runtime, store the external application credentials, saved at step 1, in the local Orchestrator, where the robot belongs to, as a Credential Asset. In the Credential Asset, assign the external application credentials as follows:

    • Username: The App ID of the external application;
    • Password: The App Secret of the external application.

2. 在活动中提供凭据

添加外部应用程序并将其凭据存储在专用的凭据资产中后,您可以配置外部连接,如下所示:

  1. For Design-time external connection:
    1. Input the external application credentials directly in the activity, in the App ID and App secret fields.
    2. In the Tenant URL field, enter the URL of the tenant that the robot will connect to in order to configure the classification. The URL should be in the following format: https://<baseURL>/<OrganizationName>/<TenantName>.
  2. For Runtime external connection:
    1. Runtime Credentials Asset - Use this field to input the Credential Asset where you stored the external application credentials from your desired cloud organization, or tenant. You can choose to enter a Credential Asset, for authentication purposes, in one of the following ways:
      • From the dropdown list, select the desired Credential Asset from the Orchestrator to which the UiPath® Robot is connected to.

      • 手动输入 Orchestrator 凭据资产的路径,您将在其中存储用于访问生成式功能的外部应用程序凭据。

        路径的格式应为: <OrchestratorFolderName>/<AssetName>

    2. Runtime Tenant Url - Use this field, alongside the Runtime Credentials Asset field. Enter the URL of the tenant that the robot will connect to in order to execute the activity. The URL should be in the following format: https://<baseURL>/<OrganizationName>/<TenantName>.
  • 1. 添加外部应用程序
  • 2. 在活动中提供凭据

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新