---
schema_version: "1"
id: fbaa9c60732782b63e7f0760552df09be84372c4070e5ac8ff7839d7fcaa7875
title: Heroku Postgres 的出站私人連線
collection: tableau
version: current
locale: zh-tw
portal_url: https://docs.salesforce.com/tableau/current/zh-tw/online/private_connect_setup_aws_heroku.md
canonical_url: https://help.tableau.com/current/online/zh-tw/private_connect_setup_aws_heroku.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 75c5bcb73d1be10862b3cbcfdb284178557678460943ffe32c77bc4e6e0364a9
description: Set up a private connection for Heroku Postgres in Tableau Cloud.
---
[跳至主要內容](#main-content)

# Heroku Postgres 的出站私人連線

本主題介紹具體資料提供程式的安裝資訊。有關設定私人連線的一般資訊，請參閱[出站私人連線](https://help.tableau.com/current/online/zh-tw/private_connect_setup_overview.htm)，有關設定 Tableau Cloud 端點的資訊，請參閱[出站私人連線設定：Tableau Cloud](https://help.tableau.com/current/online/zh-tw/private_connect_setup_tableau_cloud.htm)。

附註：Heroku Postgres 沒有專用的 Web 製作連接器。若要連線到 Heroku Postgres，終端使用者可使用與標準 Postgres 連接器的私人連線中的連線位址。

## 必要條件

1. 在私人空間或 Shield 私人空間中執行的 Heroku 應用程式，具有附加 Heroku Postgres 資料庫。
2. Tableau Cloud 站台和 Heroku Postgres 資料庫必須位於相同的 AWS 區域。有關包含 Tableau Cloud pod 和關聯區域的表，請參閱 [Tableau Cloud 的 IP 位址](https://help.tableau.com/current/online/zh-tw/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 連線到私人或 Shield 空間中的 Heroku Postgres」說明主題中），以取得 Tableau Cloud 建立私人連線對話方塊所需的端點服務名稱。