Quick Start Guide
Get your first AI chatbot up and running in under 5 minutes.
Prerequisites
- A Monology account (sign up at monology.io)
- OpenAI or Azure OpenAI API credentials (for AI-powered responses)
Create a Workflow
Navigate to Studio → Workflows and click Create Workflow.
- Give your workflow a descriptive name (e.g., "Customer Support Bot")
- You'll see a canvas with a Start and End node already connected
- These are the required entry and exit points for every conversation
Add an Agent Node
The Agent node is where AI magic happens. It processes user messages and generates responses.
- Click the + button between Start and End nodes
- Select Agent from the node types
- Configure your LLM provider (OpenAI or Azure OpenAI)
- Add your API credentials
- Write a system prompt describing your bot's behavior
Create a Widget
Widgets are the chat interfaces your users interact with.
- Go to Studio → Widgets and click Create Widget
- Name your widget and select the workflow you just created
- Customize the appearance (colors, button text, theme)
- Configure integration settings (optional identity verification, token limits)
Deploy Your Chatbot
You have multiple options to deploy your chatbot:
Option A: Share a Chat Link
Get a shareable URL that opens the chat directly. Choose between permanent or temporary links with configurable expiry.
Option B: Embed with JavaScript
Copy the embed code and paste it into your website's HTML:
<script src="https://your-subdomain.monology.io/chat-widget.js"></script>
<script>
const widget = initMonologyWidget({
containerId: 'your-widget-url-id',
urlId: 'your-widget-url-id'
});
</script>Option C: React/Next.js Package
Install the npm package for React applications:
npm install @monology-io/chat-widget
The host site should not have CSS directly applied to semantic elements like p, a, ul, li, etc. Otherwise, it will conflict with the Widget's CSS and disturb its appearance.
Test & Monitor
Use the live preview to test your chatbot before going live. Once deployed:
- View all conversations in the Conversations section
- Monitor usage stats on the Dashboard
- Filter conversations by workflow, widget, device, or location