Prerequisites
Before you begin, you’ll need:- A Refine account with an API key
- An organization ID and catalog ID from your dashboard
- A product catalog uploaded to Refine
Don’t have a catalog yet? See Creating a Catalog to set one up via API, or use the dashboard.
Install the SDK
Initialize the Client
Make Your First Search
Display Results
Here’s a complete example rendering search results:Track Conversions
When a user makes a purchase, track the conversion to close the analytics loop:What’s Next?
Text Search
Advanced text search with filters and sorting
Image Search
Search by uploading images
Recommendations
Add product recommendations
Event Tracking
Complete event tracking guide