Move from the old widget builder to the new widget system
Widgets you built in the old KickBot widget builder still run in OBS on the old runtime with the same widget URL, and you can still change their settings in My widgets. To edit code or publish updates, move the widget to the new widget system inside the editor. OBS keeps running the old version until you review the draft and click Make live.
What is new in the new widget system
Section titled “What is new in the new widget system”- Sandboxed
kbSDK: Each widget runs in its own sandbox with structured Kick events, including KickBot tips, TTS queue events,!imaginepictures, pinned messages, and stream start and end. It also adds per-widget cloud saved data (kb.store, up to 3 MB), dashboard Actions (controls), chat messages (kb.chat.send), TTS (kb.tts.say), and scene-local widget messaging (kb.emit). - Four-file editor with AI and versions: Edit
index.html,style.css,script.js, andwidget.jsonalongside built-in KickBot AI (Build a Kick widget with KickBot AI) or Your AI over MCP (Build a Kick widget with your own AI). The editor also includes a visual Settings editor with sections and conditional rules, Console, Events, and Saved data tabs, and Versions history. - No widget limit on Free: Both Free and Premium channels can create unlimited custom widgets (the old widget builder capped Free accounts at 10).
- Instant library publishing and Remix: Automatic checks replace manual staff review, and each publish creates a numbered version. You can publish to the library or link-only, listings translate automatically into 13 other dashboard languages, and creators can remix published widgets.
Where your old widgets are and what still works
Section titled “Where your old widgets are and what still works”- In OBS: Existing old-builder widgets keep running on the old runtime without any change to your widget URL.
- In My widgets: Installed copies stay in Widgets > My widgets (kickbot.com/dashboard/saved-widgets) under Made by you. You can still open a widget’s settings page to change settings and copy its URL. Saving settings reloads OBS, while test events on an old widget’s settings page show only in the preview, not in OBS.
- In Create: Opening
/dashboard/widget-builderredirects to Widgets > Create (kickbot.com/dashboard/widget-create). All widgets you created (old and new) appear under Your widgets. Clicking Edit on an old widget opens it in the new editor. - Old builder URLs are read-only: If you open a direct bookmark to
/dashboard/widget-builder/<id>, the code tabs open read-only with a banner and an Open in the new editor button. The old APIupdate_widgetendpoint also rejects code edits on old widgets and directs you tosave_widget_files. - Publishing: Old widgets cannot be published in the new editor until you move them and click Make live.
Move an old widget in place
Section titled “Move an old widget in place”Moving a widget in the editor keeps your existing OBS widget URL and settings, and lets you test safely before switching your live stream over.
- Open Widgets > Create (kickbot.com/dashboard/widget-create) and click Edit on the old widget (or click Open in the new editor from the old builder page).
- In the Move widget to the new system? popup, click Move to the new system (Not now takes you back to My widgets and changes nothing).
- Review your Draft · not live yet in the editor:
- Your existing HTML, CSS, JavaScript, and settings carry over intact. KickBot adds the old page’s base styles to
style.css, adds a short comment at the top ofscript.jswhen the code useslocalStorage, and saves a copy in Versions as Before the move to the new system. - Existing v1 globals (
globalValues,userVariables,widgetEvent,window.kickbotWidget, andlocalStorage) keep working in the new runtime, so you do not need to rewrite working code just to move. - OBS keeps running the old version while the widget is in draft. Draft edits do not reload OBS.
- If your old code used
localStorage, KickBot records those keys underlegacy_storageinwidget.json. The first time the new version loads in OBS after Make live, KickBot copies those old browser values once into the widget’s cloud saved data.
- Your existing HTML, CSS, JavaScript, and settings carry over intact. KickBot adds the old page’s base styles to
- If the line above the preview says 1 thing to fix (or more), click Show to open Needs a fix:
- KickBot checks the code and runs it once in the new sandbox. It flags anything that worked on the old page but needs a change now (such as
window.parent, cookies, popups, or links withouthttps://), along with errors or a widget that does not start or shows nothing. - Click Show code to edit an issue yourself, or click Fix with AI next to an item to let KickBot update it. Each Fix with AI saves a snapshot (Before Fix with AI) in Versions and does not count against your monthly KickBot AI message limit.
- Click Check again after fixing issues.
- KickBot checks the code and runs it once in the new sandbox. It flags anything that worked on the old page but needs a change now (such as
- Click Make live in the top bar when the preview looks right.

Clicking Make live switches your existing widget URL to the new version and reloads open OBS browser sources automatically, even if an item remains in Needs a fix. If other channels use the widget, KickBot shows how many before you confirm. If the widget is in the library or other channels use it, KickBot runs the library check first and publishes a new version so channels following the newest version update. After Make live, you can edit and use Publish normally.
Move back while in draft
Section titled “Move back while in draft”Before clicking Make live, you can cancel the move at any time: open Versions in the top bar, find Old system version, and click Move back. Your draft stays saved in Versions as The draft, before moving back.
Other ways to move or modernize a widget
Section titled “Other ways to move or modernize a widget”- Move with your own AI app (MCP): From Claude, ChatGPT, Cursor, or Codex (Build a Kick widget with your own AI), call
save_widget_fileswith the old widget’sid. The first save moves the widget into a draft on the new system and returns theeditor_url. Open that link in the editor to review and click Make live. - Rebuild fresh with KickBot AI: Open Widgets > Create > Use KickBot AI (Build a Kick widget with KickBot AI) and paste your old widget’s OBS, library, or editor link into your prompt. KickBot reads the old code from that link and builds a fresh widget directly on the
kbSDK. This creates a new widget with a new URL and leaves the old one unchanged. - Upgrade code gradually: After moving a widget in place, you can keep your v1 code running and switch parts over to
kb.store,controls,kb.on('settings'),kb.chat.send, orkb.tts.saywhenever you want using the Code a Kick widget: quick start guide and KickBot widget SDK reference.
Old name vs new name
Section titled “Old name vs new name”Dashboard and editor
Section titled “Dashboard and editor”| Old widget builder | New widget system |
|---|---|
| Saved widgets | My widgets |
| Widget builder | Create |
| User variables | Settings tab (widget.json) |
| Dropdown / Audio variable types | Choice (select) / Sound (sound) |
| Publish widget (manual review) | Publish (automatic check, versions, library or link-only) |
Code and SDK
Section titled “Code and SDK”Old names still run inside moved widgets. Use the new names when writing new widgets or updating code (each new name is described in the KickBot widget SDK reference):
| Old widget builder (v1) | New widget system (kb SDK) |
|---|---|
userVariables.<key>.value | kb.settings.<key> |
document.addEventListener('widgetEvent', ...) | kb.on('<event>', ...) |
globalValues.followerCount / subCount | kb.counts.followers / kb.counts.subscribers |
globalValues.viewerCount / currentStream | kb.stream |
globalValues.lastFollower / lastSub / lastGiftedSub | kb.last.follower / kb.last.sub / kb.last.gift (plus kb.last.tip) |
globalValues.chatMessages | kb.chatHistory |
globalValues.streamerInfo.kick | kb.channel |
window.kickbotWidget.createChatMessageFragment() | kb.parseMessage() |
Shared browser localStorage | kb.store (per-widget cloud saved data) |
followEvent / unfollowEvent | follow / unfollow |
subEvent / subGiftEvent | sub / subGift |
kicksEvent / raidEvent | kicks / raid |
chatMessageEvent / chatMessageDeletedEvent / chatClearedEvent | chat / chatDeleted / chatCleared |
chatMessagePinnedEvent / chatMessageUnpinnedEvent | pinned / unpinned |
UserBannedEvent | ban |
followerCountUpdatedEvent / subCountUpdatedEvent / viewerCountUpdatedEvent | followers / subscribers / viewers |
Do I have to change my OBS browser source URL after moving an old widget?
No. Moving a widget in the editor and clicking Make live switches your existing widget URL over to the new version and reloads open OBS browser sources automatically.
Will moving an old widget break my live stream while I am testing?
No. Moving creates a Draft · not live yet. OBS keeps running the old version until you click Make live, and you can click Move back in Versions at any time while in draft.
Do I have to rewrite globalValues, userVariables, or widgetEvent to move my widget?
No. The new runtime keeps globalValues, userVariables, widgetEvent, window.kickbotWidget, and localStorage working so moved widgets run without a full rewrite.
Does Fix with AI in Needs a fix use my monthly KickBot AI messages?
No. Using Fix with AI inside the Needs a fix checklist for a moved draft does not count against your monthly KickBot AI chat messages.
What happens to data my old widget stored in localStorage?
KickBot adds the localStorage keys it finds in your code to legacy_storage in widget.json. The first time the moved widget loads in OBS after Make live, KickBot copies those browser values once into the widget’s saved data.