Documentation Index
Fetch the complete documentation index at: https://private-7c7dfe99-page-updates.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Creating your first BigQuery ClickPipe
You can sign up for the Private Preview waitlist here.
Pre-requisites
- You must have privileges to manage service accounts and IAM roles in your GCP project, or get assistance from an administrator. We recommend creating a dedicated service account with the minimum required set of permissions following the official documentation.
- The initial load process requires a user-provided Google Cloud Storage (GCS) bucket for staging. We recommend creating a dedicated bucket for your ClickPipe following the official documentation. In the future, the intermediary bucket will be provided and managed by ClickPipes.
Select the data source
1. In ClickHouse Cloud, select Data sources in the main navigation menu and click Create ClickPipe.2. Click the BigQuery tile.Setup your ClickPipe connection
To setup a new ClickPipe, you must provide details on how to connect to and authenticate with your BigQuery data warehouse, as well as a staging GCS bucket.1. Upload the.json key for the service account you created for ClickPipes. Ensure the service account has the minimum required set of permissions.2. Select the Replication method. In Private Preview, the only supported option is Initial load only.3. Provide the path to the GCS bucket for staging data during the initial load.4. Click Next to validate.Configure your ClickPipe
Depending on the size of your BigQuery dataset, or the total size of the tables you want to sync, you might need to adjust the default ingestion settings for the ClickPipe.Configure tables
1. Select the ClickHouse database where you want the BigQuery tables to be replicated to. You can select an existing database or create a new one.2. Select the tables and, optionally, the columns you want to replicate. Only datasets that the provided service account has access to will be listed.3. For each selected table, make sure to define a custom sorting key under Advanced settings > Use a custom sorting key. In the future, the sorting key will be automatically inferred based on existing clustering or partitioning keys in the upstream database.Configure permissions
Finally, you can configure permissions for the internal ClickPipes user.Permissions: ClickPipes will create a dedicated user for writing data into a destination table. You can select a role for this internal user using a custom role or one of the predefined roles:Full access: full access to the cluster. Required if you use materialized views or dictionary with the destination table.Only destination: insert permissions to the destination table only.