 How do you authenticate and manage your business users in a multi-tenant app? Developers on a tight schedule need to quickly implement a secure solution. You need to build a product with scalable infrastructure that can be iterated on weeks and months and maybe even years down the line. And you need to keep up with ever-changing industry standards and regulations? That's a lot. Hi, my name is Shreya, and I'm the developer advocate for Odds Zero for Startups. Today, we'll walk through how to build a scalable and secure B2B application in React. Let's break it down. Managing business users requires three elements. Customizing the login experience for each business, managing users for businesses with varying roles and permissions, and giving businesses the ability to manage their own members. Multi-tenancy is when a single instance of software runs on a server that is accessible to multiple groups of users. Odds Zero Organizations is our solution to multi-tenancy. It's a tool for you to manage business users. Simply put, each business is an organization. Each organization has members. And each member can have roles that define their permissions. When users log into your application, how they log in depends on requirements defined by each business. For example, let's say you have three customers with varying needs. Organization A is a small business so they're comfortable with letting their members log in with Google or another preferred social identity provider, or IDP. Organization B is a larger corporation, so they're expecting not only enterprise IDPs, but also multi-factor authentication, or MFA, as an additional layer of security. And Organization C is a brand new startup with only one employee, the founder, and all they really want is a seamless experience. The typical app user needs to be able to log into the app and do some basic tasks. All of your business customers also want to distinguish a role for admins who have additional permissions, like sending invites to cool new members or kicking problematic members out. Let's explore what a potential solution with organizations would look like. First, we'll head to our OdZero dashboard to get started. You can select an existing application or create a new one and configure it for business users. Next, you can create organizations for each business customer. You can customize the identity flow for each organization by enabling social connections, enterprise connections, and MFA. And finally, you can add more layers of security for your users by creating roles with defined permissions, inviting members, and assigning roles. Now you can integrate this login experience into your React app. To make this easy, we're just gonna follow the React quick start. First, we'll start by installing the OdZero React SDK. Then we'll configure the OdZero provider component, which is required for the SDK to function properly. It involves updating the domain, client ID, and redirect URI properties. We can now add login to the application. And similarly, add logout to the application. And finally, you can show user profile information for authenticated users. Eventually, you may want to do more. You could require multi-factor authentication for users outside their corporate network to increase security, assign default roles to users on signup, or at another point in the identity flow, and allow customers to self-manage their organizations using an admin portal. Multitenancy is the foundation for many B2B apps, but you should not have to spend all your time building it. This is just a teaser of what you can accomplish with organizations. Try it yourself for free and let us know if you have any questions. Oh, and by the way, if you're an early-stage startup, you can apply now to the OdZero for startups program. It's free for one year, supports 100 organizations in production, and much more. Bye.