Skip to main content

Widget Builder

The AI Widget Builder in CrawlDesk allows you to create customizable, embeddable AI chat widgets for your websites or apps. These widgets provide instant AI-powered assistance by leveraging your project's indexed data sources, enabling users to "Ask me anything" about your documentation. The builder offers a visual interface to configure appearance, behavior, and content, with previews across devices (Desktop, Tablet, Mobile) and seamless embedding options for various platforms.

This guide covers configuring the widget's general settings, appearance, behavior, and questions, as well as embedding the generated script. Access the AI Widget Builder from your project dashboard at https://app.crawldesk.com/dashboard/ by selecting a project and navigating to the "AI Widget" section. Ensure your project has active data sources for the widget to function effectively.

Key Benefits of the AI Widget Builder:

  • Customization: Tailor the look and feel to match your brand with themes, colors, and logos.
  • Responsiveness: Preview and optimize for desktop, tablet, and mobile devices.
  • Interactivity: Add features like clear/stop buttons, like/dislike feedback, and suggested questions.
  • Easy Embedding: Generate ready-to-use code for JavaScript, React, WordPress, and more.

Prerequisites:

  • Active CrawlDesk account with a configured project and data sources.
  • Browser access to the project dashboard.
  • Basic knowledge of embedding scripts (for integration).

Customization

Configure the basic information and footer for your AI widget to set its identity and disclaimers.

  1. Access the Configuration Panel
    In the AI Widget Builder, click the ⚙️ General tab in the sidebar.

  2. Set Basic Information
    Fill in the following fields:

    • Widget Title: Enter the main heading (e.g., "Ask me anything").
    • Subtitle: Add a helpful tagline (e.g., "I’m here to help you out").
    • Assistant Name: Name your AI assistant (e.g., "ChatBuddy").
    • Brand Name: Specify your company or site name (e.g., "Your Brand").
    • Brand Logo URL: Provide a logo image URL (e.g., https://example.com/logo.png).
  3. Configure Footer Settings

    • Powered By Text: Set attribution (e.g., "Powered by AI").
    • Disclaimer Text: Add legal notes (e.g., "AI responses may vary").
  4. Save Changes
    Click Save Configuration at the bottom. The preview canvas (e.g., 1200px width) will update, and note the "Last saved: Just now" timestamp.

Tips:

  • Use a high-resolution logo for crisp display across devices.
  • Keep disclaimers concise to avoid cluttering the footer.