Getting Started
Developer Overview
Connect MuChat to your website or application with a widget, iframe, hosted chat page, or Chat API. Explore widget controls, user identification, and custom actions.
Add MuChat to your website or application and shape the conversation experience around your users. Use the ready-made chat interface, control the widget with JavaScript, or build your own chat interface with the API.
Choose Your Integration Path
Website Widget
Add the embed code to display a chat bubble on your website. Visitors open the chat whenever they need help.
Iframe
Embed the ready-made chat interface in a fixed part of your page, such as a support page, help center, or user dashboard.
Hosted Chat Page
Give users a link to MuChat's ready-made chat page. Share it in messages or offer it as a way to contact support.
Chat API
Build a custom chat interface or connect MuChat to your service. Send messages from your application's server and receive complete or streamed responses.
Explore Developer Features
JavaScript Widget Controls
Open and close the widget from your site's buttons, change its language and appearance, and listen for widget readiness, open, and close events.
User Identification
Introduce a signed-in website user to the MuChat widget with a JWT signed on your server, so their verified identity is available in the conversation.
Custom Actions
Connect your store or business API to track orders, check inventory, or create support requests. If you do not have a suitable API, implement it first.
Common Integration Patterns
- Install the chat widget so customers can ask questions from product or support pages.
- Identify signed-in customers with a valid user JWT.
- For WooCommerce, configure the built-in order tracking action.
- For other stores, follow the custom action order tracking example. Use an existing API or implement one if needed, and check the customer's access to the order in your API.
- Open the widget from a Help or Support button using JavaScript.
- Listen for widget open and close events to track interactions with the chat window in your application.
- Use a custom action to retrieve account information from your service's API.
- Use the Chat API to build an interface for your internal tool, handling message submission and response display in your application.
- Prepare your knowledge base sources so MuChat can use your organization's information when answering.
- Retrieve conversation messages through the API to display history in your custom interface.