šŸŽ… HOHOHO! 85%OFF Flatlogic Generator! šŸŽ„Build your custom CRM, ERP, or SaaS app with full code ownership this Christmas šŸŽ

Multitenancy and Material-UI Theming for White-Label App

Gravatar

Hi everyone,

I'm building a white-label-ready app and want to enable multi-tenancy. I see that multi-tenancy seems to be available via the Flatlogic generator, but I also want to use Material-UI to simplify theming and allow tenants to customize their brand (e.g., colors, logos).

My questions are:

  1. Is multitenancy only possible with the generator, or can it be set up in other templates as well?

  2. Is the Next.js/Tailwind template the only one available via the generator, or is there a Material-UI template I can use for my project?

  3. Are there any best practices for integrating Material-UI into a Flatlogic-generated app for tenant-specific theming?

Thanks in advance for any guidance!

User profile image

Hi Cyrus, glad to see you here!

To answer your questions: - At the moment, multitenancy is available only through the Flatlogic Generator. - The templates available on our website are separate products and are not currently integrated with the generator. - You can manually create a project and explore various template options available for you. - If you wish to implement templates into a project generated by the Flatlogic Generator, you will need to make the necessary code changes yourself.

Best Practices for Theming with Material-UI: - Dynamic Theme Provider: Use Material-UIā€™s ThemeProvider to dynamically change themes based on tenant-specific settings. - Custom Themes: Define custom themes for each tenant and switch between them based on the tenantā€™s configuration. - Component Customization: Leverage Material-UIā€™s customization capabilities to allow tenants to modify components like buttons, typography, and forms according to their brand guidelines.