---
schema_version: "1"
id: 2607d4d5f37e7c6969203d7a9434a10d38d2e0a25c2de675e154e48164a7d161
title: 在 Web 制作中连接到已发布数据源
collection: tableau
version: next
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/next/zh-cn/online/datasource_using.md
canonical_url: https://help.tableau.com/v0.0/online/zh-cn/datasource_using.htm
source_site: help.tableau.com
content_type: documentation
content_hash: f9d5c1d6076832232261f4abfd9257d9e7121fb61425429f53b4a4e912d6e976
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/next/zh-cn/online/zh-cn/Img/datasource_using1.png)。
3. 在“连接到数据”对话框中，搜索并选择已发布数据源，然后单击“连接”。

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

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

## 此部分中的其他文章