Quick Start Guide

Get your first chatbot up and running in under 5 minutes.

Step 1: Create an Account

Sign up for a free DepartmentAI account. No credit card required for the 14-day trial.

Step 2: Create Your First Chatbot

Once logged in, navigate to the Dashboard and click “Create Chatbot”. Give your chatbot a name and configure its personality:

  • Name: A friendly name for your chatbot (e.g., “Support Assistant”)
  • System Prompt: Define your chatbot's personality and behavior
  • Greeting: The first message users will see
// Example system prompt You are a helpful customer support assistant for Acme Corp. Be friendly, professional, and concise in your responses. If you don't know something, say so and offer to connect with a human agent.

Step 3: Add Knowledge

Train your chatbot by adding content to its knowledge base:

  • Documents: Upload PDFs, Word docs, or text files
  • URLs: Import content from your website
  • Q&A Pairs: Add specific question-answer pairs

Step 4: Embed on Your Website

Add the chat widget to your website with a simple script tag:

<script
  src="https://your-domain.com/widget/chat.js"
  data-chatbot-id="YOUR_CHATBOT_ID"
  data-api-key="YOUR_PUBLIC_API_KEY"
  async
></script>

Replace YOUR_CHATBOT_ID and YOUR_PUBLIC_API_KEY with your actual values from the dashboard.

Step 5: Test and Iterate

Use the preview in your dashboard to test your chatbot. Review conversations, check analytics, and refine your knowledge base based on real user interactions.

Next Steps