# Plugin on new platform

**URL:** <https://discuss.elastic.co/t/plugin-on-new-platform/245773>\
**Category:** Kibana\
**Created:** [August 20, 2020, 1:17pm UTC](https://discuss.elastic.co/t/plugin-on-new-platform/245773 "2020-08-20T13:17:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wilmouths](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wilmouths/32/54612_2.png) [@wilmouths](https://discuss.elastic.co/u/wilmouths)\
**Post date:** [August 20, 2020, 1:17pm UTC](https://discuss.elastic.co/t/plugin-on-new-platform/245773/1 "2020-08-20T13:17:22Z")

</div>

Hello,  
I am developing a Kibana 7.8 plugin, I would like to know how to retrieve environment variables in the client part (public) and also how to add a link in the menu, because before you had to use uiExports: { links: { ... } } }, I can't find it in the documentation nor in the existing kibana plugins.

Thank you in advance for your help.

---

<div class="post-metadata">

**Author:** ![myasonik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/myasonik/32/62369_2.png) [@myasonik](https://discuss.elastic.co/u/myasonik)\
**Post date:** [August 20, 2020, 2:45pm UTC](https://discuss.elastic.co/t/plugin-on-new-platform/245773/2 "2020-08-20T14:45:16Z")

</div>

If you're trying to add a link to the side navigation, you have to register your plugin. You can find examples of our plugins doing that by searching [`core.application.register({`](https://github.com/search?q=core.application.register+repo%3Aelastic%2Fkibana+extension%3Ats+extension%3Atsx&type=Code&l=&l=)

(I linked a github search, but you'll get better results in your code editor and if you filter out results from test files)

---

<div class="post-metadata">

**Author:** ![wilmouths](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wilmouths/32/54612_2.png) [@wilmouths](https://discuss.elastic.co/u/wilmouths)\
**Post date:** [August 21, 2020, 8:04am UTC](https://discuss.elastic.co/t/plugin-on-new-platform/245773/3 "2020-08-21T08:04:31Z")

</div>

I would like add a link which rediect on an external website like this (made on a plugin in Kibana 7.0) :

```auto
uiExports: {
    links: [
      {
        id: 'my_external_website',
        title: 'My external website',
        url: 'http://my-site.com',
        description: 'My external website',
      },
    ],
 }

```

I can't find out how to reproduce this in the KIbana repository.  
I did like this while waiting to find a better solution because it's an application that does a redirection, but it's not really what I'm looking for

```auto
core.application.register({
    id: 'my_external_website',
    title: 'My external website',
    mount() { return window.location.href = 'http://my-site.com'; },
});

```

---

<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 18, 2020, 8:04am UTC](https://discuss.elastic.co/t/plugin-on-new-platform/245773/4 "2020-09-18T08:04:41Z")

</div>

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