Creating an Assignment Source
To create an assignment source, go to the data tab in Statsig and go to the Assignment Sources pane. An Assignment Source is defined as a SQL query and a mapping of the output columns to specific fields Statsig requires (user identifiers, atimestamp, an experiment identifier, and a group identifier).

Scanning Assignment Sources
Statsig scans assignment sources on-demand and/or on a schedule to find experiment data. These jobs are very quick and identify unique groups, the ID types present in the experiment, and the estimated of users per group. Once the scan is complete, you can view and create experiments from the Assignment source. The assignment’s experience will also populate the Experiment creation flow after the scan completes.Manage Assignment Sources
In the Assignment Source tab, you can see your Assignment sources and the experiments they’re being used in.
Example Data
For experiment assignment sources, Statsig requires information on who was exposed, when, and to what experiment:
For example, you could pull from exposure event logging directly: