> ## Documentation index
> Fetch the complete documentation index at: https://upstash.com/docs/llms.txt
> Search it with GET https://upstash.com/docs/search?q=<query>.
> Use these to discover all available pages before exploring further.

# Upstash Realtime

> Type-safe realtime events for Next.js, built on Redis streams and SSE.

Upstash Realtime adds realtime features to Next.js projects. It is HTTP-based, built on Redis streams and server-sent events, with type-safe events, message history, and built-in authentication helpers.

## Pages

- [Quickstart](/realtime/overall/quickstart): set up Realtime in a Next.js app.
- [Client-Side Usage](/realtime/features/client-side): subscribe to events in React.
- [Server-Side Usage](/realtime/features/server-side): emit events, subscribe to channels, and read history on the server.
- [Channels](/realtime/features/channels)
- [Authentication](/realtime/features/middleware)
- [History](/realtime/features/history)
- [Deployment](/realtime/features/serverless)
- [Pricing](/realtime/overall/pricing)

## For AI agents

- [/docs/realtime/llms.txt](https://upstash.com/docs/realtime/llms.txt) lists every Realtime page.
- Append `.md` to any page URL for its Markdown, for example [/docs/realtime/overall/quickstart.md](https://upstash.com/docs/realtime/overall/quickstart.md).
