[Question]: Multi-tenant support for connecting my clients via Pica
Hi team,
I’m evaluating Pica for a SaaS application where each of my clients (tenants) should be able to integrate their own third-party tools through Pica.
From what I see in the AuthKit docs, it seems possible to scope connections using identityType (user, team, organization, etc.).
My question:
- Can I connect multiple clients through the same Pica integration and keep their connections isolated from each other?
- Is there a recommended best practice for handling a multi-tenant setup (e.g. which
identityTypeto use)?
Thanks for clarifying.
Hi @yusuf-eren, thanks for reaching out!
Can I connect multiple clients through the same Pica integration and keep their connections isolated from each other?
Absolutely, you can connect multiple clients via the same Pica integration while keeping their connections isolated. Our POST /admin/v1/users endpoint, which accepts an email parameter, supports this functionality. Note that this feature is part of our paid plan. If you're interested, we’d be happy to assist with onboarding.
Is there a recommended best practice for handling a multi-tenant setup (e.g., which identityType to use)?
The choice of identityType is flexible and depends on your specific needs—we don’t enforce a strict rule here. That said, we’re developing an organizations feature that will offer a more streamlined way to manage multi-tenant setups. You can check our changelog for the announcement: [https://docs.picaos.com/changelog/product-updates].