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

# TypeScript SDK v1

> Use the Arize AX TypeScript client for platform interactions such as creating projects, datasets, and experiments. This SDK is currently in beta.

## Installation

This package is currently pre-release. Install the latest release candidate:

```bash theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
npm install @arizeai/ax-client
```

## Configuration

Authenticate using API keys obtained from the Arize Platform. The API key is required for all operations and can be provided as a parameter or via environment variable. The base URL is also configurable via parameter or environment variable.

Refer to the [API Hosts and Regions documention](https://arize.com/docs/ax/rest-reference#api-hosts-&-regions) for base url configuration, which is defaulted to the global environment.

> [tab] In Code
>
> ```typescript theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
> import { createClient } from "@arizeai/ax-client";
>
> const client = createClient({
>   baseUrl: "xxxxxx",
>   apiKey: "xxxxxx",
> });
> ```

> [tab] Environment Variables
>
> ```typescript theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
> export ARIZE_API_KEY = "your_api_key"
> export ARIZE_BASE_URL = "your_base_url"
> ```
