1. Home
  2. Fix Incorrect Installation on Highlevel Ai Studio

Fix Incorrect Installation on Highlevel Ai Studio

This guide is for HighLevel Ai Studio clients who set up Buying Buddy using the older JavaScript plugin method (a <script> tag plus <bb-widget> elements) and are finding that widgets do not work reliably. Ai Studio builds React sites, and the script method is not reliable there.

There are three ways to fix it, and they differ in how much they remove. If you are not sure what is actually on your site, there is also a read-only check you can run first. This page helps you work out which one you need. Every prompt lives in your Buying Buddy dashboard — there is nothing to download.

Did you install the wrong plugin?

If your site is built with HighLevel Ai Studio, check the list below. If any of these sound like your situation, you installed the JavaScript version and should use one of the fixes on this page.

  • ❌ You instructed the Ai Studio assistant to install the Buying Buddy plugin using the original JavaScript plugin instructions.
  • ❌ You pasted a Buying Buddy <script> tag into your site's custom code or page head.
  • ❌ You added widgets to your pages as <bb-widget> tags (for example <bb-widget data-type="SearchResults">).
  • ❌ Widgets show up sometimes but go blank when you click between pages.
  • ❌ Widgets appear on the first page load but disappear after navigating around the site.

The correct method for an Ai Studio site uses our Ai Studio Buying Buddy plugin instead:

  • ✅ Buying Buddy is added using the Ai prompts in your dashboard.
  • ✅ Widgets are placed as <BuyingBuddyWidget> components.
  • ✅ Widgets load reliably and keep working as you navigate between pages.

Good news: You do not have to fix this by hand, and there is nothing to download. Every option below is an AI prompt you copy from your Buying Buddy dashboard and paste into your Ai Studio assistant — the AI does the work for you.

Not sure what you have? Run the check first

If you cannot tell what was installed — or you are not sure which of the three fixes applies — start with the Check what Buying Buddy components are installed prompt. It is read-only: it looks at your project, reports what it finds, and changes nothing at all.

Paste it into your Ai Studio assistant and it produces a single short report covering:

  • Which installation method you are on — JavaScript plugin only, React package only, both (mixed), or nothing found.
  • Whether the old JavaScript plugin code is present, and which parts of it.
  • Every Buying Buddy widget on your site, old-style and new-style, with the page each one is on.
  • Whether your Search Results and Property Details foundation pages exist.

Copy that report and send it to Buying Buddy support and we will tell you exactly which option to use. If you would rather work it out yourself, the report's first line — the installation method — is all you need to pick a row in the table below.

Safe to run any time: the check makes no edits, installs nothing, and never publishes your site. There is nothing to approve and nothing to undo. Any API key it finds is shortened in the report to its last four characters, so the report is safe to paste into a support message.

Which fix do you need?

All three fixes remove the old JavaScript plugin. The difference is what happens to the widgets and pages you have already built. Find the row that matches your situation — and if you are still unsure, run the check above and send us the report.

Your situationUse this fixWhat happens to your work
You have built widgets across several pages and want to keep themMigration OptionEverything is kept and upgraded in place
The old <script> was left behind after you moved to the new plugin, or you added the plugin but never built anything with itRemove the Plugin OnlyNothing is deleted — only the plugin code is removed
You have barely started, nothing works, and you want a clean slateStart AgainAll Buying Buddy pages and widgets are deleted

Option 1: Migration Option (keeps your work)

Choose this if you have already built widgets across your pages and want to keep all of that work. This is the right choice for most established sites.

The migration removes the JavaScript plugin and converts every existing widget to the new format in place — your pages, your widgets, and your footer disclaimer are all preserved, just upgraded to the modern system. Your widget filters and settings are carried across exactly as they were.

In the dashboard this fix is laid out as a short series of steps, because the AI pauses partway through to hand you your Preview Domain and — if your site has a sticky header — your Widget Header Offset values. You enter those on the same page, then tell the AI to carry on.

Tip: The prompt creates a backup before it changes anything, shows you its plan and waits for your approval, and will never publish your site. You preview and publish yourself when you are happy.

Option 2: Remove the Plugin Only (changes nothing else)

Choose this if you only need the old plugin code gone. It removes the Buying Buddy JavaScript <script> block from your page head and nothing else — your pages, routes, menu links, widgets, disclaimer and components are all left exactly as they are.

This is the fix for two common situations:

  • The old <script> block was left behind after you moved to the new Ai Studio plugin, and you just want the leftover code cleaned up.
  • You added the JavaScript plugin to this site but have not built anything with it yet, so there is nothing to migrate or delete.

Important: Any <bb-widget> elements you have already placed will stay on your pages, but they will stop displaying once the plugin code is gone. The prompt lists every one it finds before it changes anything, so you can see exactly what is affected and decide. If you want those widgets to keep working, use the Migration Option instead.

Option 3: Start Again (clean slate)

Choose this if you have just started out, your widgets are not working, and you have not yet built widgets across many pages. It removes everything Buying Buddy from your site so you can install fresh using the modern Ai Studio plugin.

This removes your work, not just the plugin. Start Again deletes your foundation pages (Search Results and Property Details), removes the disclaimer widget from your footer, and removes every other Buying Buddy widget on every page. It is perfect if you want a clean slate — but it is not the right choice if you have already built widgets across many pages, because all of that work would be lost. Use the Migration Option to keep it.

After Start Again, follow the standard installation guide to set up Buying Buddy fresh on your Ai Studio site: Install Buying Buddy on HighLevel Ai Studio.

Where to find the check and the fixes

All four prompts are in your Buying Buddy dashboard, ready to copy. Go to Menu Widgets > Installation and Setup > Install with Ai and scroll past the numbered install steps to the Utility Prompts section at the bottom of the page.

  1. Open Menu Widgets > Installation and Setup in your Buying Buddy dashboard.
  2. Scroll to the bottom of the Install with Ai tab, to the Utility Prompts section.
  3. If you are not sure what you have, open Check what Buying Buddy components are installed first — it is the row just above the three fixes.
  4. Otherwise click the row for the fix you chose above — Fix Incorrect Installation - Migration Option, - Remove the Plugin Only, or - Start Again.
  5. Copy the prompt and paste it into your Ai Studio assistant, then follow along.

Tip: The Utility Prompts section only shows the check and these three fixes when your Website Type is set to HighLevel Ai Studio. If you do not see them, check your website type at Menu Widgets > Website Options first.

What every fix has in common

Whichever of the three fixes you choose, the prompt behaves the same way:

  • ✅ It inspects your site first and tells you what it found before touching anything.
  • ✅ It shows you its plan and waits for your approval — nothing changes until you say "yes, proceed".
  • ✅ It creates a backup or restore point before making changes, so you can roll back.
  • ✅ It leaves your site's design alone — your styles, colors, theme and layout are never modified.
  • ✅ It will not publish your site. You preview it yourself and publish when you are happy.

The Check what Buying Buddy components are installed prompt is different: it only reads and reports, so there is no plan to approve, no backup needed, and nothing to undo.

Building a new Ai Studio site from scratch (not fixing an existing one)? Follow Install Buying Buddy on HighLevel Ai Studio instead.

Updated on July 28, 2026
Was this article helpful?
Buying Buddy Support