Configuration
Overview
The <search-result-page> component is designed for traditional search page implementations where the search interface is embedded directly into a dedicated page (e.g., /search or /search-results). Unlike modal dialogs, this component provides a full-page search experience with AI-powered results, categorized content, and quick answer buttons.
Typical Use Case: Create a dedicated search page at www.example.com/search where users land after entering a query from a search box elsewhere on your site.


Key Features
- URL Parameter Support: Automatically reads search queries from URL parameters (e.g.,
?searchText=Can+you+wash+your+clothes) - Real-Time Search Results: As users type, displays categorized results with titles and descriptions in the right column, allowing navigation without clicking submit
- Flexible Input Options: Audio input, image upload, and text search
- AI Overview: Displays AI-generated summaries at the top of search results
- Quick Answer Buttons: Pre-configured question buttons for common queries
- As you type results: Results organized by category (e.g., Safety Gear, Seasonal Gear Guides, Layered Apparel, Cold Weather Gear) links to pages without asking AI.
- Mobile Optimized: Responsive design that adapts to any screen size
- Complete Control: Custom CSS and JavaScript for full design control
Why Use a Dedicated Search Page?
The <search-result-page> component is ideal for implementing traditional search functionality where users expect a full-page experience:
1. Traditional Site Search
Users enter a query in a search box (in your header or sidebar), and are directed to a dedicated search page that displays results. The component automatically reads the query from the URL parameter.
Example Implementation:
<!-- Search form on any page -->
<form action="/search" method="get">
<input
type="text"
name="searchText"
placeholder="Search Atlas... ski boots, helmets, ski goggles"
/>
<button type="submit">Search</button>
</form>
<!-- On /search page -->
<search-result-page
data-key="YOUR_API_KEY"
config-id="68c76887ff56ea304ecb7d55"
>
</search-result-page>
Result: User submits "ski boot sizing" → redirected to /search?searchText=ski+boot+sizing → AI results appear automatically
2. E-commerce Product Search
Create a dedicated search results page for your online store. Users can search for products and get AI-powered recommendations along with traditional product listings.
Example URL: www.atlasstore.com/search?searchText=beginner+ski+boots+under+400
Features:
- AI overview at top: "Here are the best beginner ski boots under $400..."
- Categorized results: Boots by brand, price range, or skill level
- Quick answer buttons: "Shop goggles", "Shop Helmets", "Gear rentals"
3. Documentation or Help Center Search
Build a knowledge base search page where users can find articles, guides, and get AI-generated answers to their questions.
Example: docs.example.com/search?searchText=How+do+I+clean+my+skis
4. Multi-Step Search Flows
Use wizards or forms to collect user preferences, then redirect to the search page with a constructed query:
// Product finder wizard collects preferences
const userPreferences = {
activity: "all-mountain skiing",
experience: "intermediate",
budget: "$500-$800",
}
// Construct query and redirect to search page
const query = `Recommend ${userPreferences.activity} equipment for ${userPreferences.experience} skier, budget ${userPreferences.budget}`
window.location.href = `/search?searchText=${encodeURIComponent(query)}`
5. Link-Based Quick Searches
Add quick search links throughout your site that redirect users to pre-populated searches:
<!-- Link from product page -->
<a href="/search?searchText=How+to+wash+and+care+for+ski+jacket"
>Care Instructions</a
>
<!-- Link from guide article -->
<a href="/search?searchText=storing+skis+and+snowboards+for+off+season"
>Storage Tips</a
>
Common Use Cases:
- E-commerce stores: Product search and discovery
- Content websites: Article and blog search
- Documentation sites: Knowledge base and help content
- Community forums: Topic and discussion search
- Corporate websites: Company information and resources
The <search-result-page> provides a familiar, full-page search experience while leveraging AI to enhance result quality and provide intelligent overviews.
Managing Configurations
Creating a New Configuration
To create a new Search Result Page configuration:
- Navigate to your Agent dashboard
- Select Web Controls from the left navigation panel
- Click on
<search-result-page> - Click the Add Search Result Config button in the top right

List of Configurations
The configuration list displays all your Search Result Page configurations. Each entry shows:
| Field | Description |
|---|---|
| Name | A descriptive identifier for the configuration |
| Config ID | Unique identifier used to reference this configuration in your code with the config-id attribute |
| Description | Brief explanation of the configuration's purpose |
| Modified | Last update date and time |
| Default | Badge indicating which configuration is the default |
| Action | Menu with options to edit, preview, or delete the configuration |
Using a Configuration
When you have multiple configurations, specify which one to use by adding the config-id attribute:
<!-- Using a specific configuration -->
<search-result-page data-key="<API_KEY>" config-id="68c76887ff56ea304ecb7d55">
</search-result-page>
<!-- Using the default configuration -->
<search-result-page data-key="<API_KEY>"></search-result-page>
Reading Search Queries from URL
The component automatically reads the search query from the URL parameter searchText:
/search?searchText=Can+you+wash+your+clothes
/search?searchText=ski+boot+sizing+guide
/search?searchText=best+helmets+for+beginners
Configuration Tabs
Each configuration consists of four main tabs: Display, Settings, Welcome, and View. These tabs allow you to control different aspects of the Search Result Page behavior and appearance.
Display Tab
The Display tab controls the visual appearance and layout of your Search Result Page.

Basic Information
| Setting | Description | Example |
|---|---|---|
| Name | Configuration identifier (used only in admin list view) | "Default", "Atlas Search Page", "eComm demo search page" |
| Description | Brief explanation of configuration purpose (admin only) | "Main search for homepage", "eComm demo search page for Atlas Store" |
Display Options
| Setting | Description | Default/Example |
|---|---|---|
| Placeholder | Placeholder text shown in the search input field | "Search for Atlas products or information" |
| Input Field Position | Where to place the search input | "Top" (recommended for search pages) |
Options

The Options section provides checkboxes to control various features:
| Option | Description |
|---|---|
| Auto Search | When enabled, automatically executes search on page load if searchText URL parameter exists |
| Load Results | When enabled, automatically loads search results on page load |
| Categorize | When enabled, shows search results grouped by category |
| Mic | When enabled, provides voice input capability for hands-free search |
| Image Upload | When enabled, allows users to upload images for visual search queries |
| Clear Memory | When enabled, provides option to clear conversation history |
| Show Message Icons | When enabled, displays icons alongside messages |
Theme Color
The Theme Color dropdown allows you to choose a visual theme for your Search Result Page. The theme controls colors, styling, and overall appearance.
Available Options:
- Preset Themes: Pre-configured color schemes including Default, Cyan, Amber, Orange, Purple, Red, Pink, Brown, Slate, Sky, Lime, Yellow, and Indigo
- Custom: Create a personalized theme using your brand colors and CSS variables
Custom Theme Creation
When you select "Custom" from the theme dropdown, ai12z will automatically begin the theme creation process.
Important: Before creating a custom theme, we strongly recommend completing the AI Brand Creation process first. This will analyze your brand assets and automatically generate appropriate colors, fonts, and styling guidelines that will be used in your custom theme.
To create a custom theme:
-
Complete Brand Guidelines First (Recommended)
- Navigate to AI Settings → Brand Guidelines
- Follow the AI Brand Creation guide to upload your brand images
- Generate and save your brand guidelines
-
Select Custom Theme
- Return to your search-result configuration
- Choose "Custom" from the Theme dropdown
- The system will automatically create a theme based on your saved brand guidelines
-
Theme Auto-Generation
- If you have completed brand guidelines, the custom theme will automatically inherit:
- Primary and secondary brand colors
- Accent colors for highlights and interactions
- Typography preferences
- Overall visual style consistency
- If no brand guidelines exist, a default custom theme template will be created that you can manually customize
- If you have completed brand guidelines, the custom theme will automatically inherit:
Benefits of Custom Theme with Brand Guidelines:
- Brand Consistency: Automatically matches your website's visual identity
- Professional Appearance: Cohesive design that reflects your brand personality
- Time Saving: No manual color picking or style configuration needed
- Responsive Design: Optimized for all device sizes while maintaining brand integrity
Settings Tab
The Settings tab controls behavior, limits, voice settings, and search parameters.
