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

# Getting Started

> Get started with the Metalayer SDK for cross-chain interoperability

## Features

* Cross-chain quote aggregation
* Full TypeScript support
* React hooks integration
* Viem compatibility

<Note>
  **Looking for a pre-built UI?** If you want to execute bridge transactions with a ready-made interface, consider using the [Metalayer Widget](/metalayer/widget/getting-started) instead. The Widget uses this SDK under the hood and provides a production-ready UI with built-in theming, wallet integration, and automatic transaction handling.
</Note>

## Installation

<CodeGroup>
  ```bash pnpm theme={null}
  pnpm add viem @metalayer/sdk
  ```

  ```bash npm theme={null}
  npm install viem @metalayer/sdk
  ```

  ```bash yarn theme={null}
  yarn add viem @metalayer/sdk
  ```
</CodeGroup>

<Note>
  If you plan to use the SDK's React hooks, you'll need to install React Query as a peer dependency.
</Note>

### Installing React Query

<CodeGroup>
  ```bash pnpm theme={null}
  pnpm add @tanstack/react-query
  ```

  ```bash npm theme={null}
  npm install @tanstack/react-query
  ```

  ```bash yarn theme={null}
  yarn add @tanstack/react-query
  ```
</CodeGroup>

## API Key Setup

Contact our team to get your API key.

## Requirements

* Node.js 20+
* TypeScript 5.0+ (recommended)
* React 16+ (for hooks)
* Viem 2.0+ (peer dependency)

## Next Steps

For complete implementation examples and detailed bridge flows, see [Examples](/metalayer/sdk/examples).
