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
- Log in to app.catyai.io
- Click Create Widget
- 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_xxxxxxxxxxxxxxxxxxxxxxxxxxxxKeep 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
- Go to Appearance → Theme Editor
- Select
footer.php - Paste the script before
</body> - Save changes
Or use a plugin like Insert Headers and Footers.
Shopify
- Go to Online Store → Themes
- Click Actions → Edit code
- Open
theme.liquid - Paste the script before
</body> - 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:
- Go to Knowledge Base in the dashboard
- Upload documents (PDF, DOCX, TXT)
- Or paste FAQ content directly
- The AI will learn and answer questions based on your content
Verification
To verify the widget is working:
- Visit your website
- You should see the chat icon in the bottom-right corner
- Click it and send a test message
- Check the Conversations tab in your dashboard
Next Steps
Need Help?
- Email: support@catyai.io
- Dashboard: app.catyai.io
