Skip to main content
Needle AI

Needle Widgets: Add AI-Powered Chat to Your Website

2 min read

Needle Widgets are powerful drop-in solutions that enables you to add a RAG-powered chatbot to your website in seconds. RAG-powered chatbot helps increase user engagement and streamlines information discovery for your offerings.

Key Features

  • Collection-Based: Powered by Needle collections, ensuring accurate and relevant responses
  • Fully Managed: Hosted and maintained by Needle, reducing your operational overhead
  • Easy Integration: Simple installation process with just a few lines of code
  • Universal Compatibility: Works seamlessly with any website platform
  • Modern Design: Fully responsive, accessible, and secure implementation
  • Customizeable: Customize the looks to match with your website
  • Adjust System Prompt: Customize the answers based on a system prompt

Use Cases

Needle Widgets are perfect for various documentation and knowledge base scenarios:

  • Product Documentation
  • User Manuals
  • Frequently Asked Questions (FAQ)
  • Technical Knowledge Bases
  • Support Documentation
  • API Documentation
  • Training Materials

Implementation

Needle offers two types of widgets:

  1. Widget V2: A modern chat widget that can be triggered either programmatically or embedded directly into your webpage.
  2. Widget V1: A basic chat widget. (Deprecated)

Troubleshooting

If you encounter an Unauthorized Error, verify the following:

  • You entered the domain of your website in Needle widget configuration correctly
    • For example, if your page is https://www.example.com/home, you must enter www.example.com
  • Collection ID is correct, it must start with clt_
  • Client key is correct, it must start with clk_
    • Note that client key is different from API key
  • Widget code is properly added to your website
    • Right click on the page
    • Click on Inspect
    • Locate the widget code in the page source and verify

Need Help?

You can contact us anytime by discord or email. We are happy to help!