Integration
Shopify Integration Guide
Step-by-step guide to integrating SearchAF with your Shopify store
This guide covers the complete integration of SearchAF with your Shopify store to add an intelligent answer bar that elevates the traditional search experience.
Overview
The SearchAF Shopify app provides:
- Automatic Product Sync: Real-time synchronization of your product catalog
- Smart Search Widget: Beautiful, customizable search interface
- Analytics Dashboard: Track search performance and user behavior
- Zero Configuration: Works out of the box with sensible defaults
Installation
Step 1: Install the Shopify App
- Visit the Shopify App Store
- Search for "SearchAF"
- Click "Add app"
- Review permissions and click "Install"
Step 2: Connect to SearchAF
- You'll be redirected to SearchAF
- Create an account or sign in
- Create a new organization (if needed)
- The app will automatically create a project for your store
Step 3: Initial Sync
The app will automatically begin syncing your products:
- Product titles and descriptions
- Images and variants
- Pricing and inventory
- Collections and tags
- Custom metafields (configurable)
This process typically takes 5-15 minutes depending on catalog size.
Configuration
Search Widget Settings
Customize the search experience in your theme:
- Go to Shopify Admin → Online Store → Themes
- Click Customize
- Find the SearchAF widget section
- Configure:
- Widget position
- Color scheme
- Result layout
- Number of results
Advanced Features
Semantic Search
Enable AI-powered understanding:
{% raw %}
{% render 'searchaf-widget',
semantic: true,
min_relevance: 0.7
%}
{% endraw %}
Custom Filters
Add faceted search with filters:
{% raw %}
{% render 'searchaf-widget',
filters: 'price,color,size,brand'
%}
{% endraw %}
Webhooks
The app automatically configures webhooks for:
- Product creation/updates/deletion
- Inventory changes
- Collection updates
These ensure your search index stays in sync.
Analytics
View search analytics in the SearchAF dashboard:
- Top searches
- No-result queries
- Click-through rates
- Conversion metrics
Troubleshooting
Products Not Appearing
- Check webhook status in Shopify settings
- Verify products are published
- Trigger manual sync from SearchAF dashboard
Search Widget Not Showing
- Confirm theme integration is enabled
- Check for JavaScript errors in console
- Verify app is installed and active