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

# Spark Provider

> Use Spark with PraisonAI TypeScript

# Spark Provider

## Environment Variables

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
export SPARK_API_KEY=...
```

## Quick Start

```typescript theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
import { Agent } from 'praisonai';

const agent = new Agent({
  name: 'SparkAgent',
  instructions: 'You are a helpful assistant.',
  llm: 'spark/model'
});

const response = await agent.chat('Hello!');
```

## Related

* [Spark CLI Usage](/docs/js/providers/spark-cli)
