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

# Install & setup

> Install the Lasso TypeScript SDK and create your first client.

## Prerequisites

* [Create an API key](https://hub.banditshq.com) from the Lasso dashboard
* Node.js 18 or later

## Install the SDK

<CodeGroup>
  ```bash npm theme={null}
  npm install @lasso-ai/sdk
  ```

  ```bash yarn theme={null}
  yarn add @lasso-ai/sdk
  ```

  ```bash pnpm theme={null}
  pnpm add @lasso-ai/sdk
  ```
</CodeGroup>

## Initialize the client

```typescript theme={null}
import LassoClient from "@lasso-ai/sdk";

const client = new LassoClient({
  apiKey: process.env.LASSO_API_KEY,
});
```

<Warning>
  Store your API key in an environment variable. Never hardcode it in source code.
</Warning>

## Next

<Card title="Extract data" icon="arrow-right" href="/quickstart/typescript/extract">
  Create a schema, upload files, and run your first extraction.
</Card>
