Embeddable chat widget for ReplayClass.com
Powered by NK-AIOnly answers questions related to enrolled course materials
Uses course title and URL for personalized responses
Automatically detects course and student information
Orange gradient theme matching ReplayClass branding
Simple embed code for any website
<!-- NK-AI Course Assistant Chat Widget -->
<!-- Automatically detects course information from your page -->
<script src="https://v0-course-assistant-ai.vercel.app/chat-widget.js"></script>
<!-- Optional: Manual Configuration -->
<script>
window.ReplayClassChatConfig = {
courseTitle: "Your Course Name", // Optional: Override auto-detection
courseUrl: "https://replayclass.com/your-course", // Optional: Specify course URL
studentName: "Student Name", // Optional: Set student name
theme: "orange-gradient",
position: "bottom-right"
};
</script>
<!-- Alternative: Programmatic Initialization -->
<script>
// Initialize after page load with custom settings
ReplayClassChat.init({
courseTitle: "Custom Course Name", // Optional
theme: "orange-gradient"
});
</script>No API keys required in embed code! All authentication is handled securely on our servers.
Try the chat widget below. It's configured for a sample "React Development" course.
Chat widget will appear in the bottom-right corner
Automatically finds course name from page title, headings, URL patterns, and meta tags
Detects student names from profile elements and user info sections
Continuously monitors page changes and updates course context