search discoveryโฑ10 minutes

Get Started with Algolia

Unverified

Quick Summary

โ€œAI-powered search and discovery platformโ€

Best for: Developers building fast, typo-tolerant search for e-commerce, documentation, and content-heavy applications
Time to first integration: 10 minutes

๐Ÿ“‹Prerequisites

  • โœ“Node.js 18+ installed
  • โœ“A Algolia account โ€” sign up here
  • โœ“An existing project (Next.js, React, or Node.js recommended)

Setup Steps

4 steps
1

Install

Add the Algolia client to your project.

bash
npm install algoliasearch
2

Add credentials

Initialize the client with your Application ID and Admin API key.

typescript
import algoliasearch from 'algoliasearch' const client = algoliasearch(appId, adminApiKey)
3

Index records

Push records to an index.

typescript
await client.saveObjects('products', records)
4

Search

Query from the client using the Search-only API key.

typescript
const { hits } = await client.search('products', 'query')

Related Guides

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

Links

Algolia Guide | AI Navigator | AI Navigator