> ## Documentation Index
> Fetch the complete documentation index at: https://docs.firstwork.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Chatbot

> Set up an AI chatbot with a custom knowledge base to guide applicants through the hiring journey

The Chatbot is an AI-powered assistant that helps applicants as they move through a hiring flow. It answers questions, provides guidance, and reduces drop-off by giving candidates instant support — without requiring admin intervention.

***

## Knowledge Base

The chatbot is powered by a **knowledge base** that you configure per hiring flow. The knowledge base contains the information the chatbot uses to answer candidate questions.

### Setting Up a Knowledge Base

1. Navigate to your hiring flow settings
2. Open the **Chatbot** section
3. Add entries to the knowledge base — these can include:
   * FAQs about the role, company, or application process
   * Instructions for completing specific steps (document uploads, scheduling, etc.)
   * Details about compensation, benefits, and work location
   * Policies on background checks, drug testing, or other requirements

The chatbot uses this knowledge base to generate accurate, context-aware responses. It will only answer based on the information you provide — it won't make things up.

***

## How It Works

1. A candidate opens their application in a hiring flow
2. The chatbot appears as a conversation widget
3. The candidate asks a question (e.g., "What documents do I need?" or "How long does the process take?")
4. The chatbot responds using the knowledge base you configured

<img src="https://mintcdn.com/firstwork/l5RE2YxvAgfE5ZwS/images/chatbot-widget.png?fit=max&auto=format&n=l5RE2YxvAgfE5ZwS&q=85&s=4ac0f21cb234d1ca302309dbdb9254d1" alt="Chatbot conversation widget" width="1374" height="1704" data-path="images/chatbot-widget.png" />
