חזרה ללוח הבקרה

תיעוד

למדו כיצד להשתמש ב-Asyntai

תכונות
סרגל Ask AI סרגל חיפוש AI חיפוש AI לוורדפרס AI Search for Joomla AI Search for Webflow AI Search for Moodle AI Search for TYPO3 AI Search for Craft CMS AI Search for Grav AI Search for October CMS AI Search for ProcessWire AI Search for Odoo AI Search for Bagisto AI Search for OpenCart AI Search for BigCommerce AI Search for Magento סריקת אתר פערי ידע כרטיסי מוצר כרטיסי מוצר דינמיים תמונות דינמיות הקשר משתמש כלים מותאמים אישית פרמטרי קישור ניטור בזמן אמת השתלטות אנושית הסלמה התראות AI דו"ח יומי הזנת נתונים בזמן אמת הזנת נתונים בזמן אמת מקס חברי צוות כניסה אחידה אימות דו-שלבי הוספת תמונות ראיית תמונות ווידג'ט תרגום לוקליזציה שקיפות בינה מלאכותית לידים לכידת לידים חכמה כרטיסי תמיכה קטגוריות שיחה הזמנות הטמעות החרגת דפים כתובות IP חסומות מדיניות שמירת נתונים מצב אפס שמירה הסתרת מידע אישי (PII) מסווג התשובות Access Tags נעילת גרסת הווידג'ט יומן ביקורת מודל חכם יותר הפעלת חשיבה הצעות לתשובות הודעות מעקב דיבור לטקסט הורדת תמליל צ'אט מוטמע הטמעה באמצעות iframe

Astro Integration

Add the Asyntai AI chat assistant to your Astro site

Create Account

Overview

Astro is a website framework. The Asyntai integration is an npm package. Add it to your Astro configuration, build the site, and the chat bubble is on every page.

The assistant answers your visitors from your own content, in more than 80 languages, day and night.

Requirements

  • Astro 4, 5, 6 or 7
  • Node 18 or later
  • An Asyntai account. The Free plan is enough to try the widget

Installation

Follow these steps to add Asyntai to your Astro site:

1

Get Your Widget ID

Sign in to Asyntai and open the Install page. The widget ID is the value of data-asyntai-id in the snippet shown there. It starts with asyntai_.

2

Add the Package

Run this command in your project folder:

npx astro add astro-ai-chatbot

You can also run npm install astro-ai-chatbot and add the integration by hand.

3

Set the Widget ID

Open astro.config.mjs and put your widget ID in the integration:

import { defineConfig } from 'astro/config';
import asyntai from 'astro-ai-chatbot';

export default defineConfig({
  integrations: [asyntai({ widgetId: 'asyntai_1a2b3c4d5e6f' })],
});
4

Build the Site

Run npm run build and publish. Open your site and the chat bubble is in the corner of every page.

Options

OptionTypeDefaultWhat it does
widgetIdstringrequiredYour Asyntai widget ID
enableInDevelopmentbooleantrueSet it to false to keep the widget off the site during astro dev
scriptUrlstringthe Asyntai CDNAdvanced. Load the widget from another URL

A missing or malformed widgetId stops the build with a message that says how to fix it.

How It Works

The integration adds the Asyntai loader to every page your site builds. The loader waits for the page's load event, so your own content always renders first.

It works with every Astro output mode: static, server and hybrid. TypeScript types ship with the package, so astro.config.ts works with no extra setup.

Answering From Your Content

Asyntai reads your published pages. Add your site URL in the dashboard, and the assistant answers from the same pages the widget sits on. You can also add documents, and question and answer pairs.

Tip: Set enableInDevelopment: false while you work on the site. The widget then shows up only on the built site.

Removing It

Delete the integration from astro.config.mjs and build again. The chat bubble is gone.

Plans & Pricing

The package is free. View pricing.

Need Help?

If you have any questions or run into issues, contact us at [email protected].