Create the Stytch client
Initialize the Stytch client, passing in your Project’s
public_token from the Project Overview of the Stytch Dashboard.Wrap your application in <StytchProvider>
Next, pass the Stytch client to the
<StytchProvider> component at the root of your application, making it accessible to all child components.layout.jsx
Add your login flow
You have now initialized the Stytch client, and can add the Stytch Login component to get a robust, end-to-end login flow working with just a simple config.