⚠️ DEMO PAGE: This page demonstrates two different ways to integrate the chat assistant into your website.

Singapore Government Grants

This demo page shows how the chat assistant can be integrated into your website.

Try using the chat button in the corner or the chat links throughout the content.

Featured Business Grants

Productivity Solutions Grant (PSG)

The Productivity Solutions Grant (PSG) supports businesses in the adoption of productivity solutions and equipment. It covers sector-specific solutions including retail, food, logistics, precision engineering, construction, and landscaping.

Grant Amount: Up to 70% funding support

Chat with askHugh.ai

Enterprise Development Grant (EDG)

The Enterprise Development Grant supports projects that help Singapore companies grow and transform. This grant supports projects under three pillars: Core Capabilities, Innovation and Productivity, and Market Access.

Grant Amount: Up to 70% of qualifying costs

Chat with askHugh.ai

Eligibility Criteria

To be eligible for most government grants, businesses must:

Not sure if you qualify? Check your eligibility with our assistant.

Application Process

Step Description
1. Check Eligibility Verify if your business meets the eligibility criteria for the grant.
2. Prepare Documents Gather necessary documents including business profile, financial statements, and project proposal.
3. Submit Application Submit your application through the Business Grants Portal.
4. Evaluation Your application will be evaluated by the relevant government agency.
5. Outcome Notification You will be notified of the outcome of your application.

Need help with your application? Ask our assistant for guidance.

Implementation Details

Floating Button Implementation

The floating button widget creates a fixed-position button in the corner of your website. When clicked, it opens an iframe containing the chat interface.

Basic Implementation

<!-- Add this to your website's HTML -->
<script src="/api/embed-script"></script>

How It Works

  1. The script creates a floating button in the bottom-right corner
  2. When clicked, it opens an iframe with the chat interface
  3. The chat interface communicates with the parent window using postMessage
  4. The button can be clicked again to hide the chat

Combined Widget Implementation

The combined widget provides both a floating button and in-content chat links with a single script. This is the recommended approach for most websites.

Basic Implementation

<!-- Add this single script to get both button and links -->
<script src="/api/embed-script?enableLinks=true"></script>

<!-- Add this wherever you want chat links to appear -->
<span data-ai-chat-link></span>

Available Parameters

<script src="/api/embed-script?enableLinks=true
  &text=Chat with us         // Default text for links
  &class=my-link-class"      // Additional CSS classes for links
></script>

Benefits of Combined Approach

  • Single script to manage for easier maintenance
  • Consistent user experience between button and links
  • Reduced page load with only one script
  • Both interfaces share the same chat backend

Advanced Styling

The same styling options apply to both interfaces:

/* Button widget styling */
#ai-chat-widget-button {
  background-color: purple;
  width: 60px;
  height: 60px;
}

/* Link widget styling */
.ai-chat-link {
  color: #ff0000;
  font-weight: bold;
}

.ai-chat-dialog {
  border: 2px solid gold;
}