Projects
SDK Configuration
Options reference for the Web SDK: positioning, audio, custom CSS, z index, and event emitters. Overview Pass runtime options to Asiyst.init() to adapt the...
On this page (2 sections)
Overview
Pass runtime options to Asiyst.init() to adapt the floating widget to match your product's design system.
Full SDK Options Interface
Asiyst.init({
projectId: "proj_9f8a2b3c4d",
publicKey: "pk_live_8e7d6c5b4a3f2e1d",
options: {
position: "bottom-right",
offset: { x: 24, y: 32 },
theme: "auto",
soundEffects: true,
voiceEnabled: true,
autoGreeting: true,
greetingDelayMs: 3000,
zIndex: 9999,
},
});