# Installation

## Install the SDK

```bash
npm install @stream-io/feeds-react-native-sdk
# or using yarn
yarn add @stream-io/feeds-react-native-sdk
```

## Install the mandatory peer dependencies

```bash
npm install @react-native-community/netinfo
# or using yarn
yarn add @react-native-community/netinfo
```

GitHub repository: [https://github.com/GetStream/stream-feeds-js](https://github.com/GetStream/stream-feeds-js). Feel free to submit bug reports and feature requests.

The SDK can be used with both JavaScript and TypeScript.

```js
import { FeedsClient } from "@stream-io/feeds-react-native-sdk";

const client = new FeedsClient("<API key>");
await client.connectUser({ id: "john" }, "<user token>");
```

---

This page was last updated at 2025-08-15T14:14:09.419Z.

For the most recent version of this documentation, visit [https://getstream.io/activity-feeds/docs/react-native/installation/](https://getstream.io/activity-feeds/docs/react-native/installation/).