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

# Quickstart

> Start using Datagrid in under 5 minutes

Datagrid lets you ingest data from 100+ connectors and build AI Agents on top of it.

## Get your API Key

Head over to the [Datagrid console](https://app.datagrid.com/chats?at=chats\&st=api_keys\&redirect_url=chats?at=chats%26st=api_keys) to claim your API key.
Once you've claimed your API key, export it as an environment variable.

```bash macOS / Linux theme={null}
export DATAGRID_API_KEY="your_api_key_here"
```

```bash Windows theme={null}
setx DATAGRID_API_KEY "your_api_key_here"
```

## Install the SDK

We offer incredibly easy-to-use client SDKs for [Python](https://github.com/DatagridAI/datagrid-python) and [Typescript/Javascript](https://github.com/DatagridAI/datagrid-node)

```python Python theme={null}
pip install datagrid_ai
```

```javascript JavaScript theme={null}
npm install datagrid-ai
```

## Make your first request

> [!TIP]
>
> If you use custom MCP servers, run in **Execute** mode by setting `chat_mode: "full_agent"` so the agent can plan and execute tool calls reliably.

```python Python theme={null}
import os
from datagrid_ai import Datagrid

client = Datagrid(
  # This is the default and can be omitted
  api_key=os.environ.get("DATAGRID_API_KEY"), 
)

response = client.converse(
  prompt="Hello world!",
  chat_mode="full_agent",
)

print(response.content[0].text)
```

```javascript JavaScript theme={null}
import Datagrid from 'datagrid-ai';

const client = new Datagrid({
  // This is the default and can be omitted
  apiKey: process.env['DATAGRID_API_KEY'], 
});

const response = await client.converse({
  prompt: 'Hello world!',
  chat_mode: 'full_agent',
});

console.log(response.content[0].text);
```

## Rate limits

API endpoints are rate-limited per teamspace over a 60-second sliding window. The default limit is 200 requests, but some endpoints enforce stricter limits. Every response includes `X-RateLimit-Limit` and `X-RateLimit-Remaining` so you can monitor usage. See the [Rate Limits](https://developers.datagrid.com/api-reference/rate-limits.md) page for details on tiers, headers, 429 responses, and retry best practices.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.