---
title: Install Sahha SDK for Expo
---


Set up your platform projects and add the Sahha SDK to your Expo app.

{% callout title="Development build required" type="warning" %}

The Sahha SDK uses native platform code for Apple Health and Health Connect. **Expo Go does not support native modules**, so you must use an [Expo development build](https://docs.expo.dev/develop/development-builds/create-a-build/).

{% /callout %}

---

## Prerequisites

{% callout title="Your project must support:" %}

- **Expo:** Development build (not Expo Go)
- **iOS:** iOS 15 or above, Swift 5 or above
- **Android:** compileSdk 36 or above, Kotlin 1.9.24 or above — see [full Android requirements](/docs/connect/sdk/installation/android#prerequisites)

{% /callout %}

If you need to add Expo to an existing React Native project, see [Installing Expo modules](https://docs.expo.dev/bare/installing-expo-modules/).

---

## Set Up Platform Projects

Expo apps target both iOS and Android, so you need to complete the platform-specific setup for each. These guides cover Xcode capabilities, manifest permissions, and everything your project needs before the SDK can collect health data.

Generate the platform folders if they don't exist yet:

```shell-session title="Terminal"
$ npx expo run:ios -d
$ npx expo run:android -d
```

{% action-cards %}

{% action-card title="iOS Platform Setup" icon="apple-logo" href="/docs/connect/sdk/installation/ios#set-up-xcode-project" description="Enable HealthKit, background delivery, background processing, and add usage descriptions in Xcode" /%}

{% action-card title="Android Platform Setup" icon="android-logo" href="/docs/connect/sdk/installation/android#set-up-android-project" description="Add Health Connect permissions to your AndroidManifest.xml" /%}

{% /action-cards %}

---

## Install the Library

Install the Sahha SDK and the Expo dev client:

```shell-session title="Terminal"
$ npm i sahha-react-native
$ npx expo install expo-dev-client
```

### Install the native iOS pod

{% callout title="Install CocoaPods" %}

You need CocoaPods to install the native iOS library. Visit [CocoaPods](https://cocoapods.org/) to install it if you don't have it yet.

{% /callout %}

```shell-session title="Terminal"
$ cd ios && pod install && cd ..
```

---

## Import the Module

Import Sahha in any file where you use the SDK:

```typescript title="App.tsx"
import Sahha, { SahhaEnvironment, SahhaSensor } from 'sahha-react-native';
```

---


## Next Steps

Continue to [Step 2) Configure Settings](/docs/connect/sdk/configuration) to set your environment and notification preferences.
