Overview
Alana provides first-party adapters that wire the Search API v1 into the most common e-commerce platforms. Each adapter replaces the platform’s native search with Alana’s AI-powered semantic search — no custom backend required.| Platform | Adapter Type | Installation Guide |
|---|---|---|
| VTEX IO | GraphQL resolver app | VTEX Installation |
| Shopify | Liquid snippet + Hydrogen component | Shopify Installation |
| Nuvemshop | JavaScript snippet | Nuvemshop Installation |
Platform Detection Header
All adapters automatically send anX-Alana-Platform header on every request to identify the originating platform. This header is used for analytics segmentation and platform-specific response tuning.
CORS Configuration
All Search API v1 endpoints support cross-origin requests from browser-based adapters. The API responds with the following CORS headers when anOrigin is present:
Wildcard CORS (
*) is intentional for the Search API. The API key in the
x-api-key header is the authentication mechanism — there is no session
cookie to protect.Shared Capabilities
All adapters provide:- Real-time autocomplete — debounced suggestions via
/api/v1/autocomplete - Full-text + semantic search — via
/api/v1/search - Spell correction —
correctedQuerydisplayed when available - Event tracking — search and detail-page-view events sent via
/api/v1/events - Visitor ID — persistent
_alana_vidstored inlocalStoragefor session continuity