How to load data from BigQuery to Convex
Learn how to use Airbyte to synchronize your BigQuery data into Convex within minutes.


Building your pipeline or Using Airbyte
Airbyte is the only open source solution empowering data teams to meet all their growing custom business demands in the new AI era.
- Inconsistent and inaccurate data
- Laborious and expensive
- Brittle and inflexible
- Reliable and accurate
- Extensible and scalable for all your needs
- Deployed and governed your way
Start syncing with Airbyte in 3 easy steps within 10 minutes



Take a virtual tour
Demo video of Airbyte Cloud
Demo video of AI Connector Builder
Setup Complexities simplified!
Simple & Easy to use Interface
Airbyte is built to get out of your way. Our clean, modern interface walks you through setup, so you can go from zero to sync in minutes—without deep technical expertise.
Guided Tour: Assisting you in building connections
Whether you’re setting up your first connection or managing complex syncs, Airbyte’s UI and documentation help you move with confidence. No guesswork. Just clarity.
Airbyte AI Assistant that will act as your sidekick in building your data pipelines in Minutes
Airbyte’s built-in assistant helps you choose sources, set destinations, and configure syncs quickly. It’s like having a data engineer on call—without the overhead.
What sets Airbyte Apart
Modern GenAI Workflows
Move Large Volumes, Fast
An Extensible Open-Source Standard
Full Control & Security
Fully Featured & Integrated
Enterprise Support with SLAs
What our users say

Raman Singh
Predictable, straightforward pricing model that simplified budgeting and significantly reduced overall spend

Chase Zieman

“Airbyte helped us accelerate our progress by years, compared to our competitors. We don’t need to worry about connectors and focus on creating value for our users instead of building infrastructure. That’s priceless. The time and energy saved allows us to disrupt and grow faster.”

Rupak Patel
"With Airbyte, we could just push a few buttons, allow API access, and bring all the data into Google BigQuery. By blending all the different marketing data sources, we can gain valuable insights."
How to Sync to Manually
Before you begin, clearly define which data you need to move from BigQuery to Convex. Understand the data schema, data types, and any transformations required during the transfer. This will help in planning the export and import processes effectively.
Use BigQuery's built-in export functionality to export the data. You can do this via the BigQuery console or using a SQL command. Export the data to Google Cloud Storage (GCS) in CSV format:
```sql
EXPORT DATA OPTIONS(
uri='gs://your-bucket-name/your-file-name-*.csv',
format='CSV',
overwrite=true
) AS
SELECT * FROM your_dataset.your_table;
```
This command exports the data to the specified GCS bucket.
Once the data is exported to GCS, download the CSV files to your local machine or a server where you can perform the next steps. You can use the `gsutil` command-line tool:
```
gsutil cp gs://your-bucket-name/your-file-name-*.csv /local/path/
```
Ensure the CSV files meet any specific formatting requirements needed for Convex. This might involve cleaning the data, ensuring proper encoding (e.g., UTF-8), and confirming the delimiter matches what Convex expects.
If not already set up, create a Convex project and establish an API endpoint to import data. This involves setting up a function in Convex that can handle the incoming data and insert it into the correct data structures.
Write a script in a language of your choice (e.g., Python, Node.js) to read the CSV files and send the data to the Convex API endpoint. Here"s a basic example in Python using requests:
```python
import csv
import requests
# Define your Convex API endpoint
CONVEX_API_ENDPOINT = "https://your-convex-endpoint/your-function"
# Function to upload data
def upload_to_convex(row):
response = requests.post(CONVEX_API_ENDPOINT, json=row)
if response.status_code != 200:
print(f"Failed to upload row: {row}")
else:
print(f"Successfully uploaded row: {row}")
# Read and upload CSV data
with open('/local/path/your-file-name.csv', newline='') as csvfile:
reader = csv.DictReader(csvfile)
for row in reader:
upload_to_convex(row)
```
After the data is uploaded, verify its integrity and accuracy. Check the Convex database to ensure that all records have been inserted correctly and that the data matches the source. This may involve running validation queries or checks in Convex.
By following these steps, you can efficiently move data from BigQuery to Convex without the need for third-party connectors or integrations.