# How to use elastic in wiki js

**URL:** <https://discuss.elastic.co/t/how-to-use-elastic-in-wiki-js/329978>\
**Category:** Elasticsearch\
**Created:** [April 14, 2023, 7:13am UTC](https://discuss.elastic.co/t/how-to-use-elastic-in-wiki-js/329978 "2023-04-14T07:13:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kwa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kwa/32/119817_2.png) [@Kwa](https://discuss.elastic.co/u/Kwa)\
**Post date:** [April 14, 2023, 7:13am UTC](https://discuss.elastic.co/t/how-to-use-elastic-in-wiki-js/329978/1 "2023-04-14T07:13:00Z")

</div>

Hi everyone,

i have elasticsearch installed locally in a VM with version 7.17.8. By calling [http://localhost:9200](http://localhost:9200) in the browser i get the information like cluster\_name, cluster\_uuid etc.  
In elasticsearch.yml i have entered the cluster.name from the call to [http://localhost:9200](http://localhost:9200) and network.host 127.0.0.1.

I would like to integrate elasticsearch into a wiki program. The program i am using is wiki.js ([https://js.wiki/](https://js.wiki/)).

The wiki.js is also installed on the same VM. In the config i have the possibility to set up the search engine. But only with the configs ([Elasticsearch | Wiki.js](https://docs.requarks.io/search/elasticsearch)) I unfortunately don't get further. Only with these settings i get the following error message in the frontend search: An unexpected error occurred.

It would be great if someone can help.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 12, 2023, 7:13am UTC](https://discuss.elastic.co/t/how-to-use-elastic-in-wiki-js/329978/2 "2023-05-12T07:13:12Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
