# Importing CoreSetup, CoreStart, etc

**URL:** <https://discuss.elastic.co/t/importing-coresetup-corestart-etc/312449>\
**Category:** Kibana\
**Tags:** kibana-plugin-development\
**Created:** [August 19, 2022, 9:31am UTC](https://discuss.elastic.co/t/importing-coresetup-corestart-etc/312449 "2022-08-19T09:31:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sheereen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sheereen/32/122005_2.png) [@Sheereen](https://discuss.elastic.co/u/Sheereen)\
**Post date:** [August 19, 2022, 9:31am UTC](https://discuss.elastic.co/t/importing-coresetup-corestart-etc/312449/1 "2022-08-19T09:31:18Z")

</div>

We have to import CoreSetup, CoreStart,.... from @kbn/core/server or ../../src/core/public

I found importing libraries in the above 2 ways in different documents.

Which one should I use?

I am creating a plugin external to kibana.... which can be installed to kibana as and when required.

---

<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:** [September 16, 2022, 9:32am UTC](https://discuss.elastic.co/t/importing-coresetup-corestart-etc/312449/2 "2022-09-16T09:32:07Z")

</div>

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