---
updatedAt: 2026-08-20T18:49:30.000Z
agentTools:
  projectIndex: https://docs.wristband.dev/llms.txt
---

# NestJS

Set up Wristband in your NestJS project.

This guide shows you how to add Wristband to NestJS.

## Goals

By the end of this guide, you will be able to:

* Integrate your NestJS backend with Wristband, utilizing Wristband's NestJS Auth SDK.
* Implement session management with your NestJS backend.
* Connect a React frontend to your NestJS backend utilizing Wristband's React Client Auth SDK.
* Protect your application's pages and APIs by verifying that the user has an authenticated session.

## Prerequisites

* Node.js (v20.x or later)
* NestJS (v10.x or later)
* A package manager such as npm, yarn, or pnpm
* React (vanilla or NextJS)

<Callout icon="💡" theme="default">
  ### **Express Platform Required**

  This configuration relies on `@nestjs/platform-express`. Since NestJS defaults to <Anchor target="_blank" href="https://expressjs.com">Express</Anchor>, you are covered. However, the Wristband SDK does not currently support <Anchor target="_blank" href="https://fastify.dev">Fastify</Anchor>.
</Callout>

## Set Up NestJS

If you are starting from scratch, create a new project by following the <Anchor target="_blank" href="https://docs.nestjs.com">NestJS</Anchor> installation guide.

<br />

<HTMLBlock>{`
<style>
.UpdatedAt {
  display: none;
}
</style>
`}</HTMLBlock>