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

# Schematized GCS Pipeline

<Note>
  Customers on an Enterprise or Growth plan can access Data Pipeline as an add-on package. See our [pricing page](https://mixpanel.com/pricing/) for more details.
</Note>

The Google Cloud Storage schema pipeline exports [transformed data](/docs/data-pipelines/old-pipelines/schematized-export-pipeline#transformation-rules) to a GCS bucket. This can be useful in case you want to export Mixpanel data into your own BigQuery instance.

To set up a schematized export pipeline to Google Cloud Storage (GCS) from Mixpanel, you must configure GCS to receive the exported data, then [create a pipeline](/reference/create-warehouse-pipeline) to export the data.

The following document summarizes the steps to edit GCS permissions so that it accepts the Mixpanel export, and provides an example request to create the pipeline.

## Configure GCS to Accept Mixpanel Data

Create a destination bucket, or use an existing one.

`export-upload@mixpanel-prod-1.iam.gserviceaccount.com` needs to be given a "Storage Object Admin" role on the bucket you are creating or intending to reuse for this purpose.

## Use the Data Pipelines API

After permissions have been granted, use the [Data Pipelines API](/reference/create-warehouse-pipeline) to create the pipeline. Here is an example request:

```sh cURL Example with Values theme={"system"}
curl https://data.mixpanel.com/api/2.0/nessie/pipeline/create \
-u API_SECRET: \
-d type="gcs-schema" \
-d from_date="2019-08-10" \
-d gcs_bucket="example-gcs-export" \
-d gcs_prefix="dwe" \
-d schema_type="multischema" \
-d gcs_region="us-east-2"
```
