Skip to content

How to

These guides walk through common AI Search use cases, from no-code setups to full agent applications. Use the difficulty column to find the right place to start.

GuideDifficultyWhat you build
Add search to your websiteBeginnerAdd a search bar, chat bubble, and search modal to a site with the prebuilt UI snippets.
Connect your AI Search to an MCP clientBeginnerExpose your indexed content as a search tool for any MCP client or AI assistant, with no code.
Create a simple search engineBeginnerQuery an instance from a Worker using the search binding.
MultitenancyIntermediateKeep each tenant's data separate with a per-tenant instance or a shared instance and metadata filtering.
Search multiple sources at onceIntermediateSearch a shared knowledge base and a tenant-specific one together in a single query.
Fetch and index single web pagesIntermediateUse Browser Run to fetch a page's rendered HTML, index it, and search it from one Worker.
Bring your own generation modelIntermediateUse AI Search for retrieval and an external model, such as OpenAI, for generation.
Show source citations in responsesIntermediateReturn AI-generated answers with citations to the source documents that informed them.
Human-in-the-loop knowledge base updatesAdvancedBuild an agent that proposes new documents and pauses for human approval, with rollback.