---
hide_table_of_contents: true
---

# Metal Retriever

This example shows how to use the Metal Retriever in a `RetrievalQAChain` to retrieve documents from a Metal index.

## Setup

```bash npm2yarn
npm i @getmetal/metal-sdk
```

## Usage

import CodeBlock from "@theme/CodeBlock";
import Example from "@examples/retrievers/metal.ts";

<CodeBlock language="typescript">{Example}</CodeBlock>
