mridula
mridula4w ago

Evaluating Windmill for a multi-tenancy usecase

I am still going through your docs and trying to understand what Windmill actually solves (and for whom). From a cursory glance, it looks like Windmill is for creating apps and flows for internal use of a single organization. I have an app in which the users who sign up can have integrations to their accounts on multiple platforms like - Shopify, Stripe, AfterShip etc. I have already built flows in our app. I want to know, with Windmill, can our users add actions in their flows like 'cancel the order', or 'create a ticket' seamlessly, without writing much code (our app will already have their auth details from the integrations). Can someone help me understand if Windmill can help me solve this? Thank you.
7 Replies
rubenf
rubenf4w ago
Yes, you would typically have your own private hub and they would pick your premade scripts from there. Note that this require EE https://www.windmill.dev/docs/core_concepts/private_hub
Private Hub | Windmill
Windmill Hub is the community website of Windmill where you can find and share your Scripts, Flows, Apps and Resource Types with every Windmill user. The best submissions get approved by the Windmill Team and get integrated directly in the app for everyone to reuse easily.
mridula
mridula4w ago
What if I use Windmill's React SDK for my user's flow builder and save the flow in Windmill. How do I know which flow belongs to which of my users? Basically, how do I achieve multi-tenancy?
rubenf
rubenf4w ago
windmill take care of multi-tenancy for you through the use of workspaces
mridula
mridula4w ago
If one of my user's create an action to 'cancel a Shopify order', I don't want them to choose the Shopify connection. We already have the Shopify auth details for the user. Is there any way, in the script, we pick the auth details at run time? What is the recommended way? For example, in the user's workspace, can we keep some variables, which we can use at the time of running the script?
rubenf
rubenf4w ago
yes, you can even fetch the resource from your own api directly
mridula
mridula4w ago
Thanks! If we use Windmill's React SDK, can I customise the UI? For example, when a useer chooses a script, I don't want to show them the code.
rubenf
rubenf4w ago
you can but it's quite the endeavor and reserved to larger EE contracts (>$20k/y)