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

# Embedding

> Get started with Tight Embeddable UI for React

## Get Started

<Tip>Every Tight React Page supports desktop web, mobile web, and all breakpoints in between</Tip>
Each Page is shipped in Tight's React Component Library, which can be installed as follows:

<CodeGroup>
  ```bash npm theme={null}
  npm install @tight-embedded/react@latest
  ```

  ```bash pnpm theme={null}
  pnpm add @tight-embedded/react@latest
  ```
</CodeGroup>

Once imported, you'll need to ensure that every Embeddable UI component is rendered in a React Tree
wrapped with a `<Tight>` component.

This is all you need to get going:

```TSX HomeDashboard.tsx theme={null}
import { FinancialOverviewDashboard, Tight } from "@tight-embedded/react";
import "@tight-embedded/react/index.css";

function HomeDashboard({ accessToken }) {
    return (
      <Tight environment="SANDBOX" accessToken={accessToken} >
        <FinancialOverviewDashboard />
      </Tight>
    )
}
```

<Info>
  The ESLint rule `no-unresolved` might warn that `@tight-embedded/react/index.css` does not exist.

  Disable the lint rule on the import line, or import from `@tight-embedded/react/dist/index.css` directly. Please note that the
  direct path might change in future versions.
</Info>

Tight recommends adding a single `<Tight>` component towards the top of your application tree for maintainability.
The `<Tight>` component's `environment` property can be `"PRODUCTION"` or `"SANDBOX"`, depending on the environment you'd like to target. You can obtain an applicable `accessToken` via the Tight [Authentication Endpoint](/api-reference/authentication).

## Embed with AI (MCP)

The Tight Model Context Protocol (MCP) server provides tools that AI agents can use to embed end-to-end accounting utilizing Tight's documentation.

See the [Build with AI (MCP) guide](/guides/launch-paths/build-with-ai) for instructions and examples.
