---
schema_version: "1"
id: 7521724738fc23c3dd1362497ea70b49de3468e0f08ca39a10d62f1231ad0e0a
title: 在 Web 制作中连接到已发布数据源
collection: tableau
version: current
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/current/zh-cn/online/datasource_using.md
canonical_url: https://help.tableau.com/current/online/zh-cn/datasource_using.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 3b9321ade4f16e70e7b14d4c74264823e8f84a9ce7d34b281f8f4abbf56d4b0b
description: Connect to published data sources while web authoring in Tableau Server or Tableau Cloud.
---
[跳转到主要内容](#main-content)

# 在 Web 制作中连接到已发布数据源

下面的步骤描述如何在登录到 Tableau Server 或 Tableau Cloud 时连接到已发布数据源。有关如何在 Web 上编辑工作簿和视图的详细信息，请参见[在 Web 上构建视图](https://help.tableau.com/current/pro/desktop/zh-cn/web_author_build_view.htm)和[在 Web 上使用 Tableau](https://help.tableau.com/current/pro/desktop/zh-cn/web_author_home.htm)。

有关如何从 Tableau Desktop 连接到发布的数据源的信息，请参见本帮助系统“连接器示例”参考中的 [Tableau Server 或 Tableau Cloud](https://help.tableau.com/current/pro/desktop/zh-cn/examples_tableauserver.htm)。

## 在 Web 制作环境中连接到已发布数据源

如果您有权创建和编辑视图，则可以连接到数据。

1. 登录到 Tableau Server 或 Tableau Cloud 站点时，选择一个要编辑的视图。
2. 在编辑模式下，单击“新建数据源”图标 ![新数据源图标。](/tableau/current/zh-cn/online/zh-cn/Img/datasource_using1.png)。
3. 在“连接到数据”对话框中，搜索并选择已发布数据源，然后单击“连接”。

您也可以在 Tableau Server 或 Tableau Cloud 上直接创建新工作簿时连接到发布的数据源。

1. 登录到站点后，导航到“浏览”页面并选择“所有数据源”。
2. 在数据源列表中，选中要使用的数据源旁边的复选框，然后单击“动作”，并选择“新建工作簿”。

## 此部分中的其他文章