# Implement multi-tenancy for an external custom plugin

**URL:** <https://discuss.elastic.co/t/implement-multi-tenancy-for-an-external-custom-plugin/315655>\
**Category:** Kibana\
**Tags:** kibana-plugin-development\
**Created:** [October 3, 2022, 6:20am UTC](https://discuss.elastic.co/t/implement-multi-tenancy-for-an-external-custom-plugin/315655 "2022-10-03T06:20:22Z")\
**Posts on this page:** 3\
**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:** [October 3, 2022, 6:20am UTC](https://discuss.elastic.co/t/implement-multi-tenancy-for-an-external-custom-plugin/315655/1 "2022-10-03T06:20:23Z")

</div>

Hi

I am developing my own external custom plugin in React.

I want to implement multi-tenancy for the same. I believe the process to first create namespaces for each company and then give access to users of a particular company to their namespace alone. Please correct me if wrong.

But I couldn't find any documentation related to controlling access or assigning namespaces to users or roles.

Kingly guide me

Thanks

---

<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:** [October 25, 2022, 10:53am UTC](https://discuss.elastic.co/t/implement-multi-tenancy-for-an-external-custom-plugin/315655/2 "2022-10-25T10:53:17Z")

</div>

> **[Security | Kibana Guide \[8.4\] | Elastic](https://www.elastic.co/guide/en/kibana/current/development-security.html#development-plugin-feature-registration)**
>
> Conceptual and step-by-step procedures for using runtime fields, scripted fields, and field formatters.

---

<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:** [November 22, 2022, 10:53am UTC](https://discuss.elastic.co/t/implement-multi-tenancy-for-an-external-custom-plugin/315655/3 "2022-11-22T10:53:37Z")

</div>

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