Using Magento 2 Search Outside Magento


we are running Algolia search on a Magento 2 installation. We would like to embed the search box with the dynamic results in an external website, not powered by Magento.

Is there a built-in way to do this or we must code a custom solution?


Hi @chris6,

Indeed, there is a way to do this, but like many other Algolia powered websites it will take some developer power.

You mention that you have Algolia search on a Magento 2 installation. This suggests you have already successfully indexed records to Algolia. Your data is ready and it can now be used anywhere you want.

On your external website, ask your development team to select their preferred InstantSearch library from these options here

You can now utilize an InstantSearch library searchBox widget in any website and use it to get results from your existing Algolia indices.

Hope this helps.

1 Like

Thank you! We will start from there then!