---
schema_version: "1"
id: edc1b55a49d48ca6d1b74b7af0a34beefdc531436eb585035bbc1a369fe5a484
title: 使用 Tableau 已连接应用进行应用程序集成
collection: tableau
version: current
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/current/zh-cn/online/connected_apps.md
canonical_url: https://help.tableau.com/current/online/zh-cn/connected_apps.htm
source_site: help.tableau.com
content_type: documentation
content_hash: b4187b4770ccd61b4545fedb8f09ca49735ed6919308162ae484ecbaae07438a
description: Use Tableau connected apps to establish trust for embedding content and authorizing REST API access.
---
[跳转到主要内容](#main-content)

# 使用 Tableau 已连接应用进行应用程序集成

从 2022 年 1 月初开始，Tableau 已连接应用通过促进您的 Tableau Cloud 站点与嵌入 Tableau 内容的自定义应用程序之间建立明确的信任关系，实现无缝且安全的身份验证体验。2022 年 6 月，Tableau 已连接应用扩展了其功能以支持 REST API 授权。自 2023 年 10 月起，Tableau 元数据 API 尊重使用已连接应用进行的 REST API 授权。截至 2025 年 2 月，Tableau VizQL Data Service 已支持通过已连接应用进行 REST API 授权。

**注意：**Tableau 已连接应用和 Salesforce 已连接应用不同并且提供不同的功能。如今，Tableau 已连接应用已针对在外部应用程序中嵌入 Tableau 视图和指标进行了优化，并用于授权对 Tableau REST API 的访问。（2023 年 10 月，Tableau 取消了将指标嵌入到 Tableau Cloud 和 Tableau Server 版本 2023.3 的功能）。

您可以配置两种类型的已连接应用：直接信任或 OAuth 2.0 信任。

### 直接信任

使用_直接信任_，您可以：

- 限制对哪些内容可以嵌入以及该内容可以嵌入的位置的访问
- 为用户提供使用单点登录 (SSO) 访问嵌入内容的能力，而不必与身份提供程序 (IdP) 集成
- 为用户提供直接从外部应用程序进行身份验证的能力
- 使用 JSON Web 令牌 (JWT) 以编程方式代表用户授权访问 Tableau REST API 和 Tableau 元数据 API （从 Tableau Cloud 2023 年 10 月版开始）
- 使用 JSON Web 令牌 (JWT) 以编程方式代表用户授权访问 Tableau REST API 和 Tableau VizQL Data Service（从 Tableau Cloud 2025 年 2 月版开始）
- 确定用户或应用程序可执行 Tableau REST API 能力的范围
- 启用其他功能，比如：
    - 用户属性函数（2023 年 3 月）
    - 按需访问（2023 年 10 月）
    - 使用断言的动态组成员身份（2024 年 6 月）
    - SCIM 的外部令牌（2025 年 6 月）

有关此已连接应用类型的更多信息，请参见[使用直接信任配置已连接应用](https://help.tableau.com/current/online/zh-cn/connected_apps_direct.htm)。

### OAuth 2.0 信任

使用 _OAuth 2.0 信任_，您可以：

- 限制对哪些内容可以嵌入以及该内容可以嵌入的位置的访问
- 为用户提供使用单点登录 (SSO) 通过身份提供程序 (IdP) 访问嵌入内容的能力
- 使用标准 OAuth 2.0 标准协议提供访问
- 以编程方式代表用户授权访问 Tableau REST API 和元数据 API（从 Tableau Cloud 2023 年 10 月版开始）
- 以编程方式代表用户授权访问 Tableau REST API 和 VizQL Data Service（从 Tableau Cloud 2025 年 2 月版开始）
- 确定用户或应用程序可执行 Tableau REST API 能力的范围
- 启用其他功能，比如：
    - 用户属性函数（2023 年 3 月）
    - 按需访问（2023 年 10 月）
    - 使用断言的动态组成员身份（2024 年 6 月）
    - SCIM 的外部令牌（2025 年 6 月）

有关已连接应用类型的详细信息，请参见[使用 OAuth 2.0 信任配置已连接应用](https://help.tableau.com/current/online/zh-cn/connected_apps_eas.htm)。

## 此部分中的其他文章