search discovery10 minutes

Get Started with MeiliSearch

Quick Summary

Lightning-fast search engine API with AI-powered hybrid search.

Best for: Developers building e-commerce platforms who need fast, accurate product search capabilities.
Time to first integration: 10 minutes

📋Prerequisites

  • Node.js 18+ installed
  • A MeiliSearch account — sign up here
  • An existing project (Next.js, React, or Node.js recommended)

Setup Steps

4 steps
1

Run a server

Start Meilisearch via Docker/binary or Meilisearch Cloud with a master key.

bash
docker run -p 7700:7700 getmeili/meilisearch:latest
2

Install

Add the Meilisearch client to your project.

bash
npm install meilisearch
3

Add documents

Create an index and add your documents.

typescript
await client.index('products').addDocuments(docs)
4

Search

Query the index for relevant, typo-tolerant results.

typescript
const results = await client.index('products').search('shoe')

Related Guides

Setting up a full stack? Check out these complementary guides.

Links