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

# Installation

import { Box } from 'theme-ui';

`@libraria/react` is a comprehensive React component library to integrate powerful ChatGPT and [Libraria AI](https://libraria.ai) on any surface you want. From search, to chatbots and oracles, with customizable styling and configurations, Libraria AI has got you covered.

Find it on npm [here](https://www.npmjs.com/package/@libraria/react)

## Installation

To install the Libraria React component, you can use either `npm` or `yarn`.

```
npm install @libraria/react
```

or

```
yarn add @libraria/react
```

## Prerequisites

Before you can use the Libraria React component, there are some prerequisites you need to fulfill:

1. **Anonymous Key**: You must have an `anonKey` from [libraria.ai](https://libraria.ai). If you don't have one, follow the documentation at [docs.libraria.ai](https://docs.libraria.ai/components/getting-started) to get started.

That's it! Once you have fulfilled the prerequisites and installed the component, you're ready to use it in your app.
