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

# Data ingestion overview

> What data Auxia needs, how to connect it, and the requirements every source must meet

Auxia uses your **first-party data** to train machine-learning models that predict, rank, and surface the best next action, content, surface, or offer for each of your users. Connecting that data is the first step of every Auxia integration.

## What data Auxia needs

| Data | What it includes | Guide |
| - | - | - |
| **User attributes** | Profile data such as country, language, plan, and registration date | [User attributes](https://docs.auxia.io/data-ingestion/what-data-is-needed.md#user-attributes) |
| **User events** | Interactions such as clicks, screen views, and browsing activity across your app or website | [User events](https://docs.auxia.io/data-ingestion/what-data-is-needed.md#user-events) |
| **Transaction events** | Purchases, with details such as order ID, amount, and the items bought | [Transaction events](https://docs.auxia.io/data-ingestion/what-data-is-needed.md#transaction-events) |
| **Item attributes** | Details of the things users interact with, rather than the users themselves — such as a product's category, price, and discount, or an offer's start and end date | [Item attributes](https://docs.auxia.io/data-ingestion/what-data-is-needed.md#item-attributes) |

## How to connect your data

Pick the connector for where your data lives. **Self-serve** connectors are set up in the Auxia Console with a guided wizard; **assisted** connectors are set up together with the Auxia team.

> [card] [Google BigQuery](https://docs.auxia.io/data-ingestion/data-connections/google-bigquery.md)
>
> Self-serve

> [card] [Google Cloud Storage](https://docs.auxia.io/data-ingestion/data-connections/google-cloud-storage.md)
>
> Self-serve

> [card] [Amazon S3](https://docs.auxia.io/data-ingestion/data-connections/amazon-s3.md)
>
> Self-serve

[See all connectors →](https://docs.auxia.io/data-ingestion/data-connections.md)

Every connector follows the same path: **connect** your source, **map** your columns to Auxia's schema, then **monitor** the sync in Data Health. [How ingestion works →](https://docs.auxia.io/data-ingestion/concepts/how-ingestion-works.md)

## Source data requirements

These requirements apply to every connector. Meeting them up front is the most reliable way to a smooth setup.

### 1. Append-only data

Auxia reads new data on a schedule and doesn't capture deletes or in-place updates. Sources should be **append-only**: avoid `UPDATE`, `DELETE`, and `MERGE` on tables connected to Auxia, and never overwrite files.

If you need to mutate data in your warehouse, keep a separate append-only table for Auxia.

### 2. Date partitioning

Partition tables by a date or timestamp column at **day** granularity — or, for files, write each day into its own [date folder](https://docs.auxia.io/data-ingestion/concepts/file-sources.md#date-folders). Partitioning lets Auxia read only new data instead of rescanning everything. For BigQuery tables, it's also required for incremental (new rows only) syncs. File sources read one date folder per run.

### 3. Append-based reads for large tables

For BigQuery tables, Auxia prefers reading only newly appended rows. A table that adds more than **1 TB per day** must support this, which means it must be a **native table**.

### 4. Native tables preferred over views

Native tables can sync incrementally. Views are supported, but always sync as a daily full refresh, which is slower and costlier for large data.

### 5. A primary user ID

User-level tables (events, attributes, transactions) need a column that uniquely identifies a person. This **primary user ID** is how Auxia knows which user to serve a treatment to — across your app, website, email, push notifications, and every other channel. It should match the `userId` you pass to the [Get Treatments](https://docs.auxia.io/api-reference/get-treatments.md) API.

Not every table needs one. **Entity tables** (product catalogs, content libraries, location data) describe things rather than users.

See [Understanding the primary user ID](https://docs.auxia.io/data-ingestion/concepts/map-your-data.md#understanding-the-primary-user-id) for how to choose it.

## Next steps

> [card] [How ingestion works](https://docs.auxia.io/data-ingestion/concepts/how-ingestion-works.md)
>
> The Transfer, Transform, and Process stages

> [card] [What data is needed](https://docs.auxia.io/data-ingestion/what-data-is-needed.md)
>
> The four kinds of data Auxia uses, with examples


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.