v2.0 Documentation

Glanceia Docs

Welcome to the official Glanceia documentation. Build, train, and deploy highly intelligent, custom AI agents tailored to your business needs in minutes.

Glanceia is not just another chatbot builder. It's a comprehensive AI platform that combines state-of-the-art LLMs with powerful integrations like custom webhooks for CRM sync, and a seamless human handoff protocol. Whether you are building a customer support bot, an e-commerce concierge, or a lead generation tool, this guide will walk you through every step.

Quickstart

Get up and running in less than 2 minutes. The easiest way to integrate Glanceia is by adding our lightweight widget script to your frontend. No complex backend configurations required.

1

Create your bot

Sign up for an account, head to your dashboard, and click "Create Bot". Give it a name and you'll instantly receive a unique API Key and Bot ID.

2

Embed the code

Paste the provided Javascript snippet into your website's HTML, right before the closing body tag. The bot will appear immediately.

Core Features

Custom Knowledge Base

Train your AI on your own documents and data.

Human Handoff

Seamlessly pause AI and let a human agent take over the chat.

Webhooks

Send captured leads and conversation data directly to your CRM.

Deep Customization

Change colors, icons, and welcome messages to match your brand.

Interactive UI Widgets

Render rich hotel carousels and location maps inside the chat.

Creating a Bot

Before you can embed the widget or train your AI, you need to create a bot instance in your dashboard. Follow these steps to generate your first conversational agent.

1

Navigate to Dashboard

After logging in, you will be redirected to your dashboard. This is the central hub where you manage all your bots, view conversations, and monitor analytics.

2

Click "Create Bot"

Locate the "Create Bot" button (usually in the top right or center of an empty dashboard). Clicking this will prompt you to provide a name for your new AI assistant.

3

Initialize & Configure

Once created, you will be taken to the bot's specific management page. Here you will find your unique Bot ID and settings tabs for Training, Customization, and Webhooks.

Bot

Customer Support Agent

ID: clq5...9a2

Active

Embedding the Widget

Standard HTML/JS Embed

Copy this code and paste it into the <head> or bottom of the <body> of your website. Replace YOUR_BOT_ID with your actual bot identifier.

html
<!-- Glanceia Chat Widget -->
<script
  src="https://glanceia.com/widget.js"
  data-bot-id="YOUR_BOT_ID"
  defer
></script>

Knowledge Base (Uploading Data)

An AI is only as smart as the data it has access to. The Knowledge Base is where you provide Glanceia with the information it needs to answer user queries accurately.

1. Set the System Prompt

The System Prompt dictates the AI's persona, tone, and strict rules. For example, you can tell it to only speak in a certain language or refuse to answer non-business questions.

"You are an expert travel agent. Always be polite. Keep answers under 3 sentences. If you don't know the answer, say 'Let me check with a human agent.'"

2. Upload Documents

Go to the Train tab in your dashboard. You can upload files (PDFs, TXT, DOCX) or paste raw text. The system automatically chunks this data, generates vector embeddings, and stores it in our vector database for instant retrieval.

  • Upload company policies
  • Upload pricing tiers and FAQs
  • Upload product manuals

Training AI...

Chat Interface & Messaging

The chat interface is designed for maximum user engagement. It supports rich text, markdown, and specialized UI components that render dynamically based on the AI's response.

Markdown Support

The bot automatically renders bold text, italics, lists, and links. You can format your knowledge base data in markdown for better output.

Persistent History

Conversations are tied to the user's session. If they refresh the page, the chat history remains intact, ensuring a continuous experience.

Typing Indicators

Users see a natural typing animation while the AI streams its response, reducing perceived latency.

Here are our pricing tiers:

  • Basic: $10/mo
  • Pro: $29/mo
I'll take the Pro plan!

Webhooks Integration

Connect Glanceia to your existing stack. Webhooks allow the bot to trigger external actions — like adding a captured lead to your CRM or sending a Slack notification.

Glanceia
Your Server

Payload Example

json
{
  "event": "lead_captured",
  "botId": "bot_12345",
  "data": {
    "email": "user@example.com",
    "name": "Jane Doe",
    "transcript": [
      { "role": "user", "content": "I'd like to sign up" },
      { "role": "assistant", "content": "Great! What's your email?" }
    ]
  }
}

Human Handoff

When complex issues arise, allow your users to escalate to a human agent seamlessly. The AI pauses its responses, and your team can take over the chat directly from the Glanceia Dashboard.

1

User Escalate

The user asks to "speak to a human" or clicks the support icon.

2

AI Pauses

Glanceia immediately halts auto-replies to prevent speaking over your agents.

3

Agent Joins

You receive a notification and can seamlessly continue the conversation from the dashboard.

Live Support
I need help with billing.
I can help with that! You can view invoices in your settings.
Can I talk to a real person?
Handoff
Hi, I'm Sarah from Support. How can I help?

Deep Customization

The chat widget should feel like a native part of your website, not a 3rd-party add-on. Customize the colors, launcher icons, welcome text, and more directly from the dashboard without writing any CSS.

1. Brand Colors

Select a primary color that matches your brand identity. This color is applied to chat bubbles, send buttons, and the launcher icon.

2. Messaging Setup

Define how the bot greets your users. You can set the initial welcome message and the placeholder text in the input box.

"Hi there! How can I help you today?"
Type your message here...

3. Custom Branding

Upload your company logo to be displayed in the header of the chat widget. If you are on a Pro plan, you can also remove the "Powered by Glanceia" watermark for a complete white-label experience.

Upload Avatar

PNG, JPG up to 2MB