> ## Documentation Index
> Fetch the complete documentation index at: https://algolia.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Uninstall Algolia for BigCommerce

> Uninstall the Algolia for BigCommerce integration.

1. If the InstantSearch categories feature is enabled in your Algolia for BigCommerce app, turn it off.
   If you uninstall the application without turning off InstantSearch categories,
   you might leave behind unused metafields.

2. If the Recommend widget template is enabled in your Algolia for BigCommerce app,
   remove it in the Recommend tab.
   If you omit this step, the widget template might be left on your store.

3. Click **Delete integration** in the [Algolia for BigCommerce app](https://www.bigcommerce.com/apps/algolia-search-discovery/)

   <img src="https://mintcdn.com/algolia/hAsVAHDvpFee-pZL/doc/integration/bigcommerce/uninstalling/delete-integration.png?fit=max&auto=format&n=hAsVAHDvpFee-pZL&q=85&s=fc3def280b629f2765171f3f1e9126d7" alt="Screenshot of a button labeled 'Delete integration' highlighted in red within the Algolia BigCommerce Test page." width="486" height="263" data-path="doc/integration/bigcommerce/uninstalling/delete-integration.png" />

4. [Uninstall](https://support.bigcommerce.com/s/article/How-do-I-access-and-install-the-new-single-click-apps-within-my-Bigcommerce-store-control-panel#uninstalling) the app in BigCommerce.

5. Optional: to confirm deletion of pages, scripts, and widgets, see [Manual removal](#manual-removal).

## Manual removal

**If you didn't follow the preceding automatic process,**
you must manually remove pages, scripts, and widgets.

## Remove the InstantSearch page

1. Check the [BigCommerce web pages](https://support.bigcommerce.com/s/article/Web-Pages)
   created for each of your store's channels.

2. The InstantSearch **Page name** matches what you named it in your [configuration](/doc/integration/bigcommerce/search-settings/instantsearch#configuration).

   <img src="https://mintcdn.com/algolia/hAsVAHDvpFee-pZL/doc/integration/bigcommerce/uninstalling/page-name.png?fit=max&auto=format&n=hAsVAHDvpFee-pZL&q=85&s=2be06f9ed9fdda83fb62775d424ac27b" alt="Screenshot of the 'InstantSearch - Results page powered by Algolia' settings with 'Search Results' in the 'PAGE NAME *' field and enabled toggle." width="934" height="232" data-path="doc/integration/bigcommerce/uninstalling/page-name.png" />

3. If you can find the InstantSearch page,
   [delete it](https://support.bigcommerce.com/s/article/Web-Pages#deleting)

## Remove Algolia for BigCommerce scripts

1. Use the [BigCommerce Script Manager](https://support.bigcommerce.com/s/article/Using-Script-Manager) to examine all scripts in each of your store's channels.
2. [Delete](https://support.bigcommerce.com/s/article/Using-Script-Manager#delete) the following Algolia for BigCommerce scripts:

   * Algolia Autocomplete Script
   * Algolia InstantSearch Script
   * Algolia InstantSearch Form Script

## Remove Algolia for BigCommerce widgets

1. Go to the [BigCommerce Page Builder](https://support.bigcommerce.com/s/article/Page-Builder)

2. In the sidebar, click **Layers**.

   <img src="https://mintcdn.com/algolia/hAsVAHDvpFee-pZL/doc/integration/bigcommerce/uninstalling/page-builder-layers.png?fit=max&auto=format&n=hAsVAHDvpFee-pZL&q=85&s=21368010a2b4e10e82279277b1c67023" alt="Screenshot of the BigCommerce Page Builder interface showing the 'Page: Homepage' drop-down menu and a highlighted 'Basic' section with a widget icon." width="348" height="210" data-path="doc/integration/bigcommerce/uninstalling/page-builder-layers.png" />

3. Note the name of the **Placement region** in your [Autocomplete configuration](/doc/integration/bigcommerce/search-settings/autocomplete#configure-the-autocomplete-menu).

   <img src="https://mintcdn.com/algolia/hAsVAHDvpFee-pZL/doc/integration/bigcommerce/uninstalling/placement-region.png?fit=max&auto=format&n=hAsVAHDvpFee-pZL&q=85&s=de4cf9610f6a6c3e2a2976b3cdccb791" alt="Screenshot of a form field labeled 'PLACEMENT REGION *' with a drop-down menu showing 'header_bottom--global' and a description below." width="714" height="112" data-path="doc/integration/bigcommerce/uninstalling/placement-region.png" />

4. Click the **Layer** of the **Placement region** (used to display the layer's widgets):
   it's labeled as **Static Widget**.

5. Click the **Static Widget** in your placement to display the HTML code editor.

   <img src="https://mintcdn.com/algolia/hAsVAHDvpFee-pZL/doc/integration/bigcommerce/uninstalling/static-widget.png?fit=max&auto=format&n=hAsVAHDvpFee-pZL&q=85&s=e975535622e6c2b9597115fb87af0a0b" alt="Screenshot of a code editor showing HTML with an 'Algolia START' comment, and a highlighted 'Static Widget' in the Layers panel." width="633" height="483" data-path="doc/integration/bigcommerce/uninstalling/static-widget.png" />

6. Use the code editor to verify you are viewing the correct widget

   <img src="https://mintcdn.com/algolia/hAsVAHDvpFee-pZL/doc/integration/bigcommerce/uninstalling/widget-code-editor.png?fit=max&auto=format&n=hAsVAHDvpFee-pZL&q=85&s=a7cbd25816323bfca887b2d92c94125a" alt="Screenshot of a code editor showing HTML with an 'Algolia START' comment and script tags, highlighted in a red box, with a 'Save HTML' button below." width="626" height="599" data-path="doc/integration/bigcommerce/uninstalling/widget-code-editor.png" />

7. Delete the widget.

   <img src="https://mintcdn.com/algolia/hAsVAHDvpFee-pZL/doc/integration/bigcommerce/uninstalling/widget-removal.png?fit=max&auto=format&n=hAsVAHDvpFee-pZL&q=85&s=eaf71e616553e349ad226af08bda544b" alt="Screenshot of a code editor interface showing the 'Layers' panel with a 'Static Widget' selected and a 'Delete' option visible in a context menu." width="647" height="318" data-path="doc/integration/bigcommerce/uninstalling/widget-removal.png" />

8. [Save and publish](https://support.bigcommerce.com/s/article/Page-Builder#using) the theme.

## Remove Algolia for BigCommerce widget templates

1. Retrieve all widget templates from the [BigCommerce API](https://developer.bigcommerce.com/docs/rest-content/widgets/widget-template#get-all-widget-templates) and make a note of the **Algolia Recommend** template's UUID.
2. Use the UUID to [delete](https://developer.bigcommerce.com/docs/rest-content/widgets/widget-template#delete-a-widget-template) the **Algolia Recommend** template. Deleting the widget template will delete all instances of the widget on your store.
3. Optional: check the [BigCommerce Page Builder](https://support.bigcommerce.com/s/article/Page-Builder) to ensure the widget template is removed.
