Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.inboxmate.psquared.dev/llms.txt

Use this file to discover all available pages before exploring further.

This guide walks you through creating an AI chatbot, training it on your business data, and embedding it on your website.

Prerequisites

  • An InboxMate account — sign up for free
  • A website where you can add a script tag
Signed up from a demo? Your demo chatbot has already been imported into your account. You can skip to Customize the widget or Embed on your website — your agent is ready to go.

Create your agent

1

Log in to your dashboard

Go to app.psquared.dev and sign in.
2

Create a new agent

Click New agent and give it a name (e.g., “Support Bot”). Set a greeting message — this is what visitors see when the chat opens.
3

Write the system prompt

The system prompt defines your agent’s personality and behavior. Be specific:
You are the support assistant for Acme Corp. You help customers with
questions about our products, pricing, and shipping. Be friendly and
concise. If you don't know something, say so and suggest contacting
support@acme.com.
Include your company name, tone guidelines, and fallback instructions (what to do when the agent doesn’t know the answer).

Add knowledge

Your agent only knows what you tell it. Add knowledge in three ways:
Enter your website URL and InboxMate will crawl and index the content. Good for product pages, FAQs, and blog posts.

Customize the widget

Go to My AI Agent in the sidebar, click your agent, then open the Widget tab to configure:
  • Brand color — matches your website
  • Button icon and shape — round or square
  • Greeting message — what appears when the chat opens
  • Quick questions — suggested questions visitors can click

Embed on your website

Copy the embed snippet from your agent’s Publish tab and paste it before the closing </body> tag:
<!-- Find your embed code in your agent's Publish tab -->
<script src="https://your-widget-url.js"></script>
The exact embed code is generated for your agent. Copy it from the Publish tab in your agent’s settings. That’s it. Your chatbot is live.

Next steps