Auxia
  • Welcome!
  • Quick Start
    • Getting Started
      • Step 1: Ingesting your data
      • Step 2: Integrating Auxia into your product
      • Step 3: Defining your model objective
      • Step 4: Creating your first treatment
      • Step 5: Measuring success
        • Interactions
        • Engagement
  • Data Ingestion
    • Overview
      • User event data
      • User attributes
    • Data Connections
      • Google BigQuery
      • Amazon S3
      • Amplitude
        • Batch with Export API
        • Streaming with Google Pub/Sub
  • Deploying Auxia
    • Deploying with Auxia's API
      • Making your first call
      • Tracking interactions
      • Surfaces and types
      • Contextual attributes for real-time distribution
    • Delivery Integrations
      • Braze
  • API Reference
    • Get Treatments
    • Log Treatment Interactions
  • Treatment Management
Powered by GitBook
On this page
  • Sharing a BigQuery Dataset with Auxia
  • Step 1
  • Step 2
  • Step 3
  • Step 4
  • Step 5
  • Ingesting user attributes
  • Step 1: Navigate to your table
  • Step 2: Set 'enable_change_history=TRUE'
  • Step 3: Validate the option list and contact Auxia
  1. Data Ingestion
  2. Data Connections

Google BigQuery

PreviousData ConnectionsNextAmazon S3

Last updated 3 months ago

Auxia's integration leverages GCP's control to pull in any relevant table for highly granular user targeting, feature creation, model training, and performance measurement.

Sharing a BigQuery Dataset with Auxia

Time required: <10 minutes

Step 1

Login to the GCP console and navigate to the BigQuery.

Step 2

Navigate to the dataset that needs to be shared. You can use the search pane on the left side bar.

Step 3

Click “Sharing”, and then “Permissions”.

Step 4

Click “Add Principal”.

Step 5

Add Auxia’s service account with the “BigQuery Data Viewer” role and click “Save”.

bigquery-data-transfer@auxia-gcp.iam.gserviceaccount.com

Once this step is completed, click save and a member of the Auxia team will reach out to you to proceed with next steps.

Ingesting user attributes

Step 1: Navigate to your table

Step 2: Set 'enable_change_history=TRUE'

// Remember to swap 'your-table-name' with the name of your BigQuery table
  CREATE TABLE `your-table-name` (
  product STRING,
  inventory INT64)
OPTIONS(enable_change_history=TRUE);

Step 3: Validate the option list and contact Auxia

Once you've validated the enable_change_history label is set toTRUE within the table, please notify your Auxia POC.

// Some code

To begin ingesting user attributes, please ensure you have completed to structure your attributes table into rows or columns. Once you have completed the steps above to share the relevant Bigquery dataset or specific table with Auxia's service account, please complete the following steps:

To proceed with the ingestion process, each table that's being ingested needs to have . You can do this by running the following command below.

This is necessary because Auxia uses either the or the to ingest the data incrementally for efficient and real-time feature creation.

enable_change_history=TRUE
'CHANGES' table-valued function
'APPENDS' table-valued function
IAM access
Page cover image
the steps here