Skip to main content

Freshdesk

The CrawlDesk Ask AI widget enhances your Freshdesk support portal by adding an interactive AI-powered assistant that allows users to ask natural language questions directly within your portal. The widget is integrated via a lightweight script embed, hosted at https://cdn.crawldesk.com/widget.iife.js.

This guide details how to deploy the Ask AI widget in a Freshdesk support portal using the script embed method, including configuring a CrawlDesk project and embedding the widget script.

Prerequisites:

  • Active CrawlDesk account
  • Freshdesk support portal set up.
  • CrawlDesk widget API key (obtained from the CrawlDesk dashboard).

Deploying the Ask AI Widget

Follow these steps to deploy the CrawlDesk Ask AI widget in your Freshdesk support portal using the script embed method.

  1. Access Freshdesk Admin Panel
    Log in to your Freshdesk account as an administrator.
    Navigate to the Admin tab.

  2. Add the Widget Script
    In the Admin panel, go to Portals > Settings.
    Select the portal where you want to add the widget.
    Click on Edit Portal and navigate to the Custom Scripts section.
    Paste the following script in the Footer section:

    <script
    src="https://cdn.crawldesk.com/widget.iife.js"
    onload="initAIWidget({
    key: 'YOUR_CRAWLDESK_WIDGET_KEY'
    })"
    ></script>

    Replace YOUR_CRAWLDESK_WIDGET_KEY with your actual CrawlDesk API key (e.g., wk_live_******).

  3. Customize the Widget
    Visit your CrawlDesk dashboard to tailor the widget to your brand. You can adjust settings such as colors, logos, and other styling options to create a seamless, branded experience for your users.

info

Since Freshdesk loads custom JavaScript files globally in the portal, please ensure you follow security best practices when adding custom scripts to your documentation. For example, keep your widget key secure and avoid exposing sensitive information.