Documentation

Chat

  • Getting Started
  • Installation
  • Core Concepts
  • Escalation System
  • Widget Keys
  • Secret Keys (sk_)
  • REST API
  • Channels & Integrations
  • Messaging Platform API

Voice

  • Voice Agent
  • Setup Guide
  • Phone Numbers
  • Outbound Campaigns

Platform

  • Billing & Pricing
  • Glossary
  • FAQ

Installation

Get your development environment set up to work with Sampan.club.

Prerequisites

  • Node.js 18+ or higher
  • npm or yarn package manager
  • A modern web browser
  • A Sampan.club account

Web Embed Installation

The easiest way to add a chatbot to your website is using our embed script.

html
<script>
  window.sampanChatConfig = {
    widgetKey: "wk_your_key_here",
    version: "stable"
  };
</script>
<script src="https://cdn.sampan.club/stable/widget.stable.js" async defer></script>

Replace wk_your_key_here with your actual widget key from the dashboard.

The version parameter supports: stable (recommended), v1 (locked), or latest (bleeding edge).

React Installation

For React applications, install our npm package:

bash
npm install @sampanclub/react-widget

Then import and use in your component:

typescript
import { SampanWidget } from '@sampanclub/react-widget';

export default function App() {
  return (
    <SampanWidget 
      widgetKey="wk_your_key_here"
      position="right"
    />
  );
}

Done! Your chatbot is now installed. Visit the Core Concepts section to learn more.

Ready to transform your customer experience?

Join businesses already using Sampan to serve customers 24/7 and boost revenue with AI.

sampan.club

AI-powered customer service for businesses.

SAMPAN TECH
202603046389 (003825593-A)

Product

© 2026 SAMPAN TECH, trading as Sampan Club (sampan.club). All rights reserved.