# Search Applications with Search UI

**URL:** <https://discuss.elastic.co/t/search-applications-with-search-ui/340004>\
**Category:** Elasticsearch\
**Created:** [August 3, 2023, 7:09am UTC](https://discuss.elastic.co/t/search-applications-with-search-ui/340004 "2023-08-03T07:09:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebastianboelling](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@sebastianboelling](https://discuss.elastic.co/u/sebastianboelling)\
**Post date:** [August 3, 2023, 7:09am UTC](https://discuss.elastic.co/t/search-applications-with-search-ui/340004/1 "2023-08-03T07:09:41Z")

</div>

Hi,

I tried to integrate Search Applications with Search UI as described in the Kibana frontend when I created a new Search Application **sample-search-app**.

```auto
import EnginesAPIConnector from "@elastic/search-ui-engines-connector";

const connector = new EnginesAPIConnector({
  host: "https://localhost:9200",
  engineName: "sample-search-app",
  apiKey: "<YOUR_API_KEY>"
});

```

I integrated this code in my Search UI app and replaced the _old_ App Search connector. Now the application wants do request the data from Elasticsearch directly (okay - I have to use a Proxy later).

But something went wrong. The connector should request the data from the following URL:

`https://localhost:9200/sample-search-app/_search`

But it seems that he tries to use an _old_ App Search Engine URL - the Browser error message shows me:

`POST http://localhost:9200/api/engines/sample-search-app/_search net::ERR_EMPTY_RESPONSE`

Best regards

Sebastian

---

<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:** [August 31, 2023, 7:10am UTC](https://discuss.elastic.co/t/search-applications-with-search-ui/340004/2 "2023-08-31T07:10:04Z")

</div>

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