---
title: "init()"
description: "Call at the start of your code to initialize your variant"
---

:::warning
This page is for the deprecated SDK v2.
:::

`agenta.init()`

Initialize your variant.
You need to call this function once at the entry point of your code.
