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

# Sourcey integrations

> Retrieve from published Sourcey docs sites using LangChain JavaScript.

[Sourcey](https://sourcey.com) builds static docs sites.

Use `langchain-sourcey` to retrieve from a published Sourcey docs site. It
reads `search-index.json`, uses `llms-full.txt` when present, and returns
canonical page URLs for citation.

## Installation and setup

Install `langchain-sourcey`:

<CodeGroup>
  ```bash npm theme={"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}}
  npm install langchain-sourcey @langchain/core
  ```

  ```bash yarn theme={"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}}
  yarn add langchain-sourcey @langchain/core
  ```

  ```bash pnpm theme={"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}}
  pnpm add langchain-sourcey @langchain/core
  ```
</CodeGroup>

No API key is required.

Point the retriever at the root of a published Sourcey docs build. It reads
`search-index.json` for candidate pages and `llms-full.txt` for full-page
content when that file is present.

## Retriever

You can use [`SourceyRetriever`](/oss/javascript/integrations/retrievers/sourcey) in a
standard retrieval pipeline.

```typescript theme={"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}}
import { SourceyRetriever } from "langchain-sourcey";
```

See the [usage example](/oss/javascript/integrations/retrievers/sourcey) or the
[Sourcey guide](https://sourcey.com/docs/guides/guide-langchain-retriever).

***

<div className="source-links">
  <Callout icon="terminal-2">
    [Connect these docs](/use-these-docs) to your agent of choice via MCP for real-time answers.
  </Callout>

  <Callout icon="edit">
    [Edit this page on GitHub](https://github.com/langchain-ai/docs/edit/main/src/oss/javascript/integrations/providers/sourcey.mdx) or [file an issue](https://github.com/langchain-ai/docs/issues/new/choose).
  </Callout>
</div>
