LeveredDocs
Manual Setup

Choose a warehouse

Levered trains on exposure and reward events. The events are stored in your own data warehouse (data warehouse native) or in a warehouse that Levered hosts (Managed Warehouse).

Levered trains the model on two kinds of events. An exposure records which variant a user saw. A reward records what the user did. The events are stored in one of two places:

Data warehouse nativeManaged Warehouse
Where the events are storedYour BigQuery, Snowflake or PostgresA warehouse that Levered hosts
How the events get thereYour existing pipelineThe ingestion API of Levered
What Levered accessesYour tables, with read-only access at training timeThe events that the app sends
Main advantageControl over the data and follow-up analysisShort setup

Setup with an Agent uses the Managed Warehouse, unless the organization already has a warehouse connected.

Data warehouse native

Levered connects to your warehouse with a read-only user and reads exposures and rewards with SQL at training time. The raw events stay in your warehouse.

  • Control. The events stay in your infrastructure and under your access rules.
  • Follow-up analysis. The exposures are stored next to your other data. Join them with revenue or retention data, or reproduce the holdout test.
  • Existing pipeline. Log exposures with the tools that are already in use, for example Segment, RudderStack or direct inserts. Each event that is already recorded can be used as a reward.

The setup requires a read-only connection, an exposures table that the app logs to, and a metric written as SQL against your tables.

After connecting the warehouse, set up the data pipeline to create the tables that Levered reads.

Managed Warehouse

Levered hosts the warehouse. The app sends exposures and rewards to the ingestion API of Levered with an API key, and training reads the events from there.

  • Short setup. The setup requires no warehouse connection, no access grants and no tables.
  • One integration. The same API receives exposures and rewards.

The setup requires turning on the Managed Warehouse in the dashboard, an API key that is stored on your server, and a call to the ingestion API for each exposure and each reward.

The results are available in the dashboard, the CLI and the API. The events in the Managed Warehouse cannot be queried with your own SQL or joined with data outside Levered.