> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Tableau Cloud cannot connect to ClickHouse Cloud: add the Tableau Cloud IP addresses to the IP access list

> A data source published to Tableau Cloud connects from the servers of Tableau Cloud, not from your computer. Add their IP addresses to the IP access list of your ClickHouse Cloud service.

A data source that works in Tableau Desktop can fail once you publish it to Tableau Cloud, because Tableau Cloud opens its own connections to ClickHouse Cloud from the IP addresses of Tableau. If the IP access list of the service contains only the addresses of your office or VPN, these connections are closed. Add the IP addresses of your Tableau Cloud site to the list.

## Why the published data source fails

The [Tableau Online guide](https://clickhouse.com/docs/integrations/connectors/data-visualization/tableau/tableau-online-and-clickhouse.md) sets up the connection to ClickHouse Cloud in Tableau Desktop on your computer and then publishes the data source with an embedded password. From then on, Tableau Cloud runs the queries.

The [IP access list](https://clickhouse.com/docs/products/cloud/guides/security/connectivity/setting-ip-filters.md) of a ClickHouse Cloud service filters connections by their source address. The address of your computer is on the list, so Tableau Desktop connects. The addresses of Tableau Cloud are not, so the test of the published data source fails.

A service with the access list set to allow connections from anywhere is not affected.

## Add the Tableau Cloud IP addresses

1. Find the pod that hosts your Tableau Cloud site. The pod name, such as `prod-useast-a`, is part of the URL that the browser shows after you sign in to Tableau Cloud.
2. Open the Tableau help page [Authorize Access to Data Published to Tableau Cloud](https://help.tableau.com/current/pro/desktop/en-us/publish_tableau_online_ip_authorization.htm) and note the IP address ranges listed for that pod.
3. In the ClickHouse Cloud console, select the service and open **Settings**. In the **Security** section, find the IP access list, and add every address or range with a description such as `Tableau Cloud`. The list accepts individual IPv4 addresses and CIDR notation. Click **Save** to apply the change.
4. In Tableau Cloud, test the connection of the published data source again.

## Things to know

* In a [warehouse](https://clickhouse.com/docs/products/cloud/features/infrastructure/warehouses.md#network-access-control), every service has its own IP access list. Change the list of the service whose host name the data source uses.
* Tableau adds IP address ranges from time to time and announces them on the same help page before they are enabled. If the connection fails again later, compare the ranges on the Tableau page with your list.
* Tableau Cloud connects through the MySQL interface. For other causes of a failed connection, such as a user name without the `mysql4` prefix, see [Troubleshooting "Lost connection to MySQL server" with the ClickHouse Cloud MySQL interface](https://clickhouse.com/docs/resources/support-center/knowledge-base/troubleshooting/mysql-interface-lost-connection-in-cloud.md).
