# Tutorials

This section contains examples demonstrating how to use DBNL in various scenarios. Each example includes [working code](https://github.com/dbnlAI/examples), detailed explanations, and guidance on when to use each approach.

{% hint style="success" %}
All of these tutorials can be previewed in our [Read Only SaaS environment](https://docs.dbnl.com/v0.30.x/get-started/quickstart#explore-the-product-with-a-read-only-saas-account).
{% endhint %}

### ADK Calculator Tutorial

<figure><img src="https://content.gitbook.com/content/rsm4qOLTbARYHG7ZikPw/blobs/RUzxxoO7uTPlIjQwD0Nh/calc_demo_small_opt.gif" alt=""><figcaption></figcaption></figure>

The [ADK Calculator Tutorial](https://github.com/dbnlAI/examples/tree/main/adk_calculator_tutorial) provides a comprehensive walkthrough of building an end-to-end analytics pipeline:

* Generate OTEL traces from a Google ADK calculator agent
* Convert and augment trace data with computed metrics
* Upload multi-day trace data to DBNL
* Analyze agent behavior over time

### A/B Testing Tutorial

<figure><img src="https://content.gitbook.com/content/rsm4qOLTbARYHG7ZikPw/blobs/Fe63T7XlWQ239CONrq5U/ab_demo_small_opt.gif" alt=""><figcaption></figcaption></figure>

The [A/B Testing Tutorial](https://github.com/dbnlAI/examples/tree/main/ab_test_example) demonstrates how to compare agent versions:

* Upload traces from multiple agent versions with cohort labels
* Add comparison metrics like accuracy and error rates
* Use DBNL segmentation to analyze version differences
* Validate improvements before full rollout

## Repository

All example code is available in the [dbnlAI/examples](https://github.com/dbnlAI/examples) GitHub repository.
