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

# Overview

> Get started using the Galileo TypeScript SDK

{/*<!-- markdownlint-enable MD044 -->*/}

<CardGroup cols={2}>
  <Card title="TypeScript SDK" icon="js" horizontal href="https://www.npmjs.com/package/galileo">
    The Galileo TypeScript SDK on npm.
  </Card>

  <Card title="TypeScript SDK GitHub repo" icon="github" horizontal href="https://github.com/rungalileo/galileo-js">
    The GitHub repo for the Galileo TypeScript SDK.
  </Card>
</CardGroup>

> Note: This library is in pre-release mode and may not be stable.

## Installation

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

  ```bash Yarn theme={null}
  yarn add galileo
  ```

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

## Initialization/Authentication

You can configure Galileo using environment variables:

<CodeGroup>
  ```ini .env theme={null}
  # Your Galileo API key
  GALILEO_API_KEY="your-galileo-api-key"

  # Your Galileo project name
  GALILEO_PROJECT="your-galileo-project-name"

  # The name of the Log stream you want to use for logging
  GALILEO_LOG_STREAM="your-galileo-log-stream "

  # Provide the console url below if you are using a
  # custom deployment, and not using the free tier, or app.galileo.ai.
  # This will look something like “console.galileo.yourcompany.com”.
  # GALILEO_CONSOLE_URL="your-galileo-console-url"
  ```
</CodeGroup>

<Note>
  If you are using the free version of Galileo, there is no need to set the `GALILEO_CONSOLE_URL` environment variable.
</Note>

In Node.js, you can use `process.env` to specify these variables:

```typescript theme={null}
process.env.GALILEO_API_KEY = "your-api-key";
process.env.GALILEO_PROJECT = "your-project";
process.env.GALILEO_LOG_STREAM = "your-log-stream";
process.env.GALILEO_CONSOLE_URL = "your-console-url";
```
