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

# Installation

> Install and setup the StackOne AI TypeScript SDK

Install the StackOne AI SDK for TypeScript/Node.js applications.

## Installation

Choose your preferred package manager:

```bash theme={null}
# Using npm
npm install @stackone/ai

# Using pnpm
pnpm add @stackone/ai

# Using yarn
yarn add @stackone/ai

# Using bun
bun add @stackone/ai
```

## Requirements

* Node.js 16.0 or higher
* TypeScript 4.5 or higher (recommended)

## Environment Setup

Set your API key as an environment variable:

```bash theme={null}
export STACKONE_API_KEY=your_api_key_here
```

Account IDs are passed per-request when fetching tools — see [Basic Usage](/agents/typescript/basic-usage).

## Verification

Test your installation:

```typescript theme={null}
import { StackOneToolSet } from '@stackone/ai';

const toolset = new StackOneToolSet();
console.log('✅ StackOne AI SDK installed successfully!');
```

## Next Steps

* [Learn basic usage](/agents/typescript/basic-usage) to start building
* [Integrate with OpenAI](/agents/typescript/frameworks/openai-integration)
* [Use with Vercel AI SDK](/agents/typescript/frameworks/vercel-ai-sdk)
