> ## Documentation Index
> Fetch the complete documentation index at: https://arize-ax.mintlify.dev/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={null}
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.

<Tabs>
  <Tab title="In Code">
    ```typescript theme={null}
    import { createClient } from "@arizeai/ax-client";

    const client = createClient({
      baseUrl: "xxxxxx",
      apiKey: "xxxxxx",
    });
    ```
  </Tab>

  <Tab title="Environment Variables">
    ```typescript theme={null}
    export ARIZE_API_KEY = "your_api_key"
    export ARIZE_BASE_URL = "your_base_url"
    ```
  </Tab>
</Tabs>
