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

# Studio

> Official Livepeer provider for Studio.

The `studioProvider` configures the client with
[Livepeer Studio](https://livepeer.studio).

## Usage

> [tab] React
>
> ```tsx theme={null}
> import { studioProvider } from '@livepeer/react';
> ```

> [tab] React Native
>
> ```tsx theme={null}
> import { studioProvider } from '@livepeer/react-native';
> ```

The `studioProvider` can then be instantiated with an API key.

```tsx App.js theme={null}
const client = createReactClient({
  provider: studioProvider({ apiKey: "yourStudioApiKey" }),
});
```

## Configuration

### apiKey

A [CORS protected](/api-reference/overview/authentication.md) Studio API key. If no
API key is provided, the provider will use a default key which is rate-limited.

```ts theme={null}
import { createReactClient, studioProvider } from "@livepeer/react";

const client = createReactClient({
  provider: studioProvider({ apiKey: "yourStudioApiKey" }),
});
```

### baseUrl

A base URL for the provider. If no base URL is provided, the provider will use
the `https://livepeer.studio` domain.

```ts theme={null}
import { createReactClient, studioProvider } from "@livepeer/react";

const client = createReactClient({
  provider: studioProvider({
    apiKey: "yourStudioApiKey",
    baseUrl: "https://studio.my-domain.com/root/api",
  }),
});
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.