Overlay

Display search results in a pop-up window

This guide will show you how to install AI Search in overlay layout. Search results will be displayed in a Direqt-provided pop-up window within the browser that dims everything behind it.


1

Add Your Embed Script

The first step is to add Direqt's embed script to your site.

Go to the Installation page of the dashboard to copy your personalized embed script, which will look something like this:

<script async src="https://embed.direqt.ai/embed.js?id=YOUR_BOT_ID"></script>

Paste your personalized script in either the <head> or <body> section of your HTML file.

2

To run search on your site, you'll need a search bar for user queries. You can use Direqt with your existing search bar, or we can add one for you if you don't have one. To configure your search bar, follow the instructions below based on your scenario:

Last updated