---
schema_version: "1"
id: a1b759509d4886bc1f832d9d6b5f1441bef61f4a85421db57c59d84e15a7f828
title: 适用于 Heroku Postgres 的出站私人连接
collection: tableau
version: current
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/current/zh-cn/online/private_connect_setup_aws_heroku.md
canonical_url: https://help.tableau.com/current/online/zh-cn/private_connect_setup_aws_heroku.htm
source_site: help.tableau.com
content_type: documentation
content_hash: c010a624db5237218965ae5ef6ee7206f86460a6ee7424675c4261cd4d0f79c3
description: Set up a private connection for Heroku Postgres in Tableau Cloud.
---
[跳转到主要内容](#main-content)

# 适用于 Heroku Postgres 的出站私人连接

本主题介绍特定于数据提供程序的设置信息。有关设置专用连接的一般信息，请参见[出站私人连接](https://help.tableau.com/current/online/zh-cn/private_connect_setup_overview.htm)；有关设置 Tableau Cloud 端点的信息，请参见[出站专用连接设置：Tableau Cloud](https://help.tableau.com/current/online/zh-cn/private_connect_setup_tableau_cloud.htm)。

注意：没有适用于 Heroku Postgres 的专用 Web 制作连接器。若要连接到 Heroku Postgres，最终用户可将专用连接中的连接地址与标准 Postgres 连接器一起使用。

## 先决条件

1. 在 Private Space 或 Shield Private Space 中运行的 Heroku 应用程序，并附加了 Heroku Postgres 数据库。
2. 您的 Tableau Cloud 站点和 Heroku Postgres 数据库必须位于同一 AWS 区域。有关包含 Tableau Cloud pod 和关联区域的表，请参见 [Tableau Cloud 的 IP 地址](https://help.tableau.com/current/online/zh-cn/to_keep_data_fresh.htm#ip-addresses-for-tableau-cloud)。
3. 已预置 Heroku Postgres 端点。请参见[预置 Heroku Postgres 端点](https://devcenter.heroku.com/articles/heroku-postgres-via-privatelink#provisioning-the-heroku-endpoint)的步骤 1-3。

## 数据提供程序的 Tableau Cloud 信息

若要获取预置 Heroku Postgres 端点所需的帐号，请执行以下操作：

1. 登录 Tableau Cloud Manager (TCM)。
2. 转到“设置”。
3. 选择“私人连接”选项卡。
4. 展开“IAM 区域和 ARN”。
5. 查找您的 Tableau Cloud 站点的区域。
6. 从“IAM ARN”列中，_仅_复制 ARN 中的帐号和资源信息。举例来说，如果完整 ARN 为 `arn:aws:iam::012345678910:role/tab-private-connect`，请复制 `012345678910:role/tab-private-connect`。

## Tableau Cloud 的数据提供程序信息

请参见[步骤 4：获取端点的服务名称](https://devcenter.heroku.com/articles/heroku-postgres-via-privatelink#step-4-obtain-your-endpoint-s-service-name)（在 Heroku 的“通过 PrivateLink 连接到 Private 或 Shield Space 中的 Heroku Postgres”帮助主题中），获取 Tableau Cloud 的“创建专用连接”对话框所需的端点服务名称。