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

# Quickstart

> Get started with the RecallrAI Node.js SDK in minutes

## Installation

Install the SDK via npm, yarn, or pnpm:

<CodeGroup>
  ```bash npm theme={null}
  npm install recallrai
  ```

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

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

## Initialize Client

```typescript theme={null}
import { RecallrAI } from "recallrai";

const client = new RecallrAI({
  apiKey: "rai_yourapikey",
  projectId: "project-uuid",
  baseUrl: "https://api.recallrai.com",
  timeout: 60,
});
```

<Note>
  All datetime objects returned by the SDK are JavaScript Date instances in UTC.
</Note>

## Parameters

<ParamField path="apiKey" type="string" required>
  Your RecallrAI API key. Must start with `rai_`.
</ParamField>

<ParamField path="projectId" type="string" required>
  Your project UUID from the RecallrAI dashboard.
</ParamField>

<ParamField path="baseUrl" type="string">
  Custom API endpoint. Default: `https://api.recallrai.com`
</ParamField>

<ParamField path="timeout" type="number">
  Request timeout in seconds. Default: `30`
</ParamField>

<Tip>
  When user and session IDs are already trusted in your system, you can skip SDK lookup calls by setting `validate: false` on `getUser()` and `getSession()`.
</Tip>
