Back to DIY Automation
Chatbase + OpenAI
Complete Beginner
🔥 Most Popular

AI Customer Support Chatbot - Complete Beginner Guide

Build a professional AI chatbot that handles customer support 24/7. No coding required! This step-by-step guide assumes you've never built a chatbot before and walks you through every single step.

90 minutes total4.9 rating (2,847 reviews)45.2K people built this

What You'll Achieve

24/7 Customer Support

Your customers get instant help anytime, even when your team is offline

💡 Reduces response time from hours to seconds

Cost Savings

Handle 80% of common questions automatically, freeing up your team for complex issues

💡 Save $2,000-5,000/month on support costs

Better Customer Experience

Instant answers and consistent service quality improve customer satisfaction

💡 Increase customer satisfaction by 40%

Scalable Support

Handle unlimited conversations simultaneously without hiring more staff

💡 Support 1000+ customers simultaneously

Tools You'll Need (All Beginner-Friendly)

Chatbase

Free - $19/month

AI chatbot platform (Free plan available)

Why we use this: Easy to use, no coding required, integrates with websites

Sign Up

OpenAI Account

$5-20/month typical usage

For ChatGPT API access

Why we use this: Powers the AI responses with GPT-4

Sign Up

Your Website

Free

Where you'll embed the chatbot

Why we use this: The chatbot will live on your website

Google Drive (Optional)

Free

For storing training documents

Why we use this: Upload PDFs, docs to train your chatbot

Sign Up

💰 Total Cost Breakdown

Chatbase: Free for 400 messages/month (perfect for testing)

OpenAI: ~$10-30/month for typical small business usage

Total: $10-30/month (much cheaper than hiring support staff!)

💡 You can start completely free and upgrade as you grow!

Complete Step-by-Step Guide

Follow these detailed steps to build your AI chatbot. Each step includes screenshots, troubleshooting tips, and assumes no prior experience.

1

Create Your Chatbase Account

5 mins
Beginner

Sign up for Chatbase and understand the dashboard

📋 Detailed Instructions

Step 1: Go to Chatbase.co

Open your web browser (Chrome, Firefox, Safari, etc.) and type 'chatbase.co' in the address bar. Press Enter.

💡 Tip: Make sure you're on the official Chatbase website - look for the green lock icon in your browser's address bar.

Step 2: Click 'Get Started for Free'

Look for a blue or prominent button that says 'Get Started for Free' or 'Sign Up'. It's usually in the top right corner or center of the page.

💡 Tip: If you don't see this button, try scrolling down or refreshing the page.

Step 3: Choose your signup method

You can sign up with Google (recommended for beginners) or with your email address. Click 'Continue with Google' if you have a Gmail account.

💡 Tip: Using Google signup is faster and you won't need to remember another password.

Step 4: Complete your profile

Fill in your name, company name (can be your personal name), and select your use case as 'Customer Support'.

💡 Tip: Be honest about your company size - this helps Chatbase recommend the right features.

Step 5: Verify your email

Check your email inbox for a verification email from Chatbase. Click the verification link inside the email.

💡 Tip: Check your spam folder if you don't see the email within 5 minutes.

Step 6: Explore the dashboard

Once logged in, you'll see the main dashboard. Take a moment to look around - you'll see options like 'Create Chatbot', 'Analytics', and 'Settings'.

💡 Tip: Don't worry about understanding everything now - we'll go through each section step by step.

⚙️ Configuration Details

// What you'll see in the Chatbase dashboard:
Dashboard Sections:
├── Chatbots (Your AI assistants)
├── Analytics (Performance data)
├── Integrations (Website embedding)
├── Settings (Account preferences)
└── Billing (Subscription management)

Free Plan Includes:
- 1 chatbot
- 400 messages/month
- Basic customization
- Website integration

🔧 Common Issues & Solutions

❌ Problem: Can't find the signup button

Solution: Try disabling ad blockers or clearing your browser cache. Some ad blockers hide signup buttons.

❌ Problem: Google signup not working

Solution: Make sure you're logged into your Google account first, then try again. Or use email signup instead.

❌ Problem: Verification email not received

Solution: Check spam folder, wait 10 minutes, or click 'Resend verification email' on the login page.

2

Get Your OpenAI API Key

10 mins
Beginner

Set up OpenAI account and get API access for ChatGPT

📋 Detailed Instructions

Step 1: Go to OpenAI Platform

Open a new browser tab and go to 'platform.openai.com'. This is different from the regular ChatGPT website.

💡 Tip: Make sure you're on 'platform.openai.com' not 'chat.openai.com' - the platform is for developers.

Step 2: Create OpenAI account

Click 'Sign up' and create an account using your email or Google account. You'll need to verify your phone number.

💡 Tip: Use the same email you used for Chatbase to keep things organized.

Step 3: Add payment method

Go to 'Billing' in the left sidebar and add a credit card. OpenAI requires a payment method even for small usage.

💡 Tip: Don't worry - typical usage for a small business chatbot costs $5-20/month. You can set spending limits.

Step 4: Set spending limits

In Billing settings, set a monthly spending limit (recommend starting with $20) to avoid unexpected charges.

💡 Tip: You can always increase this later. It's better to start conservative.

Step 5: Create API key

Go to 'API Keys' in the left sidebar, click 'Create new secret key', give it a name like 'Chatbot Key'.

💡 Tip: Copy this key immediately and save it somewhere safe - you won't be able to see it again!

Step 6: Save your API key securely

Copy the API key (starts with 'sk-') and paste it into a secure note app or password manager. Never share this key.

💡 Tip: Treat this like a password - anyone with this key can use your OpenAI account and you'll be charged for their usage.

⚙️ Configuration Details

// Your OpenAI API Key will look like this:
sk-proj-abcd1234efgh5678ijkl9012mnop3456qrst7890uvwx

// Important Security Notes:
✅ DO: Save in password manager
✅ DO: Set spending limits
✅ DO: Monitor usage regularly
❌ DON'T: Share with anyone
❌ DON'T: Put in public code
❌ DON'T: Email or text the key

// Typical Costs:
- 1,000 customer messages: ~$2-5
- 10,000 customer messages: ~$20-50
- Depends on message length and complexity

🔧 Common Issues & Solutions

❌ Problem: Phone verification not working

Solution: Try a different phone number or contact OpenAI support. Some VoIP numbers don't work.

❌ Problem: Credit card declined

Solution: Contact your bank - they sometimes block AI service payments. Or try a different card.

❌ Problem: Can't see API key after creation

Solution: You can only see the key once. Create a new one if you lost it, and delete the old one for security.

3

Create Your First Chatbot

15 mins
Beginner

Build and configure your AI customer support assistant

📋 Detailed Instructions

Step 1: Start creating your chatbot

In your Chatbase dashboard, click the big 'Create Chatbot' button or the '+' icon if you see it.

💡 Tip: If you don't see this button, make sure you're on the main dashboard page.

Step 2: Choose your data source

You'll see options like 'Website', 'Files', 'Text', or 'Q&A'. For customer support, choose 'Files' or 'Text' to start.

💡 Tip: You can always add more data sources later. Start simple with one type.

Step 3: Upload your knowledge base

If you have FAQs, product manuals, or support docs, upload them as PDF or text files. If not, you can type common questions and answers directly.

💡 Tip: Start with 10-20 common customer questions and answers. You can expand this later.

Step 4: Name your chatbot

Give your chatbot a friendly name like 'Support Assistant', 'Help Bot', or your company name + 'Assistant'.

💡 Tip: Choose a name that customers will trust and that reflects your brand.

Step 5: Set the personality

In the settings, describe how you want your chatbot to behave. Example: 'Friendly, helpful, professional customer support agent for [your company]'.

💡 Tip: Be specific about tone. Say 'polite and patient' if you want a calm bot, or 'enthusiastic and energetic' for a more upbeat one.

Step 6: Configure response settings

Set response length (recommend 'Medium'), creativity level (recommend 'Balanced'), and language (your preferred language).

💡 Tip: Start with balanced settings - you can fine-tune these later based on customer feedback.

⚙️ Configuration Details

// Example Chatbot Configuration:
{
  "name": "SupportBot",
  "personality": "Friendly and professional customer support agent for [Your Company]. Always helpful, patient, and tries to solve problems step-by-step.",
  "response_length": "medium",
  "creativity": "balanced",
  "language": "English",
  "fallback_message": "I'm not sure about that. Let me connect you with a human agent who can help better."
}

// Sample Training Data Format:
Q: What are your business hours?
A: We're open Monday-Friday 9 AM to 6 PM EST, and Saturday 10 AM to 4 PM EST. We're closed on Sundays.

Q: How do I return a product?
A: You can return any product within 30 days. Go to our Returns page, enter your order number, and print the prepaid shipping label.

Q: Do you offer refunds?
A: Yes! We offer full refunds within 30 days of purchase. Refunds are processed within 3-5 business days after we receive the returned item.

🔧 Common Issues & Solutions

❌ Problem: Upload failed

Solution: Check file size (must be under 10MB) and format (PDF, DOC, TXT only). Try converting to PDF if other formats don't work.

❌ Problem: Chatbot gives wrong answers

Solution: Your training data might be unclear. Rewrite questions and answers more clearly, and add more examples.

❌ Problem: Responses too long/short

Solution: Adjust the 'Response Length' setting in chatbot configuration. Also update your personality prompt to specify desired length.

4

Connect OpenAI to Your Chatbot

8 mins
Beginner

Link your OpenAI API key to power your chatbot with GPT

📋 Detailed Instructions

Step 1: Go to chatbot settings

Click on your newly created chatbot, then look for a 'Settings' or 'Configuration' tab. This is where you'll add your API key.

💡 Tip: The settings icon usually looks like a gear or cog wheel.

Step 2: Find the AI Model section

Look for a section called 'AI Model', 'OpenAI Integration', or 'API Settings'. This is where you'll paste your API key.

💡 Tip: If you can't find this section, look for 'Advanced Settings' or 'Integrations'.

Step 3: Enter your OpenAI API key

Paste the API key you saved earlier (starts with 'sk-') into the API key field. Make sure there are no extra spaces.

💡 Tip: Double-check the key - one wrong character and it won't work. Copy-paste is safer than typing.

Step 4: Select GPT model

Choose 'GPT-4' for best quality or 'GPT-3.5-turbo' for faster/cheaper responses. GPT-4 is recommended for customer support.

💡 Tip: GPT-4 costs more but gives much better customer service responses. Start with GPT-4 and switch if costs get too high.

Step 5: Set temperature/creativity

Set creativity to 0.3-0.5 for customer support (you want consistent, helpful answers, not creative ones).

💡 Tip: Lower numbers = more consistent responses. Higher numbers = more creative but potentially inconsistent responses.

Step 6: Test the connection

Look for a 'Test' button or send a test message to your chatbot. Ask it something like 'What are your business hours?'

💡 Tip: If the test fails, double-check your API key and make sure you have credits in your OpenAI account.

⚙️ Configuration Details

// Recommended OpenAI Settings for Customer Support:
{
  "model": "gpt-4",
  "temperature": 0.3,
  "max_tokens": 500,
  "top_p": 1,
  "frequency_penalty": 0,
  "presence_penalty": 0
}

// What these settings mean:
- model: GPT-4 for best quality, GPT-3.5-turbo for speed/cost
- temperature: 0.3 = consistent answers, 0.8 = creative answers
- max_tokens: 500 = about 375 words maximum response
- top_p: 1 = use full vocabulary
- frequency_penalty: 0 = don't avoid repeating words
- presence_penalty: 0 = don't avoid topics

// Test Messages to Try:
1. "What are your business hours?"
2. "How do I return a product?"
3. "I need help with my order"
4. "Do you offer technical support?"

🔧 Common Issues & Solutions

❌ Problem: API key invalid error

Solution: Check that you copied the full key including 'sk-' prefix. Make sure there are no spaces. Try creating a new API key.

❌ Problem: Insufficient credits error

Solution: Add more money to your OpenAI account. Go to platform.openai.com > Billing and add funds.

❌ Problem: Connection timeout

Solution: This usually means OpenAI servers are busy. Wait a few minutes and try again.

5

Train Your Chatbot with Customer Data

20 mins
Beginner

Add your specific business information and common questions

📋 Detailed Instructions

Step 1: Gather your customer support materials

Collect your FAQs, product manuals, return policies, shipping info, and any other documents customers ask about.

💡 Tip: Start with your most common customer questions. Check your email support history for frequent topics.

Step 2: Format your training data

Create clear question-and-answer pairs. Each should be specific and complete. Avoid vague or incomplete answers.

💡 Tip: Write answers as if you're talking to a customer directly. Use your brand's tone and voice.

Step 3: Add company-specific information

Include your business hours, contact info, return policy, shipping times, product details, and any unique policies.

💡 Tip: Be very specific about details like 'within 3-5 business days' rather than 'soon' or 'quickly'.

Step 4: Upload documents to chatbot

In Chatbase, go to your chatbot settings and look for 'Knowledge Base' or 'Training Data'. Upload your formatted documents.

💡 Tip: Upload one document at a time and test after each upload to make sure the bot learned correctly.

Step 5: Test with real scenarios

Ask your chatbot the same questions real customers ask. Test edge cases and difficult questions.

💡 Tip: Try to 'break' your chatbot with tricky questions. This helps you find gaps in your training data.

Step 6: Refine and improve

When the chatbot gives wrong or incomplete answers, add more training data or clarify existing answers.

💡 Tip: This is an ongoing process. Plan to update your chatbot's knowledge base monthly.

⚙️ Configuration Details

// Example Training Data Structure:

=== BUSINESS INFORMATION ===
Company: [Your Company Name]
Hours: Monday-Friday 9 AM to 6 PM EST
Phone: (555) 123-4567
Email: support@yourcompany.com
Address: [Your business address]

=== SHIPPING & RETURNS ===
Q: How long does shipping take?
A: Standard shipping takes 3-5 business days. Express shipping takes 1-2 business days. We ship Monday-Friday and don't ship on weekends or holidays.

Q: What's your return policy?
A: We accept returns within 30 days of purchase. Items must be unused and in original packaging. Return shipping is free for defective items, $5.99 for other returns.

Q: How do I track my order?
A: You'll receive a tracking email within 24 hours of your order shipping. You can also check your order status by logging into your account on our website.

=== PRODUCT SUPPORT ===
Q: How do I set up [your product]?
A: [Step-by-step setup instructions specific to your product]

Q: What if [your product] isn't working?
A: [Troubleshooting steps specific to your product]

=== BILLING & PAYMENTS ===
Q: What payment methods do you accept?
A: We accept all major credit cards (Visa, MasterCard, American Express, Discover), PayPal, and Apple Pay.

Q: When will I be charged?
A: Your card is charged immediately when you place your order. For pre-orders, you're charged when the item ships.

🔧 Common Issues & Solutions

❌ Problem: Chatbot doesn't know company info

Solution: Make sure you included basic company details in your training data. Add a 'Company Information' section with hours, contact info, etc.

❌ Problem: Answers are too generic

Solution: Add more specific details to your training data. Include exact timeframes, prices, and step-by-step instructions.

❌ Problem: Chatbot contradicts itself

Solution: Review your training data for conflicting information. Make sure all answers about the same topic are consistent.

6

Customize Chatbot Appearance

12 mins
Beginner

Make your chatbot match your brand and website design

📋 Detailed Instructions

Step 1: Access appearance settings

In your Chatbase dashboard, go to your chatbot and look for 'Appearance', 'Customize', or 'Branding' settings.

💡 Tip: This is usually in the main chatbot settings or under an 'Integrations' tab.

Step 2: Upload your logo

Upload your company logo (PNG or JPG, recommended size: 100x100 pixels). This will appear in the chat header.

💡 Tip: Use a square logo if possible. If your logo is rectangular, it might get cropped.

Step 3: Set brand colors

Choose colors that match your website. Set the primary color (for buttons and headers) and secondary color (for accents).

💡 Tip: Use your website's exact color codes (hex codes like #FF5733) for perfect brand matching.

Step 4: Customize the welcome message

Write a friendly greeting that introduces your chatbot. Example: 'Hi! I'm here to help with any questions about [your company]. How can I assist you today?'

💡 Tip: Keep it short but welcoming. Mention what the bot can help with to set expectations.

Step 5: Set up suggested questions

Add 3-4 buttons with common questions like 'Business Hours', 'Return Policy', 'Track My Order', 'Contact Support'.

💡 Tip: Use your most frequent customer questions. This helps users get started quickly.

Step 6: Configure chat window settings

Set the chat window size, position (bottom right is standard), and whether it starts open or closed.

💡 Tip: Most users expect the chat in the bottom right corner. Starting closed is less intrusive.

⚙️ Configuration Details

// Brand Customization Checklist:
✅ Logo uploaded (100x100px recommended)
✅ Primary color matches website
✅ Secondary color complements primary
✅ Welcome message written
✅ 3-4 suggested questions added
✅ Chat position set (bottom right)
✅ Chat window size configured

// Example Welcome Message:
"👋 Hi there! I'm [Bot Name], your virtual assistant for [Company Name]. I can help you with:

• Order status and tracking
• Product information
• Return and exchange policies  
• Business hours and contact info
• Technical support

What can I help you with today?"

// Example Suggested Questions:
1. "What are your business hours?"
2. "How do I return an item?"
3. "Track my order"
4. "Contact a human agent"

// Color Code Examples:
Primary: #2563eb (blue)
Secondary: #f3f4f6 (light gray)
Text: #1f2937 (dark gray)
Background: #ffffff (white)

🔧 Common Issues & Solutions

❌ Problem: Logo appears blurry

Solution: Upload a higher resolution image (at least 200x200px) and make sure it's a PNG with transparent background.

❌ Problem: Colors don't match website

Solution: Use a color picker tool to get exact hex codes from your website. Many browsers have built-in color picker tools.

❌ Problem: Welcome message too long

Solution: Keep it under 100 words. Focus on what the bot can help with rather than company history.

7

Embed Chatbot on Your Website

10 mins
Beginner

Add the chatbot to your website with a simple code snippet

📋 Detailed Instructions

Step 1: Get your embed code

In Chatbase, go to your chatbot settings and look for 'Embed' or 'Integration'. You'll see a code snippet that looks like HTML.

💡 Tip: This code is unique to your chatbot. Don't share it publicly as others could use your chatbot.

Step 2: Copy the embed code

Click the 'Copy' button next to the embed code, or select all the text and copy it (Ctrl+C on Windows, Cmd+C on Mac).

💡 Tip: The code will look like <script> tags with some JavaScript. This is normal and safe.

Step 3: Access your website editor

Log into your website platform (WordPress, Shopify, Wix, Squarespace, etc.) and go to the page editor or theme customizer.

💡 Tip: If you're not sure how to edit your website, contact your web developer or check your platform's help documentation.

Step 4: Find the right place to add code

Look for 'Custom HTML', 'Code Injection', 'Footer Scripts', or 'Before </body> tag' in your website settings.

💡 Tip: The exact location varies by platform. Adding to the footer or before </body> tag works for most sites.

Step 5: Paste the embed code

Paste the Chatbase embed code into the HTML/code section. Make sure you don't accidentally delete any existing code.

💡 Tip: Paste it on a new line, separate from other code. If you're unsure, ask a developer for help.

Step 6: Save and test

Save your changes and visit your website. You should see the chat widget appear (usually in the bottom right corner).

💡 Tip: If you don't see it immediately, try refreshing the page or clearing your browser cache.

⚙️ Configuration Details

<!-- Example Embed Code (yours will be different): -->
<script>
  window.embeddedChatbotConfig = {
    chatbotId: "your-unique-chatbot-id",
    domain: "www.chatbase.co"
  }
</script>
<script
  src="https://www.chatbase.co/embed.min.js"
  chatbotId="your-unique-chatbot-id"
  domain="www.chatbase.co"
  defer>
</script>

<!-- Platform-Specific Instructions: -->

=== WORDPRESS ===
1. Go to Appearance > Theme Editor
2. Edit footer.php file
3. Paste code before </body> tag
OR use a plugin like "Insert Headers and Footers"

=== SHOPIFY ===
1. Go to Online Store > Themes
2. Click "Actions" > "Edit Code"
3. Edit theme.liquid file
4. Paste code before </body> tag

=== WIX ===
1. Go to Settings > Custom Code
2. Add code to "Body - End"
3. Apply to all pages

=== SQUARESPACE ===
1. Go to Settings > Advanced > Code Injection
2. Paste code in "Footer" section
3. Save changes

🔧 Common Issues & Solutions

❌ Problem: Chatbot not appearing

Solution: Check that you pasted the code correctly and saved changes. Try clearing browser cache or testing in incognito mode.

❌ Problem: Code breaks website

Solution: Remove the code immediately and check for typos. Make sure you didn't accidentally delete existing code when pasting.

❌ Problem: Chatbot appears but doesn't work

Solution: Check that your chatbot is published/active in Chatbase. Also verify your OpenAI API key is working.

8

Test and Launch Your Chatbot

15 mins
Beginner

Thoroughly test your chatbot and prepare for customer interactions

📋 Detailed Instructions

Step 1: Test basic functionality

Visit your website and test the chatbot with simple questions like 'What are your hours?' and 'How do I contact you?'

💡 Tip: Test from different devices (phone, tablet, computer) to make sure it works everywhere.

Step 2: Test complex scenarios

Try asking difficult questions, questions with typos, and questions outside your business scope to see how the bot handles them.

💡 Tip: The bot should gracefully handle questions it can't answer by offering to connect with a human agent.

Step 3: Test the handoff to humans

Make sure customers can easily reach a human when needed. Test phrases like 'I want to talk to a person' or 'Connect me to support'.

💡 Tip: Set up clear instructions for how customers can reach human support when the bot can't help.

Step 4: Set up analytics tracking

In Chatbase, explore the analytics section to understand what metrics you can track (conversations, satisfaction, common questions).

💡 Tip: Pay attention to unanswered questions - these show you what training data to add next.

Step 5: Create a monitoring routine

Plan to check your chatbot weekly for new questions, errors, or customer feedback. Set up email notifications if available.

💡 Tip: Regular monitoring is key to improving your chatbot over time. Schedule 30 minutes weekly for chatbot maintenance.

Step 6: Prepare your team

Train your human support team on how the chatbot works and when they might need to take over conversations.

💡 Tip: Make sure your team knows how to access chat transcripts and continue conversations smoothly.

⚙️ Configuration Details

// Testing Checklist:
✅ Basic questions (hours, contact, policies)
✅ Product-specific questions
✅ Typos and misspellings
✅ Questions outside business scope
✅ Requests for human support
✅ Mobile device testing
✅ Different browsers (Chrome, Safari, Firefox)
✅ Chat widget appearance and positioning

// Common Test Questions:
1. "What are your business hours?"
2. "How do I return something?"
3. "I need help with my order #12345"
4. "Do you sell [product not in your catalog]?"
5. "I want to speak to a manager"
6. "Help me plz" (test typo handling)
7. "What's your phone number?"
8. "How much does shipping cost?"

// Analytics to Monitor:
- Total conversations per day/week
- Most common questions asked
- Questions the bot couldn't answer
- Customer satisfaction ratings
- Average conversation length
- Peak usage times

// Weekly Maintenance Tasks:
□ Review unanswered questions
□ Update training data based on new questions
□ Check for any error messages
□ Review customer feedback
□ Update business information if changed
□ Test major functionality

🔧 Common Issues & Solutions

❌ Problem: Bot gives wrong answers

Solution: Review and update your training data. Add more specific examples and clarify ambiguous information.

❌ Problem: Customers can't reach humans

Solution: Add clear instructions in your bot's training about how to contact human support. Include phrases like 'speak to agent' or 'human help'.

❌ Problem: Too many irrelevant questions

Solution: Improve your welcome message to set clear expectations about what the bot can help with.

Ready to Build Your AI Customer Support Chatbot?

Follow this guide step-by-step and you'll have a professional AI chatbot handling customer support in just 90 minutes. No coding experience required!

💡 Need help? Join our community Discord for live support while building your chatbot!