Skip to content

Embed a Search Bar

Enhance your website with a powerful built-in search experience in just a few steps! The Lixia Search bar seamlessly integrates with your existing design, empowering users to effortlessly find the information they need.

Live Demo

https://demo.lixiasearch.com

Embedded search bar example

Integration

Add the following HTML code snippet to your website's code.

<script src="https://cdn.lixiasearch.com/v1/lixia.js"></script>
<div
    class="lixia-container"
    data-index-id="INDEX_ID"
    data-auth-token="ACCESS_TOKEN"
></div>

YOUR_INDEX_ID: This unique identifier specifies the search index you want to connect the search bar to. Locate your index ID within the Lixia Search dashboard.

YOUR_ACCESS_TOKEN: This token authenticates your website's access to the Lixia Search API. Retrieve your access token from the Lixia Search dashboard security settings.