플레이그라운드
페이지와 당신의 친구가 함께할 수 있는 모든 것
실제 어시스턴트는 이 페이지에 도킹되어 있습니다. 도구를 선택하고 컨트롤을 누르고 패널의 반응을 보세요 — 그다음 그것을 한 정확한 코드를 복사하세요. 계정도, 설치할 것도 없습니다.
모든 컨트롤은 라이브 위젯에서 실행되고, 모든 스니펫은 당신의 사이트가 사용할 코드입니다.
패널을 표시하고, 숨기고, 뒤집으며, 방문자가 보기 전에 색상 체계와 언어를 고정합니다.
한 개의 태그로 마운트하고, 네 개의 호출로 제어합니다 — 자신의 iframe을 크기 조정할 필요 없고, 유지할 상태도 없습니다.
시도해보기
위젯을 아직 불러오는 중입니다 — 컨트롤은 도착하자마자 활성화됩니다.
이를 수행하는 코드
index.htmlhtml
<!-- ONE tag mounts the launcher + the panel on any page. -->
<script
src="https://busymate.ai/embed/v1.js"
data-assistant="your-workspace-slug"
data-label="Ask us"
data-title="Assistant"
data-aria-label="Open the assistant"
async></script>panel.jsjavascript
// The loader installs window.BusymateAI. Every call is safe before the frame
// has loaded — commands queue and deliver on load.
BusymateAI.open();
BusymateAI.close();
BusymateAI.toggle();
BusymateAI.isOpen(); // → true | falsepreset.jsjavascript
// Preset the panel from the page: colour scheme + language.
// Neither is persisted by the frame — your page owns them while it embeds it.
BusymateAI.setTheme("dark"); // "light" | "dark" | "system"
BusymateAI.setLocale("de"); // any BCP 47 tag the platform serves
BusymateAI.setLocale(null); // unpin — the frame follows the visitor again
BusymateAI.open();9단계 중 1단계