# Kibana Plugin Development in Offline Environment v7.14.0

**URL:** https://discuss.elastic.co/t/kibana-plugin-development-in-offline-environment-v7-14-0/295483
**Category:** Kibana
**Tags:** kibana-plugin-development
**Created:** [January 26, 2022, 4:19pm UTC](https://discuss.elastic.co/t/kibana-plugin-development-in-offline-environment-v7-14-0/295483 "2022-01-26T16:19:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![alexram72](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@alexram72](https://discuss.elastic.co/u/alexram72)
#### Post date: [January 26, 2022, 4:19pm UTC](https://discuss.elastic.co/t/kibana-plugin-development-in-offline-environment-v7-14-0/295483/1 "2022-01-26T16:19:02Z")

</div>

I am trying to develop a Kibana plugin in my environment that is completely offline and am running into issues in getting the helper scripts to run and the development instance of Kibana to come up. I do have access to an instance of artifactory that I am able to upload stuff to. I have used an online machine to clone the repository and run the yarn kbn bootstrap script. After this script successfully ran I zipped up the whole repository and uploaded it to Artifactory, and then downloaded it to my environment. I was able to set the "BAZELISK\_BASE\_URL" environment variable to point to Artifactory. Now when I run yarn kbn bootstrap in my environment it fails to download "[https://github.com/bazelbuild/rules\_nodejs/releases/download/3.5.1/rules\_nodejs-3.5.1.tar.gz](https://github.com/bazelbuild/rules_nodejs/releases/download/3.5.1/rules_nodejs-3.5.1.tar.gz)", I have downloaded that package and uploaded it to artifactory, but I am unsure of how to point the helper script to Artifactory to download that package. The helper script is also unable to reach the ci metrics reporter service. I have tried setting KIBANA\_CI\_STATS\_CONFIG=FALSE and KIBANA\_CI\_STATS\_CONFIG=0 but both come up as invalid options for that variable. I am hoping that someone can help me get a development instance of Kibana up and running in my environment. Developing this plug in in a different environment is not possible as the plug in will be integrating with other tools in the offline environment.

---

<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: [February 3, 2022, 8:59pm UTC](https://discuss.elastic.co/t/kibana-plugin-development-in-offline-environment-v7-14-0/295483/2 "2022-02-03T20:59:09Z")

</div>

We really don't currently have a use case for supporting offline development. Not to say it's not possible, but it's not something we currently provide support for.

Bazel has some [docs](https://docs.bazel.build/versions/main/external.html#offline-builds) for creating offline builds. You should be able to add `build --distdir=bazel-offline` to a `.bazerc.user` in the root and place the files in there. The reason these are attempting to be re-downloaded is they are stored outside the Kibana checkout (~/.bazel-cache`.

---

<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: [March 3, 2022, 8:59pm UTC](https://discuss.elastic.co/t/kibana-plugin-development-in-offline-environment-v7-14-0/295483/3 "2022-03-03T20:59:29Z")

</div>

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