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

# Next.js

> Reference for the Tunnel Next.js SDK

## Installation

<CodeGroup>
  ```bash npm theme={null}
  npm install @tunnel/nextjs
  ```

  ```bash yarn theme={null}
  yarn add @tunnel/nextjs
  ```

  ```bash pnpm theme={null}
  pnpm add @tunnel/nextjs
  ```
</CodeGroup>

## Exports

Exports from the `@tunnel/nextjs` package.

### TunnelToolbar

Adding the `TunnelToolbar` component to your app allows you to use Tunnel's
collaboration and feedback tools from hosted environments.

#### Parameters

<ParamField path="projectId" required>
  The ID of the project you want to connect to.
</ParamField>

<ParamField path="branch" required>
  The git branch for the current environment.
</ParamField>
