# Connecting React to elasticsearch API without using AppSearch (Enterprise Search)

**URL:** <https://discuss.elastic.co/t/connecting-react-to-elasticsearch-api-without-using-appsearch-enterprise-search/283472>\
**Category:** Elasticsearch\
**Created:** [September 6, 2021, 5:31pm UTC](https://discuss.elastic.co/t/connecting-react-to-elasticsearch-api-without-using-appsearch-enterprise-search/283472 "2021-09-06T17:31:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![juslin03](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/juslin03/32/94217_2.png) [@juslin03](https://discuss.elastic.co/u/juslin03)\
**Post date:** [September 6, 2021, 5:31pm UTC](https://discuss.elastic.co/t/connecting-react-to-elasticsearch-api-without-using-appsearch-enterprise-search/283472/1 "2021-09-06T17:31:13Z")

</div>

Hello everyone.

I'm working on a feature that my boss asked me to do but I'm having some trouble.  
The goal is to connect our React application (generated with Search UI) directly with ElasticSearch without going through Enterprise Search and be able to perform read queries.

Currently, to connect our application, we have to go through AppSearch.

I've looked into the possibility of creating my own connector to link ElasticSearch and our React application but I'm stuck and I'm asking for your help to get some leads and resources.

Thanks in advance,  
Juslin,

---

<div class="post-metadata">

**Author:** ![ylasri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ylasri/32/86120_2.png) [@ylasri](https://discuss.elastic.co/u/ylasri)\
**Post date:** [September 6, 2021, 6:44pm UTC](https://discuss.elastic.co/t/connecting-react-to-elasticsearch-api-without-using-appsearch-enterprise-search/283472/2 "2021-09-06T18:44:07Z")

</div>

Chec this example

> **[search-ui/examples/elasticsearch at master · elastic/search-ui](https://github.com/elastic/search-ui/tree/master/examples/elasticsearch)**
>
> master/examples/elasticsearch

---

<div class="post-metadata">

**Author:** ![juslin03](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/juslin03/32/94217_2.png) [@juslin03](https://discuss.elastic.co/u/juslin03)\
**Post date:** [September 8, 2021, 11:06am UTC](https://discuss.elastic.co/t/connecting-react-to-elasticsearch-api-without-using-appsearch-enterprise-search/283472/3 "2021-09-08T11:06:19Z")

</div>

Thank you !

---

<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:** [October 6, 2021, 11:06am UTC](https://discuss.elastic.co/t/connecting-react-to-elasticsearch-api-without-using-appsearch-enterprise-search/283472/4 "2021-10-06T11:06:23Z")

</div>

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