Tableau Cloud can read the PostgreSQL table etlmcp loads in two ways: as a live connection, or as an extract that Tableau Cloud refreshes on a schedule with the database credentials embedded in the data source. Either way Tableau Cloud has to reach your database. If the database accepts connections only from an allowlist, add the IP range Salesforce publishes for your Tableau Cloud site's pod. If you would rather not open the database to Tableau Cloud at all, run Tableau Bridge inside your network instead. With an extract, set its refresh for a time after your pipeline's daily run has finished, or the dashboard shows the previous day's table until the next refresh.
Live connection or extract
A database the public internet can reach can be published live or as an extract, and the extract refreshes directly on Tableau Cloud.
- Live: every view queries the table when it loads, so it shows the latest committed run with no schedule to manage. It also sends each dashboard's queries to your server.
- Extract: Tableau Cloud copies the table and the views read the copy. The copy is only as current as its last refresh.
For an extract, give the data source a database user that only reads, not the user etlmcp writes with. See a read-only role for BI tools.
Why the database has a public address
etlmcp's PostgreSQL destination checks the host before it connects. The name must resolve only to public addresses; a host that resolves to a private or local address is refused with host not allowed. By default it connects with SSL mode require. So the database etlmcp loads always has a public address, and Tableau Cloud can reach it directly unless a firewall stands in the way. See the PostgreSQL destination for the connection settings.
Allowlisting Tableau Cloud
If your firewall or pg_hba.conf admits only listed addresses, Tableau Cloud's requests are rejected until you add its range. The range depends on your site's pod, which you can read in the URL after you sign in. Salesforce's page maps each pod to a Hyperforce region and an IP range in CIDR form, and also publishes the ranges as a JSON file grouped by Hyperforce region. Salesforce adds new addresses to the table at least 30 days before they are switched on, and emails site admins when they become available. A live connection also needs the database port open. For the rule syntax and the ranges of other BI tools, see IP addresses to allow for BI tools.
Keep etlmcp's own rule separate. When the service has an outbound address configured, the Destinations page shows it, and it gets its own line in your allowlist.
Tableau Bridge
Salesforce describes Bridge as the way Tableau Cloud reaches data on a private network it cannot reach directly, including data in a virtual cloud network behind a firewall. Bridge runs on a client machine inside your network. It refreshes extracts on a schedule and can also answer live queries when Tableau Cloud detects it cannot reach the data itself.
For etlmcp output, Bridge fits when your firewall lets in etlmcp's address and nothing else, and you want to keep it that way. Bridge runs on Windows or, for containers, on Linux. On Windows, the client runs as a service only when its user is a local admin; otherwise it runs as an application and the user must stay signed in, which breaks overnight refreshes if they sign out. An embedded data source needs a Bridge client pool, because the default pool does not serve it.
Schedule the refresh after the run
A pipeline runs once a day at its hour in its own time zone. A new pipeline gets hour 6 in UTC unless you set another, and the scheduler checks for due pipelines every 5 minutes. When the run loads PostgreSQL, it deletes the pipeline's rows for the dates it covers, inserts the new rows and commits in one step, so the table is complete the moment the run succeeds. See when a pipeline runs.
On Tableau Cloud, choose Actions, then Refresh Extracts, then Schedule a Refresh on the workbook or data source. The choices:
| Frequency | When it runs |
|---|---|
| Hourly | every hour between a start and an end time |
| Daily | every 2, 4, 6, 8 or 12 hours, or once a day, on the days you pick |
| Weekly | once, on one day, at a set time |
| Monthly | on set dates, or on a numbered weekday, such as the second Wednesday |
Pick once a day, an hour or two after the pipeline's hour. Leave margin for failures: a run that fails for a reason that can pass is tried again up to 3 attempts in all, waiting at least 60 and then 300 seconds, or longer if the platform asks, up to 3 hours. See retries. Salesforce's table also lists a time zone for each pod, so check which time zone your schedule is shown in before you line it up with the pipeline's.
Use a full refresh, the default. Each etlmcp run rewrites every date in its trailing window, not only the newest day, and an incremental refresh is available only if you set it up before publishing. Each refresh is canceled after 7200 seconds, a limit you cannot change. Refreshes of the same workbook or data source run one after another, while tasks that are not staggered may run side by side, so stagger them if several dashboards read the same table.