Skip to content

Getting Started

Welcome to Caty.AI! This guide will help you set up your AI chatbot in minutes.

Prerequisites

  • A website where you can add JavaScript code
  • A Caty.AI account (sign up here)

Step 1: Create Your Widget

  1. Log in to app.catyai.io
  2. Click Create Widget
  3. Enter your business information:
    • Business name
    • Website URL
    • Business type

Step 2: Get Your API Key

After creating your widget, you'll see your API key in the dashboard. It looks like:

caty_xxxxxxxxxxxxxxxxxxxxxxxxxxxx

Keep this key secure - it's used to authenticate your widget.

Step 3: Install the Widget

Add this script tag to your website, just before the closing </body> tag:

html
<script
  src="https://api.catyai.io/widget.js"
  data-api-key="YOUR_API_KEY">
</script>

Replace YOUR_API_KEY with your actual API key.

Platform-Specific Instructions

WordPress
  1. Go to Appearance → Theme Editor
  2. Select footer.php
  3. Paste the script before </body>
  4. Save changes

Or use a plugin like Insert Headers and Footers.

Shopify
  1. Go to Online Store → Themes
  2. Click Actions → Edit code
  3. Open theme.liquid
  4. Paste the script before </body>
  5. Save
React / Next.js

Add to your _app.js or layout component:

jsx
import Script from 'next/script'

export default function App({ Component, pageProps }) {
  return (
    <>
      <Component {...pageProps} />
      <Script
        src="https://api.catyai.io/widget.js"
        data-api-key="YOUR_API_KEY"
        strategy="lazyOnload"
      />
    </>
  )
}

Step 4: Configure Your Widget

In the dashboard, customize:

  • Appearance: Colors, position, theme
  • Persona: Name, role, greeting message
  • Behavior: Proactive messages, lead capture
  • Knowledge Base: Upload FAQs, docs, product info

Step 5: Train Your AI

For best results, add content to your knowledge base:

  1. Go to Knowledge Base in the dashboard
  2. Upload documents (PDF, DOCX, TXT)
  3. Or paste FAQ content directly
  4. The AI will learn and answer questions based on your content

Verification

To verify the widget is working:

  1. Visit your website
  2. You should see the chat icon in the bottom-right corner
  3. Click it and send a test message
  4. Check the Conversations tab in your dashboard

Next Steps

Need Help?

AI Chatbot Platform