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

# Userpilot React Native with Expo

> Configure navigation, analytics, and experience callbacks

The Userpilot React Native module can be easily integrated into an app using Expo.

## Installation and Setup

```sh theme={null}
$ npx expo install @userpilot/react-native
```

The Userpilot React Native module includes native code, so you must generate a new development build. If you use Continuous Native Generation (CNG), run `npx expo prebuild`, otherwise follow the [Create a development build](https://docs.expo.dev/develop/development-builds/create-a-build/) guide.

```js theme={null}
import * as Userpilot from '@userpilot/react-native';

await Userpilot.setup('<APP_TOKEN>');

Userpilot.identify('user-id');

Userpilot.screen('Screen Name');
```

## Push Notifications

Userpilot maintains `@userpilot/expo-config`, an Expo config plugin that automatically configures push notifications for your app. See [https://docs.userpilot.com/developer/installation/mobile/mobile-expo-push-notification](https://docs.userpilot.com/developer/installation/mobile/mobile-expo-push-notification) for details.

<Frame>
  [**For any questions or concerns please reach out to support@userpilot.com**](mailto:support@userpilot.com)
</Frame>
