# Kibana Plugin Link

**URL:** <https://discuss.elastic.co/t/kibana-plugin-link/266884>\
**Category:** Kibana\
**Created:** [March 11, 2021, 5:41am UTC](https://discuss.elastic.co/t/kibana-plugin-link/266884 "2021-03-11T05:41:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hayzjd836](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hayzjd836/32/50790_2.png) [@hayzjd836](https://discuss.elastic.co/u/hayzjd836)\
**Post date:** [March 11, 2021, 5:41am UTC](https://discuss.elastic.co/t/kibana-plugin-link/266884/1 "2021-03-11T05:41:41Z")

</div>

Hello

I'm trying to get access to my own dashboard from the sidebar.

For example, if there's a "my\_dashboard" in the sidebar and you click on it, you can go to the "app/dashboard/...".

So I created the plug-in according to the tutorial provided by Kibana Document. And I checked that there was an item in the sidebar that went to the plug-in app.

I want to modify the code below so that I can go to the dashboard instead of going to the plug-in app, but I'm not sure how to do it because I'm new to it

code path : basic\_plugin/public/plugin.ts

```
export class TestPlugin implements Plugin<TestPluginSetup, TestPluginStart> {
  public setup(core: CoreSetup): TestPluginSetup {
    // Register an application into the side navigation menu
    core.application.register({
      id: 'test',
      title: PLUGIN_NAME,
      async mount(params: AppMountParameters) {
        // Load application bundle
        const { renderApp } = await import('./application');
        // Get start services as specified in kibana.json
        const [coreStart, depsStart] = await core.getStartServices();
        // Render the application
        return renderApp(coreStart, depsStart as AppPluginStartDependencies, params);
      },
    });

    // Return methods that should be available to other plugins
    return {
      getGreeting() {
        return i18n.translate('test.greetingText', {
          defaultMessage: 'Hello from {name}!',
          values: {
            name: PLUGIN_NAME,
          },
        });
      },
    };
  }

  public start(core: CoreStart): TestPluginStart {
    return {};
  }

  public stop() {}
}

```

Can you tell me if there's a sample? Or can I get a hint if there's a simpler way?

Thanks

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [March 11, 2021, 3:45pm UTC](https://discuss.elastic.co/t/kibana-plugin-link/266884/2 "2021-03-11T15:45:12Z")

</div>

You can navigate to another app by calling `coreStart.application.navigateToApp` ([kibana/kibana-plugin-core-public.applicationstart.navigatetoapp.md at master · elastic/kibana · GitHub](https://github.com/elastic/kibana/blob/master/docs/development/core/public/kibana-plugin-core-public.applicationstart.navigatetoapp.md)) in your `mount` method instead of actually rendering something.

---

<div class="post-metadata">

**Author:** ![hayzjd836](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hayzjd836/32/50790_2.png) [@hayzjd836](https://discuss.elastic.co/u/hayzjd836)\
**Post date:** [March 12, 2021, 5:45am UTC](https://discuss.elastic.co/t/kibana-plugin-link/266884/3 "2021-03-12T05:45:42Z")

</div>

Thanks

It worked!

---

<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:** [April 9, 2021, 5:46am UTC](https://discuss.elastic.co/t/kibana-plugin-link/266884/4 "2021-04-09T05:46:38Z")

</div>

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