> For the complete documentation index, see [llms.txt](https://docs.squidrouter.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.squidrouter.com/widget-integration/add-a-widget/deposit-widget/installing-the-widget.md). Agents can also search and read this documentation through its [MCP server](https://docs.squidrouter.com/~gitbook/mcp).

# Installing the Widget

Preparing to integrate the Deposit Widget into your app

## Installing the Squid Deposit Widget

### Prerequisites

Before installing the Deposit Widget, ensure you have:

1. Registered for an Integrator ID with the Squid Team.
2. Node.js and a package manager (npm, yarn or pnpm) installed.
3. A React 18 or React 19 app to host the widget.

### Requesting an Integrator ID

Squid issues Integrator IDs on a limited basis and upon review. To request an Integrator ID for your deposit widget integration:

1. Submit a [partnership request](https://squidrouter.typeform.com/partnerships) outlining your use case and integration plans.
2. A Squid team member will review your request and follow up regarding approval and credential issuance.

### Installation

#### Step 1: Install the package

Using npm:

```bash
npm install @0xsquid/deposit-widget
```

Using yarn:

```bash
yarn add @0xsquid/deposit-widget
```

#### Step 2: Provide React 18+ in your app

The widget declares `react` and `react-dom` (`^18 || ^19`) as peer dependencies — make sure your app satisfies one of these versions.

### Next Steps

After installation, follow the framework-specific guide:

* [React Integration Guide](https://docs.squidrouter.com/widget-integration/add-a-widget/deposit-widget/react-installation.md)
* [Next.js Integration Guide](https://docs.squidrouter.com/widget-integration/add-a-widget/deposit-widget/nextjs-installation.md)
* [Vite Integration Guide](https://docs.squidrouter.com/widget-integration/add-a-widget/deposit-widget/vite-installation.md)

Once the widget is rendered, head to [Configuration](https://docs.squidrouter.com/widget-integration/add-a-widget/deposit-widget/configuration.md) to customize destination, branding and theme.

### Support

When you receive your Integrator ID, we'll follow up by email to set up a dedicated Telegram group with your team. That group is your direct line to the Squid team for any questions or assistance during integration.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.squidrouter.com/widget-integration/add-a-widget/deposit-widget/installing-the-widget.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
