search discovery⏱10 minutes
Get Started with Algolia
UnverifiedQuick 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 steps1
1
Install
Add the Algolia client to your project.
bash
npm install algoliasearch2
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
3
Index records
Push records to an index.
typescript
await client.saveObjects('products', records)4
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.