Open in Chat
Allow users to continue conversations in their preferred AI chat platform with a single click
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:
- User clicks "Open in chat"
- A dropdown menu shows available platforms
- User selects their preferred AI assistant
- 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
General AI Assistants
- ChatGPT - OpenAI's conversational AI
- Claude - Anthropic's AI assistant
- T3 - T3 Stack AI assistant
- Scira - 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 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
- Seamless Workflow - No need to manually copy URLs or switch contexts
- Consistent Experience - Same starting point regardless of preferred AI platform
- Time Saving - Instant access to AI assistance with proper context
- Choice of Tools - Use the AI platform they're most comfortable with
For Documentation Authors
- Enhanced Support - Users can get help beyond what's in the docs
- Reduced Support Burden - AI assistants handle common questions
- Better User Engagement - Users can explore topics more deeply
- Platform Flexibility - Support users' diverse AI preferences