Skip to main content
This integration method is maintained but no longer actively developed. For the best experience and latest features, use our new AI Gateway with unified API access to 100+ models.
1

Create an account + Generate an API Key

Log into helicone or create an account. Once you have an account, you can generate an API key.
2

Set required API keys as environment variables

3

Initialize your LLM with Helicone

4

Add custom properties to your requests

You can add custom properties to your LangGraph agent invocations when calling invoke():
These properties will appear in your Helicone dashboard for filtering and analytics.

Complete Working Examples

OpenAI Example

Anthropic Example