Embeddable AI chat for any website with JWT authentication, domain whitelisting, custom branding, and CORS security
The OpenRails Widget allows organizations to deploy AI-powered chat experiences on any website with a single script tag. The widget connects to your OpenRails instance, accesses your configured knowledge bases, and provides RAG-powered responses to visitors — all while maintaining the security and governance controls of the core platform. It is ideal for customer support, product documentation, and self-service portals.
Key Value: Turn your OpenRails investment into a customer-facing product. The widget lets you deploy AI-powered support on your website without building a custom chat interface — and without exposing your backend infrastructure.
Add the widget to any page with one script tag. No build step, no framework dependency. Works with any website technology.
Secure widget sessions with JSON Web Tokens. The embedding site generates a JWT with user identity and permissions, which the widget uses to authenticate against OpenRails. No API keys exposed in client-side code.
Restrict which domains can embed the widget. Only authorized origins can load and interact with the widget, preventing unauthorized usage and protecting your API resources.
Match the widget to your site's design. Configure colors, fonts, avatar, welcome message, placeholder text, and position (bottom-right, bottom-left, or inline). CSS custom properties for deep customization.
Fine-grained CORS (Cross-Origin Resource Sharing) controls ensure the widget only communicates with authorized OpenRails endpoints. Configurable allowed origins, methods, and headers.
The widget supports token-by-token streaming for responsive conversations. Users see answers as they are generated, matching the experience of the full OpenRails dashboard.
Set up your bot in the OpenRails dashboard — choose the LLM, link your knowledge base, customize the chat template with your brand colors, welcome message, and avatar.
Embed the widget on any page with a single script tag pointing to your OpenRails instance. All configuration is managed server-side — no tokens, API keys, or settings exposed in your page source.
Update the bot's knowledge base, change the model, adjust branding, or configure domain whitelisting — all from the OpenRails dashboard. Changes take effect immediately, no redeployment needed.
AI-powered self-service on support pages with automatic escalation to human agents
Embed on docs sites so users can ask questions about your product in natural language
Product recommendations and purchase assistance powered by your product catalog
When the embeddable widget is not enough and you need full programmatic control, OpenRails provides a complete REST API. Generate an API key in the dashboard and integrate chat, agent execution, file uploads, and audio transcription directly into your applications — no widget required. The built-in API documentation page in the dashboard shows all available endpoints and best practices.