Multi-tenant on self-hosting
Hi. I added IS_MULTI_TENANCY_ENABLED=true to all my .env file ( api, web, worker, etc ...)
But I can not see the "Tenant" Menu ..
Can I get your help?
3 Replies
Hi @MINIMINI, I'm an AI assistant for Novu. While a team member reviews this question, I'll see if I can find relevant sources for your question.
-----------------------------
While I generate an answer, here are some sources that might be helpful:
* Feature Flags
* Deploy with Docker
* Tenants
* Run Novu in local machine
-----------------------------
Answer
To enable the "Tenant" menu in Novu, you need to set the
IS_MULTI_TENANCY_ENABLED
environment variable to true
in your .env files for all necessary services, including API and WEB. Ensure that you have done this correctly and restarted the services.
Additionally, there might be a need to hardcode the return value in the useIsMultiTenancyEnabled
hook temporarily to check if the feature is enabled (do not commit this change). This step is necessary because the feature might still be behind a feature flag in your version of Novu (1) (2) (3) .
If you have ensured all the above steps and still cannot see the "Tenant" menu, double-check your .env
file configurations and service restarts.Got it. Tagging @Support for additional help.