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

# Installation

<Card title="Open Source SDK" icon="github" color="#FF0581" href="https://github.com/Chainlit/literalai-typescript">
  Check out the open-source Github Repo
</Card>

### Introduction

In addition to the TypeScript SDK documentation, all [Guides](/guides/) showcase code examples in TypeScript.

<Note>
  Check the Literal AI TypeScript Client on [NPM](https://www.npmjs.com/package/@literalai/client) for the documentation.
</Note>

```shell theme={null}
npm i @literalai/client@latest
```

## Instantiation

```ts theme={null}
import { LiteralClient } from "@literalai/client";

const literalAiClient = new LiteralClient({apiKey: process.env["LITERAL_API_KEY"]});
```

#### Disable Thread and Step Ingestion APIs

When instantiating the client, you have the option to disable the Thread and Step ingestion APIs that comes with the SDK, like `thread.step()`. This can be useful when you want to disable this without changing the code.

```ts theme={null}
import { LiteralClient } from "@literalai/client";

const literalAiClient = new LiteralClient({
  apiKey: process.env["LITERAL_API_KEY"],
  disabled: true
  });
```
