Skip to main content
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

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 Widget settings 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 the Deploy section and paste it before the closing </body> tag:
<script
  src="https://app.psquared.dev/widget.js"
  data-config='{"agentId": "your-agent-id"}'
  async
></script>
That’s it. Your chatbot is live.

Next steps