---
source_url: https://www.pubnub.com/docs/sdks/react/getting-started-react-native
title: Getting Started with React Native
updated_at: 2024-09-19T17:40:36.000Z
---

# Getting Started with React Native

> For AI agents: documentation index at https://www.pubnub.com/llms-full.txt

PubNub's React framework allows you to use PubNub's [JavaScript SDK](https://www.pubnub.com/docs/sdks/javascript/api-reference/configuration.md) features within a React Native application.

## Requirements

To use the PubNub React framework, you need:

* React 16.8 or above
* PubNub [Javascript SDK](https://www.pubnub.com/docs/sdks/javascript.md).
* React Native development environment set up using the guides in [React Native documentation](https://reactnative.dev/docs/getting-started) (React Native CLI Quickstart tab)

## PubNub account

[Sign in](https://admin.pubnub.com/#/login) or [create an account](https://admin.pubnub.com/#/signup) to create an app on the Admin Portal and get the keys to use in your application.

When you create a new app, the first set of keys is generated automatically, but a single app can have as many keysets as you like. We recommend that you create separate keysets for production and test environments.

## Download the React Native wrapper

1. Clone parent repository and enter the `examples/reactnative` directory.

   ```bash
   git clone https://github.com/pubnub/react
   cd react/examples/reactnative
   ```

2. Install dependencies:

   ```bash
   npm install
   ```

3. Run the emulator:

   ```bash
   # for Android:
   npm run android

   # for iOS:
   npm run ios
   ```

Last updated at: 2024-09-19T17:40:36.000Z
