Chat Ur Data Guide
HomeLogin
  • Chat Ur Data
  • Getting Started Guide
  • Connect your Own Data Sources
  • Use the API
  • Data Sources
    • BigQuery
    • Postgres
    • MySQL
    • MotherDuck (DuckDB)
    • Snowflake (Preview)
    • Redshift (Preview)
    • Azure Synapse (Coming Soon)
    • ClickHouse (Coming Soon)
    • Salesforce (Coming Soon)
  • AI Providers
    • OpenAI
Powered by GitBook
On this page
  • Prerequisites
  • Connect BigQuery to Chat Ur Data
  • FAQs
  1. Data Sources

BigQuery

PreviousUse the APINextPostgres

Last updated 1 year ago

Prerequisites

To connect BigQuery to Chat Ur Data, you need the following:

  • A BigQuery data warehouse

  • A Google Service Account with the following IAM permissions:

    • BigQuery Data Viewer

    • BigQuery Job User

    • BigQuery Metadata Viewer

Here are Google's instructions on how to set up a Service Account:

Connect BigQuery to Chat Ur Data

  1. Click on "Connect" or "More Options" from the main chat page

  1. Select BigQuery from the list

  1. Copy the json key from your BigQuery Service Account and paste it into the box

Your JSON key should look something like this:

{
  "type": "service_account",
  "project_id": "your_project",
  "private_key_id": "<long string>",
  "private_key": "-----BEGIN PRIVATE KEY-----\nREALLY LONG STRING\n-----END PRIVATE KEY-----\n",
  "client_email": "chaturdata@you-production.iam.gserviceaccount.com",
  "client_id": "<a number>",
  "auth_uri": "https://accounts.google.com/o/oauth2/auth",
  "token_uri": "https://oauth2.googleapis.com/token",
  "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
  "client_x509_cert_url": "long url",
  "universe_domain": "googleapis.com"
}

And you want to paste the entire thing into the Private_Key_JSON box:

  1. Click "Save" and Chat Ur Data will connect to your Data Warehouse and start training your first 10 tables automatically

FAQs

Can I use Google OAuth to connect?

This is on our roadmap but not available yet. Contact us at hello@chaturdata.com if you want to be a beta tester.

https://cloud.google.com/iam/docs/service-accounts-create