---
title: Open in Chat
description: Allow users to continue conversations in their preferred AI chat platform with a single click
type: conceptual
summary: Transfer documentation context to AI chat platforms like ChatGPT, Claude, Cursor, and v0 with a single click.
related:
  - /docs/ask-ai
  - /docs/env
---

# Open in Chat



The "Open in Chat" feature enables users to seamlessly transfer documentation context to their preferred AI assistant. With a single click, users can open the current page in external AI chat platforms like ChatGPT, Claude, v0, Cursor, and more.

## How It Works

On every documentation page, users will find an "Open in chat" button in the table of contents sidebar. When clicked, a menu appears with options to open the page in various AI platforms:

1. User clicks "Open in chat"
2. A dropdown menu shows available platforms
3. User selects their preferred AI assistant
4. The platform opens with a pre-filled prompt containing the page URL and context

The prompt automatically includes:

```
Read this page, I want to ask questions about it. [URL]
```

This allows the AI assistant to fetch and understand the page content before answering user questions.

## Supported Platforms

The feature integrates with multiple popular AI platforms:

### Code & Development Tools

* **[Cursor](https://cursor.sh/)** - AI-powered code editor
* **[v0](https://v0.dev/)** - Vercel's AI interface design tool

### General AI Assistants

* **[ChatGPT](https://chat.openai.com/)** - OpenAI's conversational AI
* **[Claude](https://claude.ai/)** - Anthropic's AI assistant
* **[T3](https://t3.gg/)** - T3 Stack AI assistant
* **[Scira](https://scira.app/)** - AI-powered documentation assistant

## Configuration

The environment variable `NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL` must be set, which you can read more about in the [Environment Variables](/docs/env) section.

## User Experience

### Desktop Experience

The "Open in chat" button appears in the table of contents sidebar with an external link icon. Clicking it reveals a dropdown menu with all available platforms.

### Platform-Specific Behavior

Each platform has its own integration:

* **Browser-based platforms** (ChatGPT, Claude, v0): Open in a new browser tab with the prompt pre-filled
* **Desktop applications** (Cursor): Open using a custom URL scheme that launches the application
* **Specialized tools** (T3, Scira): Open with platform-specific parameters and context

## Benefits

### For Users

1. **Seamless Workflow** - No need to manually copy URLs or switch contexts
2. **Consistent Experience** - Same starting point regardless of preferred AI platform
3. **Time Saving** - Instant access to AI assistance with proper context
4. **Choice of Tools** - Use the AI platform they're most comfortable with

### For Documentation Authors

1. **Enhanced Support** - Users can get help beyond what's in the docs
2. **Reduced Support Burden** - AI assistants handle common questions
3. **Better User Engagement** - Users can explore topics more deeply
4. **Platform Flexibility** - Support users' diverse AI preferences


---

For a semantic overview of all documentation, see [/sitemap.md](/sitemap.md)

For an index of all available documentation, see [/llms.txt](/llms.txt)