FigoAILabs API Documentation
    FigoAILabs API Documentation
    • Quickstart
    • Website Javascript Plugin
    • Rate Limits & Pricing
    • APIs
      • Chat Assistant API
        POST
      • Image Assistant API
        POST
      • Text To Speech API
        POST
      • Speech To Text API
        POST
      • Guardrails API
        POST
      • CV Scoring API
        POST
      • Web Search API
        POST
      • Sentiment Analysis API
        POST
      • Message Context API
        POST
      • Image Analyzer API
        POST

    Website Javascript Plugin

    Enhance your website or application with an intelligent AI Assistant that provides real-time engagement and support. Choose the integration method that best suits your needs and start delivering AI-powered interactions effortlessly.

    1. WebChat URL Approach (No-Code, Instant Deployment)#

    Integrate your AI Assistant effortlessly by using a WebChat URL, allowing users to interact with it directly from your application. This approach is ideal for fast deployment without requiring additional development.
    Steps to Get Your WebChat URL:
    1.
    Log in to your dashboard.
    2.
    Navigate to Assistants and select your AI Assistant.
    3.
    Click on the [Manage] button.
    4.
    Copy the x-client and Assistant Id.
    5.
    Go to the Widget Tab and locate the WebChat URL.
    6.
    Copy the WebChat URL and embed it within your application.
    Example Use Cases:
    Embed in a mobile app's WebView.
    Open in a modal or pop-up on your website.
    Add as an iFrame for seamless integration.

    2. JavaScript Widget Approach (For Developers)#

    For greater customization and control, integrate your AI Assistant using our JavaScript Widget. This method is ideal for developers who want to tailor the assistant's behavior, appearance, and interaction flow within a web application.
    Steps to Use the JavaScript Widget:
    1.
    Log in to your dashboard.
    2.
    Navigate to Assistants and select your AI Assistant.
    3.
    Click on the [Manage] button.
    4.
    Copy the x-client and Assistant Id.
    5.
    Go to the Widget Tab and locate the JavaScript widget scripts.
    6.
    Copy the script and library reference to your web application.

    Inject this script in your website:#


    (a) Minimal Initialization#


    (b) Initialization With Settings#


    (c) Custom Button Initialization#


    Example Use Cases:
    Add AI-powered FAQs on your website.
    Provide real-time AI assistance within a web app.

    Need Help?#

    Not sure which method works best for your needs?
    Our team is here to help!
    šŸ‘‰ Talk to Our Experts
    Modified atĀ 2025-04-28 10:19:47
    Previous
    Quickstart
    Next
    Rate Limits & Pricing
    Built with