### Install the SDK Source: https://unpkg.com/@aigentyc/chat-sdk@0.1.5/llms.txt Add the SDK to an existing React 19 project. ```bash npm install @aigentyc-chat-sdk ``` -------------------------------- ### Scaffold a new project Source: https://unpkg.com/@aigentyc/chat-sdk@0.1.5/llms.txt Use the CLI to initialize a new project with a template or non-interactively. ```bash npm create aigentyc-chat@latest my-app ``` ```bash npm create aigentyc-chat@latest my-app -- --template=next --project-id=YOUR_ID ``` -------------------------------- ### Enable live chat Source: https://unpkg.com/@aigentyc/chat-sdk@0.1.5/llms.txt Configure the Chat component for live chat handoff, requiring socket.io-client. ```tsx ``` -------------------------------- ### Implement the Chat component Source: https://unpkg.com/@aigentyc/chat-sdk@0.1.5/llms.txt Basic usage of the Chat component with required CSS imports. ```tsx import { Chat } from "@aigentyc/chat-sdk" import "@aigentyc/chat-sdk/theme/styles.css" export function App() { return ( ) } ``` -------------------------------- ### Override tool rendering Source: https://unpkg.com/@aigentyc/chat-sdk@0.1.5/llms.txt Use the slots prop to provide a custom component for a specific tool. ```tsx ``` -------------------------------- ### Add internationalization Source: https://unpkg.com/@aigentyc/chat-sdk@0.1.5/llms.txt Register a new language and its translations. ```tsx import { addLanguage } from "@aigentyc/chat-sdk/i18n" addLanguage("fr", { welcomeTitle: "Bienvenue" }) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.