# Installation

1\. Create an `.npmrc` file in the root of your project [with the following lines](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry#installing-a-package), replacing `GITHUB_ACCESS_TOKEN`with the token provided to you by Passio. This grants you access to the SDK's private listing on the Github Package Registry.

```javascript
//npm.pkg.github.com/:_authToken=GITHUB_ACCESS_TOKEN
@passiolife:registry=https://npm.pkg.github.com
```

2\. Add the Passio SDK dependency to your `package.json` and run `npm install` or `yarn`.

```typescript
"@passiolife/react-native-passio-sdk": "1.4.19"
```

```bash
npm install @passiolife/react-native-passio-sdk 
```

or

```bash
yarn add @passiolife/react-native-passio-sdke code
```

3\. Ensure the native dependencies are linked to your app.

For iOS, run pod install.

```bash
cd ios; pod install
```

For Android, auto-linking should handle setting up the Gradle dependency for your project.

If at any point you need help from the Passio team, please reach out to us at **support@passiolife.com**
