---
# System prepended metadata

title: Setup

---

# Setup

1. Import `Experiment` and `Variant from` `ouisys-clients` ![](https://i.imgur.com/ybDpMlS.png) `import { Experiment, Variant } from "ouisys-clients/dist/clients/common-components/Optimize";`

2. The two higher order components can be used as seen below ![](https://i.imgur.com/M5ltKcO.png)

Variant with id `0` is considered the first variant. You can add as many variants as you want.
