# Elastic app search(Self-managed) and bonsai.io integration

**URL:** <https://discuss.elastic.co/t/elastic-app-search-self-managed-and-bonsai-io-integration/209580>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [November 26, 2019, 8:45pm UTC](https://discuss.elastic.co/t/elastic-app-search-self-managed-and-bonsai-io-integration/209580 "2019-11-26T20:45:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![111249](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/111249/32/58382_2.png) [@111249](https://discuss.elastic.co/u/111249)\
**Post date:** [November 26, 2019, 8:45pm UTC](https://discuss.elastic.co/t/elastic-app-search-self-managed-and-bonsai-io-integration/209580/1 "2019-11-26T20:45:34Z")

</div>

I have an Elastic cluster on [bonsai.io](http://bonsai.io), I want to use it to work with elastic app search locally on my computer. In app-search.yaml I added elasticsearch.host, elasticsearch.username and elasticsearch.password, but when I run bin / app-search I get an error:

**"Elasticsearch cluster must be licensed. OSS versions of Elasticsearch do not contain a supported license. Please download and run an Elasticsearch binary from [Download Elasticsearch | Elastic](https://elastic.co/downloads/elasticsearch) to acquire a free, Basic license."**

Has anyone encountered a similar error or knows how to fix it

---

<div class="post-metadata">

**Author:** ![JasonStoltz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasonstoltz/32/49893_2.png) [@JasonStoltz](https://discuss.elastic.co/u/JasonStoltz)\
**Post date:** [November 26, 2019, 9:43pm UTC](https://discuss.elastic.co/t/elastic-app-search-self-managed-and-bonsai-io-integration/209580/2 "2019-11-26T21:43:39Z")

</div>

@111249 I believe the problem is that the version of Elasticsearch running on [bonsai.io](http://bonsai.io) must be an Open Source distribution. You'd need to be running against a copy of Elasticsearch with at least a free Basic license: [https://www.elastic.co/subscriptions](https://www.elastic.co/subscriptions).

You could consider self hosting your Elasticsearch, or using an instance on Elastic Cloud: [https://www.elastic.co/cloud/](https://www.elastic.co/cloud/).

---

<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:** [December 24, 2019, 9:43pm UTC](https://discuss.elastic.co/t/elastic-app-search-self-managed-and-bonsai-io-integration/209580/3 "2019-12-24T21:43:45Z")

</div>

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