Manual Setup
Overview
Set up an optimization manually.
This guide describes the manual setup of an optimization in six steps. The result is a live optimization that serves variants to users and learns from their reward data. To run the setup with a coding agent, see Setup with an Agent.
Prerequisites
- A Levered account. Sign up at app.levered.dev.
Setup flow
Levered trains on exposure and reward events. The events are stored in your own warehouse (data warehouse native) or in the Managed Warehouse that Levered hosts.
- Choose a warehouse. Connect your own warehouse with read-only access, or turn on the Managed Warehouse.
- Set up your data pipeline. Create the exposure and reward tables that Levered reads. This step applies to data warehouse native. With the Managed Warehouse, the app sends the events to the ingestion API.
- Define metrics. Write the SQL queries that define the reward.
- Create an optimization. Define the design factors, for example headline, CTA or layout, and link them to a metric.
- Integrate the SDK. Serve variants to users with the JavaScript SDK or the REST API.
- Test before launch. Check the user id, test the variants and the holdout with test users, and set the optimization live.
After the optimization is live, Levered trains the model on the events on a recurring schedule and shifts traffic toward the variants that perform better.
Next step
Start with Choose a warehouse.