Skip to main content

How to Create a Helpdesk Chatbot for Your Website with TeamAI

Imagine having a ChatGPT-like experience to your website, instantly answering visitors' questions and providing them information they need.

Abdul Samad avatar
Written by Abdul Samad
Updated over 2 weeks ago

Overview

This guide explains how to create, configure, and embed AI-powered chatbots that provide visitors to your website with instant answers and assistance. TeamAI chatbots offer a ChatGPT-like experience customized specifically for your products and services.

Learning Objectives:

  • Create a new chatbot assistant in your workspace

  • Configure chatbot settings and appearance

  • Train your chatbot with your website content

  • Embed the chatbot on your website

Prerequisites

You'll Need:

  • Access to your workspace with a paid plan that includes chatbot creation capabilities

  • Website content to train your chatbot (URLs, documentation, FAQs)

  • Admin access to your website for embedding the chatbot code

  • Clear understanding of your chatbot's intended purpose


Initiate Agent Creation

Access Agent Builder

  1. Navigate to the agents tab in the left panel

  2. Click Create agent

Result: Opens the agent creation wizard to begin configuration.

Select Creation Method

  • Select Create agent with AI (recommended for guided setup)

  • Or manually provide detailed instructions

Result: Enters the agent configuration workflow.


Define Agent Purpose

Configure Identity and Access

  1. Set the name for your AI agent

  2. Write a description clarifying its role and capabilities

  3. Select your preferred AI model

Set Visibility Level

Choose who can access your agent:

  • Personal - Only visible to you

  • Workspace - Visible to all team members in your workspace

  • Organization - Visible to all workspaces in your organization

Provide Behavioral Instructions

Answer: "What would you like the AI Agent to know about you to provide better responses?"

  • Specify how the agent should behave and respond

  • Define tasks to focus on

  • Include actions to avoid

Result: Establishes agent identity, access controls, and behavioral foundation.

Important: Choose visibility carefully based on data sensitivity and intended audience.


Configure Conversation Features

Enable Conversation Opener

  1. Toggle Conversation Opener to enabled (recommended)

  2. Write an Opening Statement (example: "Hello! I'm here to help you")

  3. Personalize the statement to match your agent's purpose

Add Opening Questions

  1. Create questions the AI can ask users to start conversations

  2. Personalize questions for your use case

  3. Use AI-generated suggestions or write your own

Result: Creates an engaging entry point that establishes connection with users.

Tip: Effective opening questions help guide users toward successful interactions.


Enable Built-in Tools

Select Agent Capabilities

Enable tools based on your agent's requirements:

Tool

Purpose

When to Enable

Web Search šŸ”

Access real-time information from the web

When agent needs current events, market data, or live information

Retrieval šŸ“„

Extract information from specific websites

For competitor analysis, article summarization, or product research

Code Interpreter šŸ’»

Automate spreadsheet tasks and calculations

For data analysis, custom calculations, or technical problem-solving

Image Generation šŸŽØ

Create professional visuals with Imagen

For marketing materials, mock-ups, or social media graphics

  1. Toggle each tool on or off based on your needs

  2. Review tool descriptions to understand capabilities

Result: Extends your agent's capabilities beyond basic conversation.

Tip: Only enable tools your workflow requires to maintain focus and efficiency.



Connect Knowledge Sources

Link Datahub Collections

  1. Navigate to the Connect datahub section

  2. Select collections and datastores your agent can access

  3. Use Sync tree selection to select/unselect nested datastores with parent nodes

  4. You may leave this blank if you would like the agent to fetch information exclusively from the web

Result: Provides your agent with organizational knowledge to reference in responses.

Privacy Note: Review sensitive information before adding datastores, as content may appear in agent outputs.


Review and Validate Configuration

Verify Agent Settings

Review the configuration summary containing:

  • Name and Description

  • Model selection

  • Pre-built Tools enabled (web_search, retrieve, code_interpreter, imagen)

  • Custom Tools (if created)

  • Knowledge Sources (collections selected)

  • Instructions provided

  • Visibility settings

Result: Confirms all parameters are correct before final creation.

Important: Carefully review all settings. Changes after creation may require republishing.


Test and Deploy

Debug and Preview

  1. Access debug and preview mode

  2. Test your agent with sample queries

  3. Refine instructions and settings based on test results

  4. Click Publish when validation is complete

Result: Your agent is deployed and available to team members based on visibility settings.


Embed Your Chatbot on Your Website

Embed your chatbot

  1. Navigate to Channels in your assistant (agent) to view embed options

  2. On available channels click on website, the website integration window will appear

  3. Under website integration you will find the different options:

    • Option 1: Embedding via iframe

      Embedding your chatbot using an iframe allows you to place it anywhere on your webpage. Here’s how:

      • Click on the "website integration" tab and choose the first option.

      • Copy the provided iframe code.

      • Paste this iframe code into the HTML of your webpage where you want the chatbot to appear.

      Option 2: Embedding as a Popup

      Embedding your chatbot as a popup places it at the bottom right corner of your website, making it easily accessible without taking up much space. Follow these steps:

      • Click on the "website integration" tab and choose the second option.

      • Select the second script option for embedding as a popup.

      • Paste this script code into the HTML of your webpage.


Best Practices

  1. Start with Clear Purpose: Define your agent's goal before configuration to ensure alignment with business needs

  2. Choose Appropriate Visibility: Consider data sensitivity when selecting access levels—Personal for private work, Workspace for team collaboration, Organization for company-wide access

  3. Write Specific Instructions: Clear, detailed instructions produce more accurate and consistent responses

  4. Enable Tools Strategically: Only activate tools your workflow requires to avoid unnecessary complexity and potential errors

  5. Test with Real Scenarios: Use actual questions your team will ask to validate agent performance

  6. Organize Knowledge Sources: Well-structured datastores improve retrieval accuracy and response quality

  7. Review Before Publishing: Double-check all settings in the review screen to prevent configuration errors

  8. Monitor and Iterate: Track usage patterns and refine agent based on feedback and performance metrics

Troubleshooting & FAQ

Q: My agent cannot access the datastores I selected.
A: Verify sync tree selection includes all nested datastores and confirm datahub permissions are properly configured.

Q: Team members cannot see my published agent.
A: Confirm visibility is set to "Workspace" or "Organization" (not "Personal") and validate workspace permissions.

Q: How do I change my agent's model after creation?
A: Edit the agent configuration, select a different model, then republish to apply changes.

Q: Can I disable tools after publishing?
A: Yes, modify tool settings in the configuration and republish the agent to update capabilities.

Q: My agent is not asking the opening questions I configured.
A: Ensure "Conversation Opener" is enabled and verify the opening statement is properly formatted.

Q: What is the difference between Retrieval and Web Search tools?
A: Retrieval extracts information from specific, pre-configured websites; Web Search queries the live internet broadly.

Q: How do I remove a datastore connection?
A: In the datahub connection screen, use sync tree selection to deselect the datastore.

Q: Can I preview my agent before publishing?
A: Yes, use debug and preview mode to test and refine before making the agent available to your team.

Did this answer your question?