> ## Documentation Index
> Fetch the complete documentation index at: https://docs.boostgpt.co/llms.txt
> Use this file to discover all available pages before exploring further.

# SaaS

> AI chat widget with proactive triggers for your website

## AI Chat Widget for SaaS

Add an always-on AI support agent to your website with one script tag. The BoostGPT chat widget gives your users instant help 24/7, trained on your product knowledge — plus proactive triggers that engage users at friction points.

## What You Can Do

<CardGroup cols={2}>
  <Card title="Deploy Chat Widget" icon="message-square">
    Add a floating chat bubble to any website — always available for users
  </Card>

  <Card title="Create Events" icon="bolt">
    Define friction points and customize agent responses with context
  </Card>

  <Card title="Proactive Triggers" icon="bell">
    Show contextual messages when users need help — triggers appear as cards above the widget bubble
  </Card>

  <Card title="Track Analytics" icon="chart-line">
    Monitor widget engagement, trigger performance, and conversions
  </Card>
</CardGroup>

## How It Works

**Always-on support:**

```
User visits your site → Widget bubble appears → User clicks → Instant AI chat
```

**Proactive triggers:**

```
User hits friction point → Your code calls boostgpt.trigger()
    → Message card appears above bubble → User clicks → Chat opens with context
```

**Example Flow:**

1. User abandons checkout with items in cart
2. Your code detects this and calls `boostgpt.trigger('checkout_abandoned', { cart_value: '$149' })`
3. A message card appears above the widget bubble: "Having trouble checking out?"
4. User clicks, chat opens — agent already knows their situation and offers help
5. User completes purchase

## Use Cases

* **Customer Support** - Always-on AI agent answering product questions 24/7
* **Checkout Abandonment** - Re-engage users who start but don't complete purchases
* **Onboarding Friction** - Help users who get stuck during signup or setup
* **Feature Discovery** - Proactively introduce features users might find useful
* **Error Recovery** - Offer assistance when users encounter errors

## Get Started

<Steps>
  <Step title="Create an Agent">
    Build an AI agent trained on your product and support content
  </Step>

  <Step title="Install the Widget">
    Add the chat widget script to your website — one line of code
  </Step>

  <Step title="Define Events">
    Create events for each friction point you want to address
  </Step>

  <Step title="Add Triggers">
    Call `boostgpt.trigger()` when users hit friction points
  </Step>
</Steps>

## Next Steps

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/saas/quickstart">
    Set up your first widget and trigger in 5 minutes
  </Card>

  <Card title="Events Overview" icon="bolt" href="/saas/events/overview">
    Learn how events and context work
  </Card>

  <Card title="Event Triggers" icon="palette" href="/saas/chat-widget/triggers">
    Proactive messages via the widget
  </Card>

  <Card title="Best Practices" icon="lightbulb" href="/saas/best-practices">
    Tips for effective deployment
  </Card>
</CardGroup>
