> For the complete documentation index, see [llms.txt](https://lh1me.gitbook.io/aomori/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lh1me.gitbook.io/aomori/features/search.md).

# Search

{% hint style="info" %}
Configuration in the **Global `_config.yml`**
{% endhint %}

### **Algolia**

First create [Algolia](https://www.algolia.com) Account. After registration is complete, create a new Index, which will be used later.

Install [hexo-algolia](https://github.com/oncletom/hexo-algolia)

```
npm install --save hexo-algolia
```

Configure Algolia integration to site `_config.yml`:

```
algolia:
    applicationID: 'applicationID'
    apiKey: 'apiKey'
    indexName: '...'
```

Run the following command to upload Index data.

```
$ export HEXO_ALGOLIA_INDEXING_KEY=High-privilege API key # Use Git Bash
# set HEXO_ALGOLIA_INDEXING_KEY=High-privilege API key # Use Windows command line
$ hexo clean
$ hexo algolia
```

Turn on theme configuration at site `_config.yml`

```
aomori_search_algolia: true
```
