Connecting to Cloud-Based Data Sources in Tableau
Connecting to cloud-based data sources in Tableau allows users to access, analyze, and visualize data stored on internet-accessible platforms, cloud databases, and online business applications. Tableau supports various connectors that help users connect to cloud services and create interactive reports, dashboards, and business intelligence solutions.
Course: JustAcademy Tableau Training
Course Demo: Register for a Tableau Course Demo
1. Introduction to Cloud-Based Data Sources
A cloud-based data source stores data on remote servers or online platforms that can be accessed over a network. Instead of keeping all data on a local computer, organizations use cloud services to store, manage, process, and share information.
Tableau can connect to supported cloud databases, online applications, cloud storage services, and published data sources. The available connection options depend on the Tableau product, connector, account permissions, and deployment configuration.
Examples of Cloud-Based Data Sources
- Google BigQuery: A cloud data warehouse used for large-scale analytics.
- Amazon Redshift: A cloud data warehouse for analytical workloads.
- Snowflake: A cloud data platform for storing and analyzing data.
- Salesforce: A cloud-based customer relationship management platform.
- Google Drive: An online file storage service that can be used with supported Tableau connection options.
- Microsoft Azure SQL Database: A managed relational database service.
- Databricks: A data platform used for data engineering, analytics, and machine learning.
Connector availability and authentication methods vary by product and version. Always check the supported connector list for your Tableau environment.
2. What Is a Cloud-Based Data Connection in Tableau?
A cloud-based data connection establishes communication between Tableau and a supported online data platform. After authentication and successful connection, Tableau can access authorized data and use it to create visualizations.
Main Components
- Cloud Data Source: The online database, application, or service that stores the data.
- Tableau Connector: The connector Tableau uses to communicate with the source.
- Server or Account Details: The host, project, site, account, or database information required by the connector.
- Authentication: Credentials, OAuth authorization, or another supported authentication method.
- Network Access: The network connection and access permissions required to reach the data.
- Tableau Data Source: The connection and selected data prepared for analysis.
- Worksheet and Dashboard: The Tableau views built using the connected data.
3. Why Connect Tableau to Cloud-Based Data Sources?
- Access data stored on cloud platforms without manually downloading every dataset.
- Analyze information from supported online business applications.
- Build interactive dashboards for business reporting.
- Work with centralized data maintained by teams or organizations.
- Reduce repetitive manual data preparation.
- Support data refresh workflows where the connector and deployment allow them.
- Combine cloud data with other compatible data sources for broader analysis.
- Share published visualizations with authorized users through supported Tableau products.
4. Common Types of Cloud Data Sources
| Category |
Examples |
Typical Use |
| Cloud Data Warehouses |
Google BigQuery, Amazon Redshift, Snowflake |
Large-scale analytics and reporting |
| Cloud Databases |
Azure SQL Database, Google Cloud SQL, Amazon Aurora |
Business records and application data |
| Cloud Business Applications |
Salesforce and other supported applications |
Sales, customer, and operational analysis |
| Online File Services |
Google Drive, OneDrive, Dropbox |
Accessing supported files or connector-based data |
| Cloud Data Platforms |
Databricks |
Analytics and data processing |
Note: Not every service supports every connection method. Some sources require a native connector, a supported partner connector, OAuth, a driver, or a published data source.
5. Prerequisites Before Connecting
Before connecting Tableau to a cloud-based data source, verify the following requirements:
- Install or access a Tableau product that supports the intended connector.
- Confirm that the cloud service is supported by your Tableau version.
- Obtain the required server, project, database, site, or account details.
- Ensure that you have permission to access the required data.
- Prepare valid login credentials or the required OAuth authorization.
- Check whether a driver or additional connector must be installed.
- Verify network access, firewall rules, and any required security configuration.
- Understand whether the connection will use Live access or an Extract.
6. Steps to Connect Tableau to a Cloud Data Source
Step 1: Open Tableau
Launch Tableau Desktop or sign in to a supported Tableau web environment. The connection process may differ depending on the product.
Step 2: Locate the Connect Pane
In Tableau Desktop, find the Connect pane on the start page. Under the available server connectors, look for the required cloud platform. Select More if you need to browse additional connectors.
Step 3: Select the Cloud Connector
Choose the appropriate connector, such as Google BigQuery, Amazon Redshift, Snowflake, Salesforce, or another supported source.
Step 4: Enter Connection Information
Provide the details requested by the connector. Depending on the service, these may include:
- Server address or service endpoint.
- Database or warehouse name.
- Project or account identifier.
- Schema or dataset.
- Authentication information.
Step 5: Authenticate
Sign in using the authentication method supported by the connector. Some services use a username and password, while others redirect you to the provider's login page for OAuth authorization.
Step 6: Select the Data
After connecting, select the required database, schema, dataset, table, or supported object. The exact selection options depend on the connector.
Step 7: Prepare the Data
Review the available fields, data types, sample records, and table relationships. Correct field roles or data issues when necessary.
Step 8: Create a Worksheet
Open a worksheet and drag dimensions and measures into the view to build a chart or table.
Step 9: Save or Publish
Save your workbook or publish it to Tableau Server or Tableau Cloud when your account and project permissions allow it. Configure credentials and refresh settings according to the deployment requirements.
Official guide: Tableau – Connect to Your Data.
7. Connecting Through Tableau Cloud or Tableau Server
Tableau Cloud and Tableau Server provide web-based options for accessing published data sources and, for supported connectors, creating connections directly in the browser.
General Workflow
- Sign in to your Tableau Cloud or Tableau Server site.
- Open the option to create a new workbook.
- Choose the appropriate tab, such as On this site or Connectors.
- Select an existing published data source or a supported cloud connector.
- Authenticate and enter the required connection details.
- Select the data and create a view.
The tabs and available connectors depend on your Tableau product, licensing, permissions, and site configuration. Some connections must first be created in Tableau Desktop and then published.
Reference: Tableau Cloud – Connect to Data on the Web.
8. Understanding Authentication Methods
Authentication verifies the identity of a user or application before the cloud data source grants access.
| Method |
Description |
Important Consideration |
| Username and Password |
Uses credentials accepted by the source. |
Credentials must be stored and managed securely. |
| OAuth 2.0 |
Redirects the user to an identity or service provider to authorize access. |
Supported services and token behavior vary by connector. |
| Service Account or Key-Based Access |
Uses a configured service identity or key where supported. |
Follow the provider's security and credential-management guidance. |
| Single Sign-On (SSO) |
Uses an organization's configured identity system. |
Requires compatible identity-provider and application configuration. |
Use the authentication method approved by your organization. Do not share passwords, access tokens, private keys, or other secrets in workbooks or course notes.
OAuth Connection Workflow
- Select a connector that supports OAuth.
- Start the sign-in or authorization process.
- Authenticate with the cloud provider.
- Approve the requested access when appropriate.
- Return to Tableau and complete the connection.
Reference: Tableau – OAuth Connections.
9. Live Connection vs Extract
Tableau can work with cloud data using Live connections or Extracts where the connector and product support these options.
| Feature |
Live Connection |
Extract |
| Data access |
Queries the source as needed. |
Uses a saved snapshot of selected data. |
| Data freshness |
Can reflect current source data when queries run, subject to caching and source behavior. |
Reflects the most recent successful refresh. |
| Source availability |
Usually requires access to the source during analysis. |
Can support analysis from the saved extract without querying the source for every interaction. |
| Performance |
Depends on source performance, network, and query complexity. |
May improve performance for suitable workloads. |
| Maintenance |
Requires reliable connectivity and suitable source performance. |
Requires a refresh process to keep data up to date. |
Choose the connection type according to data freshness, performance, security, and refresh requirements. Test it with your real dataset before publishing.
10. Example: Connecting Tableau to Google BigQuery
Google BigQuery is a cloud data warehouse that stores and analyzes large datasets. Tableau provides a connector for supported BigQuery configurations.
General Steps
- Open Tableau Desktop.
- Select the Google BigQuery connector.
- Sign in using the supported authentication workflow.
- Select the appropriate Google Cloud project.
- Choose the dataset and table.
- Review the fields and data types.
- Open a worksheet and build a visualization.
Example Dataset
| Order ID |
Product |
Sales |
Region |
| 101 |
Laptop |
55000 |
Mumbai |
| 102 |
Mobile |
25000 |
Pune |
| 103 |
Monitor |
12000 |
Nashik |
| 104 |
Keyboard |
2000 |
Mumbai |
Create a Sales Chart
- Drag
Region to Rows.
- Drag
Sales to Columns.
- Check that the aggregation is
SUM(Sales).
- Select a bar chart.
- Add data labels or filters if needed.
Expected result: A bar chart comparing sales across regions.
11. Example: Connecting Tableau to Salesforce
Salesforce is a cloud-based business application commonly used to manage customer relationships, leads, opportunities, and sales activities.
General Steps
- Open Tableau and select the Salesforce connector if available in your environment.
- Authenticate using the supported Salesforce login workflow.
- Grant the required authorization.
- Select the available objects and fields.
- Prepare the data and open a worksheet.
- Create reports such as opportunities by stage, leads by source, or sales by owner.
Available objects, permissions, and authentication options depend on the Salesforce account and Tableau connector configuration.
12. Combining Cloud-Based Data Sources
Organizations sometimes need to analyze data from multiple platforms. Tableau supports combining compatible data sources using relationships, joins, blending, or other supported data-modeling options.
Example: A company wants to analyze sales records from a cloud database alongside customer details from a CRM platform.
- Sales database: order ID, customer ID, sales amount, order date.
- CRM platform: customer ID, customer name, industry, region.
The customer ID may be used as a matching field, provided it represents the same entities and data types in both sources.
Important Checks
- Confirm that the matching fields have consistent meanings.
- Check for duplicate keys and missing records.
- Understand the level of detail in each table.
- Validate totals before and after combining data.
- Check whether the chosen connection methods are supported together.
13. Refreshing Cloud Data
Data refresh behavior depends on the source, connector, connection type, and Tableau deployment.
- Live connection: Tableau queries the connected source as needed, subject to caching and source behavior.
- Extract: Refresh the extract to include new or changed data.
- Published data source: Configure supported refresh schedules in Tableau Server or Tableau Cloud.
- OAuth-based source: Ensure authorization and token refresh requirements are satisfied.
- Private-network source: Configure supported connectivity infrastructure, such as Tableau Bridge, where applicable.
For some manually uploaded files, automatic refresh is not available in the same way as a supported live connection or scheduled extract. Check the behavior for your specific source.
14. Tableau Bridge and Private-Network Data
Tableau Cloud is a hosted service. If a data source is inside a private network and is not directly accessible from Tableau Cloud, Tableau Bridge may provide a supported way to connect to that data for applicable scenarios.
General Workflow
- Confirm that the data source is supported for the intended Bridge workflow.
- Install and configure Tableau Bridge in an approved environment.
- Set up the connection and authentication securely.
- Associate the applicable published data source with the Bridge configuration.
- Configure supported live-query or extract-refresh behavior.
- Monitor connection status and refresh results.
Bridge is not required for every cloud data source. Whether it is needed depends on network accessibility and the connection architecture.
Reference: Tableau Cloud – Use Tableau Bridge.
15. Common Connection Problems and Solutions
| Problem |
Possible Cause |
Suggested Solution |
| Connector is missing |
The connector is unavailable in the current product or version. |
Check supported connectors and consider a supported Desktop or partner-connector workflow. |
| Authentication fails |
Incorrect credentials, expired authorization, or insufficient permissions. |
Verify access and repeat the supported authentication process. |
| Data source cannot be reached |
Network restrictions, incorrect endpoint, or service outage. |
Verify the endpoint, network access, and source availability. |
| Database or dataset is missing |
The account lacks permission or the wrong project or database was selected. |
Check the selected project, dataset, database, and access permissions. |
| Driver or connector error |
A required driver or connector is missing or incompatible. |
Follow official installation and compatibility instructions. |
| Extract refresh fails |
Credentials, authorization, network access, or refresh configuration is invalid. |
Review refresh logs, credentials, and source accessibility. |
| Dashboard is slow |
Large queries, network latency, complex calculations, or source limitations. |
Optimize queries, reduce unnecessary data, and review the connection type. |
| Unexpected totals |
Incorrect relationships, duplicate records, or aggregation issues. |
Validate data grain, keys, joins, and calculations. |
16. Security Best Practices
- Use approved authentication methods and secure credential storage.
- Never expose passwords, access tokens, private keys, or secrets in shared workbooks.
- Grant users only the data access they need.
- Use encrypted connections where required and supported.
- Review data permissions before publishing dashboards.
- Follow company policies for customer, financial, and confidential information.
- Use approved refresh identities for published data sources.
- Regularly review authorization and remove access that is no longer required.
17. Practical Exercise
Objective: Connect Tableau to a supported cloud data source and build an interactive sales dashboard.
Sample Data
| Order ID |
Product |
Sales |
Region |
Category |
| 201 |
Laptop |
60000 |
Mumbai |
Electronics |
| 202 |
Mobile |
30000 |
Pune |
Electronics |
| 203 |
Desk |
15000 |
Nashik |
Furniture |
| 204 |
Chair |
8000 |
Mumbai |
Furniture |
| 205 |
Monitor |
18000 |
Pune |
Electronics |
Use this sample data only if you have a supported way to upload or load it into your chosen cloud source. The table is illustrative and is not a real cloud connection.
Exercise Tasks
- Choose a cloud source supported by your Tableau environment.
- Authenticate and connect to the source.
- Select the dataset or table containing the sales data.
- Verify field names and data types.
- Create a bar chart for sales by region.
- Create a product sales chart.
- Add a category filter.
- Create a dashboard combining the charts.
- Choose Live or Extract if both are supported.
- Document the refresh and access requirements for your dashboard.
Expected Learning Outcome
After completing the exercise, you should understand how to find a cloud connector, authenticate, select data, create visualizations, and identify basic connectivity and refresh requirements.
18. Interview Questions and Answers
Q1. What is a cloud-based data source?
A cloud-based data source stores data on remote infrastructure or an online service and makes it available through supported network connections and permissions.
Q2. Why connect Tableau to cloud data?
It allows users to analyze data stored on supported cloud platforms and create reports and dashboards without repeatedly exporting data manually.
Q3. Name some cloud data sources supported by Tableau.
Examples include Google BigQuery, Amazon Redshift, Snowflake, Salesforce, Azure SQL Database, and other sources listed in the supported connector documentation.
Q4. What is a connector?
A connector enables Tableau to communicate with a particular data platform using the required connection and authentication methods.
Q5. What is OAuth?
OAuth is an authorization framework that allows an application such as Tableau to access supported resources after a user authorizes the connection.
Q6. What is the difference between Live and Extract?
A Live connection queries the source as needed, while an Extract uses a saved snapshot that may need to be refreshed.
Q7. What is Tableau Bridge?
Tableau Bridge is a connectivity component that can help Tableau Cloud access supported data sources that are not directly accessible from the cloud service.
Q8. Why might a cloud connection fail?
Common causes include incorrect credentials, insufficient permissions, network restrictions, missing drivers, unsupported connectors, or expired authorization.
Q9. Can Tableau combine data from different cloud sources?
Yes, Tableau supports several ways to combine compatible sources, subject to connector and data-modeling limitations.
Q10. How can cloud dashboard performance be improved?
Review query complexity, data volume, calculations, network latency, source performance, and whether a suitable Extract is appropriate.
19. Quick Revision Checklist
- Understand cloud-based data sources and their business uses.
- Identify common cloud databases and online applications.
- Locate and select the correct Tableau connector.
- Prepare the required account and connection details.
- Understand authentication and OAuth authorization.
- Choose the correct dataset, database, or table.
- Validate fields, data types, and data quality.
- Understand Live connections and Extracts.
- Learn the role of Tableau Bridge for applicable private-network sources.
- Configure supported refresh workflows.
- Follow security and access-control best practices.
- Troubleshoot authentication, network, connector, and refresh problems.
20. Useful Resources
21. Conclusion
Connecting to cloud-based data sources is an important Tableau skill for modern data analysis. By learning how to select supported connectors, authenticate securely, access datasets, choose Live or Extract connections, configure refresh workflows, and troubleshoot common issues, you can create useful visualizations and interactive business dashboards from cloud data.
Continue learning with JustAcademy Tableau Training. To explore the course, register for a Tableau Course Demo.