[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-31。"],[],[],null,["# Tutorial: Create a BigQuery data source\n\nIn this lesson, you'll use the data source tool to build a connection to a BigQuery table. You can use the publicly available table described here, or substitute your own table.\n| **Important:** BigQuery is a paid product and you will incur BigQuery usage costs when accessing BigQuery through Looker Studio. To create a BigQuery data source, you'll need to [set up a billing project](/billing/docs/how-to/manage-billing-account?sjid=7792967446974699138-NC), if you don't already have one.\n\nStep 1: Connect to BigQuery\n---------------------------\n\nThe first step in creating a data source is to connect to your [dataset](/looker/docs/studio/dataset).\n\n1. [Sign in to Looker Studio.](https://lookerstudio.google.com)\n2. On the Looker Studio home page, in the top left, click **Create** , and then select **Data Source**.\n3. Select the **BigQuery** connector. The *Configuration* panel appears.\n4. Select **PUBLIC DATASETS.**\n5. For the **Dataset** , select `samples`.\n6. For the **Table,** select `shakespeare`.\n7. Select your **Billing Project.** \n8. Click **CONNECT.** The *Fields* panel appears. \n\nThe fields panel contains all the dimensions (in green) and metrics (in blue) from the dataset. You can fine-tune the data source by renaming or disabling fields, changing the data type, and more.\n\nStep 2: Rename your data source\n-------------------------------\n\nLooker Studio automatically names your data source the same as your dataset name. If you want to change that, click the name in the upper left and enter a new name.\n\nYou can also rename the data source later from the DATA SOURCES home page by clicking the context menu and selecting **Rename**.\n\nStep 3: Optional --- Share the data source\n------------------------------------------\n\nYou can let other editors add this data source to reports by sharing it with them.\n\n### To share a data source\n\n1. In the upper right, click **Share**.\n\n2. Enter the email addresses or Google Groups that you want to share with.\n\n3. For each person or group, select the access (permissions). Permissions determine what other people can do with the data source. Your choices are as follows:\n\n - **Can view**. People with this permission can view but not edit the data source.\n\n - **Can edit**. People with this permission can both view and edit the data source.\n\nIf you want to let other editors use this data source to create reports, you'll need to share it with them.\n\nThere are 2 aspects to sharing data sources:\n\n- **Granting access to the data set (credentials)**. By default, when you create a data source, Looker Studio uses your credentials to authorize access to the dataset. These credentials are stored securely and passed through by the data source to the underlying dataset. Other people can then view or create reports that use this data without requiring them to have their own access to the dataset.\n\n You can instead require each user of the data source and any reports built on it to provide their own credentials to the dataset. To do this:\n 1. Select the CONFIGURATION tab\n 2. Change the **Data source access** to **Viewer's Credentials**\n- Granting access to the data source (permissions). Permissions determine what other people can do with the data source. Your choices are:\n\n - **Can view**. People with this permission can view but not edit the data source.\n - **Can edit**. People with this permission can both view and edit the data source.\n\nThere are some important considerations to keep in mind when sharing data sources and reports. See the *Related resources* section below for links to more information.\n\nStep 4:Use this data source in reports\n--------------------------------------\n\nClick **Create Report** in the upper right.\n\nYou can now create reports that get their data from your BigQuery project.\n\nRelated resources\n-----------------\n\n- [BigQuery connector](/looker/docs/studio/connect-to-google-bigquery)\n- [Share a data source](/looker/docs/studio/ways-to-share-your-reports)\n- [Data source credentials](/looker/docs/studio/data-credentials)"]]