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

# Installation

> Install and configure the official React Native SDK for Markpdf.

# Installation

Use `@markpdf/react-native` in Expo or bare React Native apps. It accepts mobile file objects such as `{ uri, name, mimeType }` from document pickers.

## Install

<CodeGroup>
  ```bash npm theme={null}
  npm install @markpdf/react-native
  ```

  ```bash pnpm theme={null}
  pnpm add @markpdf/react-native
  ```

  ```bash yarn theme={null}
  yarn add @markpdf/react-native
  ```

  ```bash bun theme={null}
  bun add @markpdf/react-native
  ```
</CodeGroup>

For Expo file picking:

```bash theme={null}
npx expo install expo-document-picker
```

For bare React Native, install the picker your app already uses and follow its native setup instructions.

## Configure the client

```ts theme={null}
import { MarkpdfClient } from "@markpdf/react-native";

const client = new MarkpdfClient({ apiKey: "YOUR_API_KEY" });
```

<Warning>
  Mobile app binaries can be inspected. For public apps, put the private API key on your backend and call that backend from the app.
</Warning>

## API endpoint

The production API endpoint is:

```text theme={null}
https://api.markpdf.tech
```

## Next step

Continue with [Quickstart](/docs/sdks/react-native/quickstart).
