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

# 安装

> 安装 @kontextso/sdk-react。

<Note>
  你需要一个 [发布方账号](/publishers#getting-started-is-easy) 来获取 `publisherToken` 与 placement code。
</Note>

```bash theme={null}
npm install @kontextso/sdk-react@4
```

就是这么简单——没有 peer 依赖，也无需任何平台特定的配置。请前往 [展示第一个广告](/sdk/react/first-ad) 完成接线。
