> ## Documentation Index
> Fetch the complete documentation index at: https://docs.langtrace.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# LlamaIndex

> Langtrace and LlamaIndex Integration Guide

Langtrace integrates directly with [LlamaIndex](https://www.llamaindex.ai/), offering detailed, real-time insights into performance metrics such as accuracy, evaluations, and latency.

<iframe width="560" height="315" src="https://www.youtube.com/embed/pM4tp87UJHQ?si=kxHuLBouMk-ZV32T" title="Langtrace and LlamaIndex Integration" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />

## Setup

1. Install Langtrace's SDK and [initialize](/quickstart) the SDK in your code.

## Usage

Here's a quick example of how to use Langtrace with LlamaIndex:

* [Python Notebook](https://github.com/Scale3-Labs/langtrace-docs/blob/main/langtrace-examples/llamaindex_essay/starter.py.ipynb)

* [Google Collab](https://colab.research.google.com/drive/17idHNPB7BLSUZXcDAU6I5fqEHcPl0k-v?usp=sharing)
