This guide walks you through setting up and configuring JakBot, a WordPress AI chatbot plugin that supports multiple providers and advanced features like conversation contracts, appointment scheduling, and intelligent lead response. You’ll learn how to install the plugin, configure AI providers, set up bots, and utilize the various lead generation and content search capabilities.
Installation and Basic Setup
- Upload the JakBot plugin to your WordPress site and activate it through the Plugins menu.
- Navigate to JakBot in your WordPress admin menu after activation.
- Obtain your Google Gemini API key from AI Studio or set up OpenAI credentials if using that provider.
- Enter your API key in the JakBot settings page.
- Configure your admin email address where conversation summaries and lead notifications will be sent.
- Select which content types you want indexed for semantic search (posts, pages, custom post types).
- Set the store session time to configure how long conversation data is retained before automatic deletion (1-8760 hours).
Creating and Configuring Bots
- Go to JakBot → Manage Bots in your WordPress admin.
- Click Add New Bot to create a new chatbot instance.
- Enter a descriptive name for your bot (this will auto-generate a slug for the shortcode).
- Configure the System Instructions field with prompts that define how your bot should interact with visitors.
- Add Welcome Messages (optional) – enter one intro question per line that the bot will ask visitors.
- Set a Search Results Message (optional) to customize what the bot says when presenting found content.
- Choose an assistant icon from the available options.
- Select a chat template from the five built-in options (default, standard, modern, modernbar, topdown).
- Save your bot configuration and copy the generated shortcode for placement.
Use the shortcode [jakbot bot_name="your-bot-name"] to display a specific bot on pages or posts. You can also use parameters like position, bottom, width, and height to customize placement.
Setting Up Content Indexing for Semantic Search
- Navigate to JakBot → Settings in your admin area.
- Select the content types you want indexed under Content Types (posts, pages, custom post types).
- Configure the Excerpt Word Count to control how much content is stored for each indexed item.
- Click Re-index Content to build the initial embedding database.
- Monitor the indexing progress through the admin interface.
The bot will automatically update embeddings when you save or edit posts. You can trigger manual re-indexing if you switch AI providers or need to rebuild the search database.
Configuring Conversation Contract Mode
- Create a JSON contract defining the structured interview steps you want the bot to follow.
- Include ordered steps with questions, field names to collect, and optional validation hints.
- Configure the contract in your bot settings to enable guided lead collection.
- Set up the completion threshold and actions for when visitors complete all contract steps.
- Test the contract flow to ensure proper step progression and data collection.
Contract mode enforces server-side state management. The AI cannot skip steps or mark sessions complete prematurely, ensuring structured data collection for every visitor interaction.
Setting Up the Appointment Scheduler
- Navigate to JakBot → Appointments in your admin menu.
- Configure availability slots using the monthly calendar interface.
- Set appointment duration, booking window, minimum lead-in time, and timezone preferences.
- Choose between dedicated scheduling bot mode or automatic intent detection within standard chats.
- Configure confirmation emails for both admin and visitor notifications.
- Test the booking flow by triggering phrases like “book a call” or “schedule a meeting” in your bot.
Configuring Intelligent Lead Response System
- Install and activate Contact Form 7 if not already present on your site.
- Navigate to JakBot → Lead Settings to configure the lead response system.
- Set the processing mode to either “Draft & Review” (default) or “Auto-Send” for fully automated responses.
- Configure spam protection settings including message length filters and rate limiting.
- Set the similarity threshold for matching inquiries against your indexed content.
- Configure daily processing limits and cron interval timing (5-60 minutes).
- Set up lead retention cleanup period (default 90 days).
- Monitor incoming leads through JakBot → Lead Queue for approval and management.
Customizing Templates
- Go to JakBot → Templates to view available template options.
- Choose from five built-in templates or create custom overrides in your theme directory.
- Copy templates to
your-theme/jakbot/templates/for customizations that survive plugin updates. - Follow the WooCommerce-style template hierarchy: child theme → parent theme → plugin directory.
- Use the admin interface to detect outdated overrides and manage template versions.
- Enable debug mode to see template source paths in HTML comments during development.
Template overrides support version management with automatic detection of outdated files and safe update options including auto-backup functionality.
Monitoring and Management
- View all conversations through JakBot → Conversations with unified display of standard and contract interactions.
- Export conversation data via CSV for analysis and record-keeping.
- Monitor daily summary emails sent to your configured admin address.
- Use the dashboard widget to track today’s usage, pending leads, and 7-day statistics.
- Manage appointment bookings through the dedicated appointments admin page with status filtering and bulk actions.
- Enable the “Email This Conversation” feature to allow visitors to send themselves transcripts.
Summary
You have successfully configured JakBot with the following capabilities:
- Multi-bot support with individual configurations and shortcode deployment
- Semantic content search using vector embeddings for relevant page discovery
- Conversation contract mode for structured lead collection with server-side enforcement
- Appointment scheduling system with calendar management and automated confirmations
- Intelligent lead response system with Contact Form 7 integration and admin review workflow
- Template customization system with theme override support and version management
- Comprehensive monitoring and management tools for conversations, leads, and appointments