Algolia 101: Key Search Technology Driving Business Success

Search for a command to run...

No comments yet. Be the first to comment.
Muse Spark 1.2 returned Meta to frontier-model competition on August 5, 2026. The more consequential move was launching Muse Code and training the model around its agent runtime. Artificial Analysis s

The part of a CC Switch guide that ages fastest is not the install command. It is the decision about which provider needs a local proxy. As of August 5, 2026, CC Switch 3.19.1 lets Codex connect direc

QM agent is Y Combinator's July 2026 multiplayer harness for work; by August 4, its GitHub repository had about 9,700 stars. It gives each employee and project a scoped workspace, memory, keychain vie

A Codex long-running agent workflow succeeds when responsibility, state, wake conditions, acceptance criteria, and stopping boundaries remain visible and reviewable. OpenAI developer experience lead J

The Codex–ChatGPT Pro dual-agent workflow separates implementation from acceptance; it does not prove that one AI system is the strongest coding agent. Codex can hold the repository, requirements, per

You’ll (1) use Algolia Crawler to pull content from several domains into one Algolia application, (2) send that content into one or more indices, and (3) expose a unified search-as-you-type UI that can be embedded in WordPress, Shopify, Webflow or any other front-end.
| Requirement | Why you need it |
| Algolia account on the “Build” plan or higher | Access to Crawler & multi-index analytics |
| Admin API key (server side) + Search-only API key (front-end) | Security best-practice |
Access to the DNS / robots.txt / sitemap of each domain | Lets the crawler reach and follow links |
| npm / yarn (for custom InstantSearch builds) | Build the shared search UI |
| Basic HTML edit rights in every CMS | Embed the widget |
Log in → New application → choose nearest region.
In Settings › Team & Access invite stakeholders if you need separate API keys per environment.
Why single app? Algolia places no restriction on mapping sites to indices inside one application, so analytics and quota stay centralised. (support.algolia.com)
| Scenario | Recommended setup |
| Same search UX for all sites (“global” search) | One index and add an attribute site so users can filter results. |
| Per-site UX but shared backend | One crawler with multiple actions that write to different indices (one per domain). (support.algolia.com) |
| Hard isolation (different business units) | Separate Algolia applications + their own crawlers. |
Dashboard → Crawler › Create.
Give the crawler a name (e.g. multi-site-search).
Add one start URL per domain, e.g.
[
"https://docs.myproduct.com/",
"https://blog.myproduct.com/",
"https://help.anotherbrand.io/"
]
Each action sets:
{
"indexName": "global_content", // or "blog_index"
"pathsToMatch": ["https://blog.myproduct.com/**"],
"selectors": {
"record": {
"title": "h1",
"content": "main",
"url": "url",
"site": "static:blog" // custom attribute for faceting
}
}
}
You can edit all of this in the visual Crawler editor or paste JSON directly. (algolia.com)
Make sure robots.txt allows Algolia’s user-agent (Algolia Crawler), or whitelist its IPs on private sites.
For password-protected staging domains, set Basic auth credentials in Crawler › Advanced settings.
Schedule tab → choose frequency (daily, hourly…).
Use Crawler logs and Algolia CLI/API for CI-based monitoring. (algolia.com)
In Indices › Configuration set Searchable attributes (title → content).
Enable Attributes for faceting: site, language, type.
Create Synonyms for branded terms (Settings › Synonyms).
Add Rules (e.g. pin the docs homepage for query “documentation”).
| Environment | Library |
| Vanilla JS / Webflow embed | InstantSearch.js |
| React (Next.js, Gatsby) | React InstantSearch |
| Vue / Nuxt | Vue InstantSearch |
| Shopify | The “Algolia AI Search & Discovery” app uses InstantSearch under the hood. (algolia.com) |
import algoliasearch from 'algoliasearch/lite';
import { InstantSearch, Index, SearchBox, Hits } from 'react-instantsearch-hooks-web';
const searchClient = algoliasearch('APP_ID', 'SEARCH_ONLY_KEY');
export default function GlobalSearch() {
return (
<InstantSearch searchClient={searchClient} indexName="global_content">
<SearchBox placeholder="Search across all sites…" />
{/* If you kept separate indices, repeat <Index> blocks */}
<Index indexName="global_content">
<h2>All results</h2>
<Hits hitComponent={Hit} />
</Index>
<Index indexName="blog_index">
<h2>Blog</h2>
<Hits hitComponent={Hit} />
</Index>
</InstantSearch>
);
}
function Hit({ hit }) {
return (
<a href={hit.url} className="block p-4 border-b">
<p className="text-sm text-gray-500">{hit.site}</p>
<h3 className="font-medium">{hit.title}</h3>
<p className="line-clamp-2">{hit.content}</p>
</a>
);
}
Styling is Tailwind-ready; adjust to match each CMS theme.
Install WP Search with Algolia. (algolia.com)
Paste your Application ID & API keys.
In the plugin settings, disable its built-in crawler (you now control indexing centrally).
Insert the React bundle (or use the plugin’s shortcode) in your theme’s header or via Gutenberg block.
Install the “Algolia AI Search & Discovery” app → Customize › Search → choose Custom layout → paste React bundle or tweak Liquid snippets provided by the app. (algolia.com)
Host the compiled JS bundle on a CDN.
In Page settings › Before add the <script src="...bundle.js"></script> tag.
Optionally use No-Code Supply example for filters & pagination. (nocodesupply.co)
Server keys stay server-side. Always expose only a search-only key in your JS bundles.
Turn on HTTP referrer restrictions for Search-only keys.
Add Algolia Insights to track click & conversion events for relevance tuning.
Use Replica indices if you need per-country ranking variations.
| Task | Frequency |
| Review crawler logs for blocked pages | Weekly |
| Re-run crawl after major CMS releases | On demand |
| Audit API key restrictions | Quarterly |
| Update synonyms & rules from analytics | Monthly |
Back-up index settings via Algolia CLI (algolia settings get) | Monthly |
Explore Algolia Recommend for “related content” widgets once the indices stabilise.
If some sites expose large JSON APIs, consider bypassing the crawler and pushing data via the Batch API for faster indexing.
With this workflow you end up with one search service, one UX, many sites—maintainable, analytics-friendly and blazing-fast for users.