{"componentChunkName":"component---src-templates-markdown-template-jsx","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/gcp-bigquery-export/","result":{"data":{"pageMetadata":{"title":"GCP BigQuery Export","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/gcp-bigquery-export/","sourceCode":null,"metadataParent":{"title":"Data Warehouses and Data Lakes","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/","sourceCode":null,"hasVersionPicker":null,"metadataChildren":[{"title":"Advanced Data Warehouse Settings","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/advanced-data-warehouse-settings/","order":5.1,"label":null},{"title":"AWS Kinesis (Snowplow)","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/aws-kinesis/","order":5.1,"label":null},{"title":"AWS Redshift (Define Your Own Schema)","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/aws-redshift/","order":5.2,"label":null},{"title":"AWS S3 Integration (Define Your Own Schema)","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/aws-s3-define-schema/","order":5.3,"label":null},{"title":"AWS S3 (Snowplow Schema)","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/aws-s3-snowplow/","order":5.3,"label":null},{"title":"BigQuery (Snowplow Schema)","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/bigquery-snowplow-schema/","order":5.4,"label":null},{"title":"BigQuery Firebase Schema","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/bigquery-firebase-schema/","order":5.5,"label":null},{"title":"BigQuery (Define Your Own Schema)","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/bigquery-define-schema/","order":5.6,"label":null},{"title":"GCP BigQuery Export","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/gcp-bigquery-export/","order":5.7,"label":null},{"title":"Snowflake (Snowplow Schema)","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/snowflake-snowplow-schema/","order":5.8,"label":null},{"title":"Snowplow Schema Overview","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/snowplow-schema/","order":5.8,"label":null},{"title":"Snowflake (Define Your Own Schema)","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/snowflake-define-schema/","order":5.9,"label":null}],"metadataParent":{"title":"Developer Docs","path":"/guides/analytics/analytics-deprecated/developer-docs/","metadataChildren":[{"title":"Introduction","path":"/guides/analytics/analytics-deprecated/developer-docs/introduction/","order":1,"label":null},{"title":"Integrations","path":"/guides/analytics/analytics-deprecated/developer-docs/integrations/","order":4,"label":null},{"title":"Data Warehouses and Data Lakes","path":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/","order":5,"label":null},{"title":"APIs","path":"/guides/analytics/analytics-deprecated/developer-docs/apis/","order":6,"label":null},{"title":"SDKs","path":"/guides/analytics/analytics-deprecated/developer-docs/sdks/","order":6,"label":null},{"title":"Developer Basics","path":"/guides/analytics/analytics-deprecated/developer-docs/developer-basics/","order":7,"label":null}],"metadataParent":{"title":"Analytics (Deprecated)","path":"/guides/analytics/analytics-deprecated/","metadataChildren":[{"title":"Introduction","path":"/guides/analytics/analytics-deprecated/introduction/","order":1.1,"label":null},{"title":"Developer Docs","path":"/guides/analytics/analytics-deprecated/developer-docs/","order":4,"label":null},{"title":"Identity Providers","path":"/guides/analytics/analytics-deprecated/identity-providers/","order":null,"label":null},{"title":"Settings","path":"/guides/analytics/analytics-deprecated/settings/","order":null,"label":null}],"metadataParent":{"title":"Analytics","path":"/guides/analytics/","metadataChildren":[{"title":"Introduction","path":"/guides/analytics/introduction/","order":1,"label":null},{"title":"Core Analytics (Beta)","path":"/guides/analytics/core-analytics/","order":1.1,"label":null},{"title":"Analytics Free Trial","path":"/guides/analytics/analytics-free-trial/","order":2,"label":null},{"title":"Setup","path":"/guides/analytics/setup/","order":3,"label":null},{"title":"Settings","path":"/guides/analytics/settings/","order":4,"label":null},{"title":"Analytics Data Manager","path":"/guides/analytics/data-manager/","order":5,"label":null},{"title":"Analyses","path":"/guides/analytics/analyses/","order":6,"label":null},{"title":"Query Builder","path":"/guides/analytics/query-builder/","order":6,"label":null},{"title":"User Aliasing","path":"/guides/analytics/user-aliasing/","order":7,"label":null},{"title":"Dashboards","path":"/guides/analytics/dashboards/","order":8,"label":null},{"title":"Analytics Resources","path":"/guides/analytics/resources/","order":10,"label":null},{"title":"User Segments","path":"/guides/analytics/user-segments/","order":10,"label":null},{"title":"Tutorials","path":"/guides/analytics/tutorials/","order":11,"label":null},{"title":"APIs","path":"/guides/analytics/apis/","order":12,"label":null},{"title":"Analytics (Deprecated)","path":"/guides/analytics/analytics-deprecated/","order":13,"label":null}],"metadataParent":{"title":"Guides","path":"/guides/","metadataChildren":[{"title":"Platform Overview","path":"/guides/platform-overview/","order":0.5,"label":null},{"title":"Getting Started","path":"/guides/getting-started/","order":1,"label":null},{"title":"mParticle Agent","path":"/guides/mparticle-agent/","order":1.5,"label":null},{"title":"Oversight","path":"/guides/oversight/","order":2,"label":null},{"title":"Data Platform","path":"/guides/data-platform/","order":3,"label":null},{"title":"Data Warehouse","path":"/guides/data-warehouse/","order":4,"label":null},{"title":"Customer 360","path":"/guides/customer-360/","order":5,"label":null},{"title":"Analytics","path":"/guides/analytics/","order":6,"label":null},{"title":"Audiences","path":"/guides/audiences/","order":7,"label":null},{"title":"Settings","path":"/guides/settings/","order":8,"label":null},{"title":"Troubleshooting mParticle","path":"/guides/troubleshooting/","order":10,"label":null},{"title":"Default Service Limits","path":"/guides/default-service-limits/","order":11,"label":null},{"title":"Glossary","path":"/guides/glossary/","order":12,"label":null}]}}}}}},"markdownRemark":{"html":"<aside class=\"warning\">\n<strong>Analytics Sunset</strong><br />\nWe began sunsetting mParticle Analytics on October 1, 2026. As a result, the features and workflows described on this page may no longer be available. This documentation is retained for reference. If you have questions about how this change affects your account, contact your mParticle account representative.\n</aside>\n<aside>\nNote: The information in this section pertains to legacy Analytics customers only. mParticle customers should refer to the <a href=\"/guides/data-warehouse/warehouse-sync/setup/\">Warehouse Sync Guide</a> to ingest data from third-party warehouses using mParticle's reverse-ETL solution.\n</aside>\n<p>Analytics for BigQuery is a fully managed data warehousing service that encapsulates the effort required to fully support, maintain and load your Analytics data into BigQuery. Because there is no infrastructure to manage, you can focus on analyzing data to find meaningful insights. The modern and infinitely scalable data warehouse provided by BigQuery combined with the enriched data from Analytics allows you to leverage additional value from your investment through a built-in SQL interface.</p>\n<p>The BigQuery Export Integration provided by Analytics allows customers to easily export their raw Analytics data to BigQuery for further analysis via a SQL interface. This data does not undergo any additional enrichment, including identity resolution. The BigQuery Export Integration does not include derived properties, such as IP address or IP address-based location information. The purpose of this section is to provide an overview of how Analytics loads raw data into BigQuery and what customers need to provide to configure and maintain the integration.</p>\n<p>This document is intended for customers who are familiar with both Google <a href=\"https://cloud.google.com/bigquery/\">BigQuery</a> and the Analytics data model.</p>\n<h3 id=\"getting-started\" style=\"position:relative;\"><a href=\"#getting-started\" aria-label=\"getting started permalink\" class=\"anchor before\"><svg width=\"16px\" height=\"17px\" viewBox=\"0 0 16 17\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n                <g id=\"Symbols\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n                    <g id=\"Icon/Link\" fill=\"#98A0A3\" fill-rule=\"nonzero\">\n                        <g id=\"link\">\n                            <path d=\"M9.5,12.4 C9.6,12.4 9.7,12.4 9.9,12.4 C9.8,12.5 9.8,12.5 9.7,12.6 L7.5,14.8 C5.8,16.5 3,16.5 1.3,14.8 C-0.4,13.1 -0.4,10.3 1.3,8.6 L3.5,6.4 C3.6,6.3 3.6,6.3 3.7,6.2 C5,5 6.9,4.8 8.4,5.5 C8.8,5.7 9.3,6 9.6,6.4 C10,6.7 10.2,7.2 10.5,7.6 C10.2,7.9 9.9,8 9.5,8 C9.4,8 9.2,8 9.1,7.9 C8.9,7.5 8.5,7.2 8.1,6.9 C7,6.2 5.5,6.4 4.5,7.3 L3.8,8 L2.3,9.5 C1.2,10.6 1.2,12.5 2.3,13.6 C3.4,14.7 5.3,14.7 6.4,13.6 L7.9,12.1 C8.4,12.3 8.9,12.4 9.5,12.4 Z M14.7,1.3 C13,-0.4 10.2,-0.4 8.5,1.3 L6.3,3.5 C6.2,3.6 6.2,3.6 6.1,3.7 C6.7,3.7 7.4,3.7 8,3.9 L9.5,2.4 C10.6,1.3 12.5,1.3 13.6,2.4 C14.7,3.5 14.7,5.4 13.6,6.5 L12.1,8 L11.4,8.7 C10.4,9.7 8.9,9.8 7.8,9.1 C7.4,8.9 7.1,8.5 6.8,8.1 C6.7,8.1 6.5,8 6.4,8 C6,8 5.6,8.2 5.4,8.4 C5.6,8.8 5.9,9.3 6.3,9.6 C6.6,10 7.1,10.2 7.5,10.5 C9,11.2 10.9,11 12.3,9.8 C12.4,9.7 12.4,9.7 12.5,9.6 L14.7,7.4 C16.4,5.7 16.4,3 14.7,1.3 Z\" id=\"Shape\"></path>\n                        </g>\n                    </g>\n                </g>\n            </svg></a>Getting Started</h3>\n<p>In order to use the BigQuery Export Integration for Analytics, the customer must provide programmatic BigQuery access to the Analytics Platform. The customer is required to grant dataViewer BigQuery access to Analytics.</p>\n<p>In order to perform the following steps you must have administrative access to the BigQuery Console as well as your BigQuery database.</p>\n<h3 id=\"create-a-bigquery-dataset-optional\" style=\"position:relative;\"><a href=\"#create-a-bigquery-dataset-optional\" aria-label=\"create a bigquery dataset optional permalink\" class=\"anchor before\"><svg width=\"16px\" height=\"17px\" viewBox=\"0 0 16 17\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n                <g id=\"Symbols\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n                    <g id=\"Icon/Link\" fill=\"#98A0A3\" fill-rule=\"nonzero\">\n                        <g id=\"link\">\n                            <path d=\"M9.5,12.4 C9.6,12.4 9.7,12.4 9.9,12.4 C9.8,12.5 9.8,12.5 9.7,12.6 L7.5,14.8 C5.8,16.5 3,16.5 1.3,14.8 C-0.4,13.1 -0.4,10.3 1.3,8.6 L3.5,6.4 C3.6,6.3 3.6,6.3 3.7,6.2 C5,5 6.9,4.8 8.4,5.5 C8.8,5.7 9.3,6 9.6,6.4 C10,6.7 10.2,7.2 10.5,7.6 C10.2,7.9 9.9,8 9.5,8 C9.4,8 9.2,8 9.1,7.9 C8.9,7.5 8.5,7.2 8.1,6.9 C7,6.2 5.5,6.4 4.5,7.3 L3.8,8 L2.3,9.5 C1.2,10.6 1.2,12.5 2.3,13.6 C3.4,14.7 5.3,14.7 6.4,13.6 L7.9,12.1 C8.4,12.3 8.9,12.4 9.5,12.4 Z M14.7,1.3 C13,-0.4 10.2,-0.4 8.5,1.3 L6.3,3.5 C6.2,3.6 6.2,3.6 6.1,3.7 C6.7,3.7 7.4,3.7 8,3.9 L9.5,2.4 C10.6,1.3 12.5,1.3 13.6,2.4 C14.7,3.5 14.7,5.4 13.6,6.5 L12.1,8 L11.4,8.7 C10.4,9.7 8.9,9.8 7.8,9.1 C7.4,8.9 7.1,8.5 6.8,8.1 C6.7,8.1 6.5,8 6.4,8 C6,8 5.6,8.2 5.4,8.4 C5.6,8.8 5.9,9.3 6.3,9.6 C6.6,10 7.1,10.2 7.5,10.5 C9,11.2 10.9,11 12.3,9.8 C12.4,9.7 12.4,9.7 12.5,9.6 L14.7,7.4 C16.4,5.7 16.4,3 14.7,1.3 Z\" id=\"Shape\"></path>\n                        </g>\n                    </g>\n                </g>\n            </svg></a>Create a BigQuery Dataset (Optional)</h3>\n<ol>\n<li>Open the BigQuery web UI in the <a href=\"https://console.cloud.google.com/bigquery\">GCP Console</a>.</li>\n<li>In the navigation panel, in the <strong>Resources</strong> section, select your project.</li>\n<li>On the right side of the window, in the details panel, click <strong>Create dataset</strong>.</li>\n<li>\n<p>On the <strong>Create dataset</strong> page:</p>\n<ul>\n<li>For <strong>Dataset ID</strong>, enter a unique dataset <a href=\"https://cloud.google.com/bigquery/docs/datasets#dataset-naming\">name</a>.</li>\n<li>(Optional) For <strong>Data location</strong>, choose a geographic <a href=\"https://cloud.google.com/bigquery/docs/locations\">location</a> for the dataset. If you leave the value set to <strong>Default</strong>, the location is set to <code class=\"language-text\">US</code>. After a dataset is created, the location can’t be changed.</li>\n<li>\n<p>For <strong>Default table expiration</strong>, choose one of the following options:</p>\n<ul>\n<li><strong>Never:</strong> (Default) Tables created in the dataset are never automatically deleted. You must delete them manually.</li>\n<li><strong>Number of days after table creation:</strong> This value determines when a newly created table in the dataset is deleted. This value is applied if you do not set a table expiration when the table is created.</li>\n</ul>\n</li>\n<li>Click <strong>Create dataset</strong>.</li>\n</ul>\n</li>\n</ol>\n<h3 id=\"share-your-dataset-with-analytics\" style=\"position:relative;\"><a href=\"#share-your-dataset-with-analytics\" aria-label=\"share your dataset with analytics permalink\" class=\"anchor before\"><svg width=\"16px\" height=\"17px\" viewBox=\"0 0 16 17\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n                <g id=\"Symbols\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n                    <g id=\"Icon/Link\" fill=\"#98A0A3\" fill-rule=\"nonzero\">\n                        <g id=\"link\">\n                            <path d=\"M9.5,12.4 C9.6,12.4 9.7,12.4 9.9,12.4 C9.8,12.5 9.8,12.5 9.7,12.6 L7.5,14.8 C5.8,16.5 3,16.5 1.3,14.8 C-0.4,13.1 -0.4,10.3 1.3,8.6 L3.5,6.4 C3.6,6.3 3.6,6.3 3.7,6.2 C5,5 6.9,4.8 8.4,5.5 C8.8,5.7 9.3,6 9.6,6.4 C10,6.7 10.2,7.2 10.5,7.6 C10.2,7.9 9.9,8 9.5,8 C9.4,8 9.2,8 9.1,7.9 C8.9,7.5 8.5,7.2 8.1,6.9 C7,6.2 5.5,6.4 4.5,7.3 L3.8,8 L2.3,9.5 C1.2,10.6 1.2,12.5 2.3,13.6 C3.4,14.7 5.3,14.7 6.4,13.6 L7.9,12.1 C8.4,12.3 8.9,12.4 9.5,12.4 Z M14.7,1.3 C13,-0.4 10.2,-0.4 8.5,1.3 L6.3,3.5 C6.2,3.6 6.2,3.6 6.1,3.7 C6.7,3.7 7.4,3.7 8,3.9 L9.5,2.4 C10.6,1.3 12.5,1.3 13.6,2.4 C14.7,3.5 14.7,5.4 13.6,6.5 L12.1,8 L11.4,8.7 C10.4,9.7 8.9,9.8 7.8,9.1 C7.4,8.9 7.1,8.5 6.8,8.1 C6.7,8.1 6.5,8 6.4,8 C6,8 5.6,8.2 5.4,8.4 C5.6,8.8 5.9,9.3 6.3,9.6 C6.6,10 7.1,10.2 7.5,10.5 C9,11.2 10.9,11 12.3,9.8 C12.4,9.7 12.4,9.7 12.5,9.6 L14.7,7.4 C16.4,5.7 16.4,3 14.7,1.3 Z\" id=\"Shape\"></path>\n                        </g>\n                    </g>\n                </g>\n            </svg></a>Share Your Dataset with Analytics</h3>\n<ol>\n<li>In the menu panel along the left side of your BigQuery instance, under <strong>Resources</strong>, click on the triangle to the left of your project name to expand the view. This will display the available datasets.</li>\n<li>Select a dataset from <strong>Resources</strong>, then click <strong>Share Dataset</strong> near the right side of the window.</li>\n</ol>\n<p><img src=\"/images/guides/analytics-deprecated/data-warehouses-lakes/share_dataset.png\" alt=\"share_dataset.png\"></p>\n<ol start=\"3\">\n<li>In the <strong>Share dataset</strong> panel, in the <strong>Dataset permissions</strong> tab, click <strong>Add members</strong>.</li>\n<li>In the <strong>Add members</strong> panel, enter ” <a href=\"mailto:event-stream@indicative-production.iam.gserviceaccount.com\">event-stream@indicative-production.iam.gserviceaccount.com</a> ” into the <strong>New members</strong> text box.</li>\n<li>For <strong>Select a role</strong>, select <strong>BigQuery</strong> and choose <strong>bigquery.dataEditor</strong>.</li>\n<li>Click <strong>Done</strong>.</li>\n<li>\n<p>Contact your account manager with the following information once you have granted Analytics ‘bigquery.dataViewer’ access:</p>\n<ul>\n<li><strong>ProjectId</strong>: the Analytics project ID to export</li>\n<li><strong>BQProject</strong>: the GCP project name to write data into</li>\n<li><strong>BQDataset</strong>: the BQ dataset name to write data into</li>\n</ul>\n</li>\n</ol>","frontmatter":{"title":"GCP BigQuery Export","order":5.7,"seoTitle":null,"seoDescription":null},"parent":{"__typename":"File","modifiedTime":"October 12, 2026"}}},"pageContext":{"slug":"/guides/analytics/analytics-deprecated/developer-docs/data-warehouses-lakes/gcp-bigquery-export/"}},"staticQueryHashes":["2950460867"]}