diff --git a/website/docs/search.md b/website/docs/search.md index 3ec02e760c10..b22ef0ed470d 100644 --- a/website/docs/search.md +++ b/website/docs/search.md @@ -18,7 +18,13 @@ If your website is [not eligible](https://docsearch.algolia.com/docs/who-can-app ### Connecting Algolia {#connecting-algolia} -To connect your docs with Algolia, add an `algolia` field in your `themeConfig`. **[Apply for DocSearch](https://docsearch.algolia.com/apply/)** to get your Algolia index and API key. +To connect your docs with Algolia, first add the package to your website: + +```bash npm2yarn +npm install --save @docusaurus/theme-search-algolia +``` + +Then, add an `algolia` field in your `themeConfig`. **[Apply for DocSearch](https://docsearch.algolia.com/apply/)** to get your Algolia index and API key. ```jsx title="docusaurus.config.js" module.exports = {