# Querying Kibana from an external website

**URL:** https://discuss.elastic.co/t/querying-kibana-from-an-external-website/94067
**Category:** Kibana
**Created:** [July 21, 2017, 7:32am UTC](https://discuss.elastic.co/t/querying-kibana-from-an-external-website/94067 "2017-07-21T07:32:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![pika](https://avatars.discourse-cdn.com/v4/letter/p/ce73a5/32.png) [@pika](https://discuss.elastic.co/u/pika)
#### Post date: [July 21, 2017, 7:32am UTC](https://discuss.elastic.co/t/querying-kibana-from-an-external-website/94067/1 "2017-07-21T07:32:07Z")

</div>

Hello,  
I am new to the world of Elasticsearch and Kibana.

we want to create a javascript website and to bring some kibana dashboard to it. Our javascript code should send some request to kibana to draw such dashbord and kibana should return it to our frontend.

How can we do that ?

Thanks in advance?

---

<div class="post-metadata">

### Author: ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)
#### Post date: [July 21, 2017, 7:02pm UTC](https://discuss.elastic.co/t/querying-kibana-from-an-external-website/94067/2 "2017-07-21T19:02:59Z")

</div>

If you click on the "Share" button on a visualization, it will provide the code to embed the IFRAME.

The IFRAME has it's drawbacks. Another option is to have your site render the visualizations yourself. Flot is a good JS library we utilize. You can inspect visualizations within Kibana to see the request being sent to Elasticsearch to see what to send.

---

<div class="post-metadata">

### Author: ![pika](https://avatars.discourse-cdn.com/v4/letter/p/ce73a5/32.png) [@pika](https://discuss.elastic.co/u/pika)
#### Post date: [July 27, 2017, 4:01am UTC](https://discuss.elastic.co/t/querying-kibana-from-an-external-website/94067/3 "2017-07-27T04:01:34Z")

</div>

Hello,  
Thanks for your quick response.

---

<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 24, 2017, 4:01am UTC](https://discuss.elastic.co/t/querying-kibana-from-an-external-website/94067/4 "2017-08-24T04:01:58Z")

</div>

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