> ## Documentation Index
> Fetch the complete documentation index at: https://chainlit-5-wd-prompt.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

> Install the Literal client and get your API key

<CodeGroup>
  ```shell Python
  pip install literalai
  ```

  ```shell TypeScript
  npm i @literalai/client
  ```
</CodeGroup>

## Instantiate the Literal client

<CodeGroup>
  ```python Python
  import os
  from literalai import LiteralClient

  client = LiteralClient(api_key=os.getenv("LITERAL_API_KEY")) # This is the default and can be omitted
  ```

  ```typescript TypeScript
  import { LiteralClient } from '@literalai/client';

  const client = new LiteralClient(process.env['LITERAL_API_KEY']); // This is the default and can be omitted
  ```
</CodeGroup>

## How to get my API key?

To get your API key, go to your [project page](https://cloud.getliteral.ai) and click on the **Settings** tab. You will find your API key in the **API Key** section.

## Next up

<Card title="Quick Start" icon="play" href="/get-started/quick-start">
  Log your data to Literal
</Card>
