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

# Installation

> Install the Gentrace SDK for OpenTelemetry integration

<Tabs>
  <Tab title="TypeScript">
    <CodeGroup>
      ```bash npm theme={null}
      npm install gentrace
      ```

      ```bash yarn theme={null}
      yarn add gentrace
      ```

      ```bash pnpm theme={null}
      pnpm add gentrace
      ```
    </CodeGroup>

    <Note>
      **OpenTelemetry Dependencies**: Modern package managers (npm 7+, yarn 2+, pnpm) will automatically install all required OpenTelemetry peer dependencies. If you need to install them manually, see the [OpenTelemetry setup guide](../reference/opentelemetry-guide).
    </Note>
  </Tab>

  <Tab title="Python">
    ```bash theme={null}
    pip install gentrace-py
    ```
  </Tab>
</Tabs>

## Package Information

The Gentrace SDK is available for multiple languages:

**TypeScript**

* **Package**: [gentrace](https://www.npmjs.com/package/gentrace)
* **Status**: Alpha release
* **Repository**: [GitHub](https://github.com/gentrace/gentrace-node)
* **Requirements**:
  * Node.js 20+
  * npm, yarn, or pnpm package manager

**Python**

* **Package**: [gentrace-py (pre-release)](https://pypi.org/project/gentrace-py/#history)
* **Status**: Alpha release
* **Repository**: [GitHub](https://github.com/gentrace/gentrace-python)
* **Requirements**:
  * Python 3.7+
  * pip, poetry, or [uv](https://github.com/astral-sh/uv) package manager (uv recommended)

## Next Steps

After installation, you'll need to initialize the SDK with your API credentials:

1. [Initialize the SDK](./initialization) with your Gentrace API key
2. [Set up OpenTelemetry integration](../reference/opentelemetry-guide) for automatic tracing
3. Start using [traced functions](../tracing/traced) and [interactions](../tracing/interactions)

## Getting an API Key

Generate an API key by visiting [https://gentrace.ai/s/api-keys](https://gentrace.ai/s/api-keys)
