🌐 Creating a Website Widget

Follow these steps to create and deploy a website widget for your assistant.

Step 1: Access the Playground

Navigate to the /dashboard/playground route by either:

  • Clicking "Playground" on the app sidebar
  • Directly accessing the URL in your browser

Step 2: Configure Widget Settings

Fill out the form on the left with the following details:

  • Organization: Select your organization from the dropdown
  • Assistant: Choose the assistant you want to use
  • Widget Name: Enter a descriptive name for your widget
  • Avatar: Upload an assistant avatar image
  • Website URL: Enter your website URL (e.g., https://yourwebsite.com)
  • Brand Color: Choose your brand color (default: #007fff)
  • Greeting Message: Customize the initial message (e.g., "Hello! I'm here to help.")

Step 3: Create and Deploy

Click the "Create Widget" button to generate your widget. You'll receive deployment instructions that you can copy and use to integrate the widget on your chosen platform.

Step 4: View Your Widgets

To manage or view your created widgets:

  • Visit the widgets page through the dashboard sidebar
  • Or navigate to /dashboard/widgets