Prerequisite Please see here to get and set your API Key environment variable.

Integrating with Helicone is as simple as updating your headers on your OpenAI client. See examples in JS and PY.

Then just use Helicone as normal and you’ll see your events in your Lytix dashboard under the name of the model you use.

User Identifier

You can also add the Helicone-User-Id to get userId information in your Lytix dashboard. This is useful if you want to see how a specific user is using your models.

You can now see the user identifier property in your Lytix dashboard.

EU Servers

If you are using the EU servers via Helicone. You will need to set the Helicone-Lytix-Host to https://eu.api.lytix.co.