> ## Documentation Index
> Fetch the complete documentation index at: https://stytch.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Password Reset Configuration

> Configuring the Password Reset flow for StytchB2B

To build a password reset page, set up a login page that renders the `StytchB2B` component with `authFlowType` set to `PasswordReset`.

```jsx config highlight={5} theme={null}
import { AuthFlowType, B2BProducts, StytchB2B } from "@stytch/react/b2b";

// You'll render the UI component with this configuration after users click the password reset redirect URL.
const passwordResetConfig = {
  authFlowType: AuthFlowType.PasswordReset,
  products: [B2BProducts.passwords],
  sessionOptions: { sessionDurationMinutes: 60 },
};

// Render the StytchB2B component
<StytchB2B config={passwordResetConfig} />
```
