> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/iii-hq/sdk/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

> Install the III SDK for Rust

## Prerequisites

* Rust 1.85 or later
* Tokio async runtime

## Add to your project

Add the III SDK to your `Cargo.toml`:

```toml theme={null}
[dependencies]
iii-sdk = "0.4.1"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
serde_json = "1"
```

## Optional Features

### OpenTelemetry Integration

To enable distributed tracing, metrics, and logging with OpenTelemetry:

```toml theme={null}
[dependencies]
iii-sdk = { version = "0.4.1", features = ["otel"] }
```

The `otel` feature enables:

* Distributed tracing with W3C Trace Context propagation
* Metrics export (counters, gauges, histograms)
* Structured logging export
* HTTP request instrumentation
* Automatic trace context propagation across function calls

## Verify Installation

Create a simple test to verify the SDK is working:

```rust theme={null}
use iii_sdk::III;

#[tokio::main]
async fn main() {
    let iii = III::new("ws://localhost:49134");
    println!("III SDK initialized successfully");
}
```

## Next Steps

<Card title="Quickstart" icon="rocket" href="/rust/quickstart">
  Build your first III application in minutes
</Card>
