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

# mPhone

> Integrate NoCloud storage with mPhone for media uploads.

## Overview

This guide walks you through integrating NoCloud storage with **mPhone** so that all image, video, and audio uploads go through NoCloud's API.

There are **2 steps** to complete the integration:

1. Change the `activeProvider` to `NoCloud`
2. Update your NoCloud API key

***

## Step 1: Change the Active Provider

Open your mPhone upload configuration and find the `UploadService` section. Change `activeProvider` to `'NoCloud'`:

```lua theme={null}
UploadService = {
    activeProvider = 'NoCloud', -- Change this to 'NoCloud'

    -- NoCloud signed URL endpoint
    nocloudEndpoint = 'https://api.nonefivem.com/cloud/storage/signed-url',

    -- API credentials by media type
    apiKeys = {
        audio = '',
        video = '',
        image = '',
        nocloud = '' -- NoCloud API key (get from https://dash.nonefivem.com)
    }
}
```

***

## Step 2: Set Your NoCloud API Key

In the `apiKeys` table, set the `nocloud` key to your NoCloud API key. You can find your API key in the [NoCloud Dashboard](https://dash.nonefivem.com).

```lua theme={null}
apiKeys = {
    nocloud = 'YOUR_NOCLOUD_API_KEY' -- Replace with your actual NoCloud API key
}
```

<Note>
  You only need to set the `nocloud` key. The `audio`, `video`, and `image` keys
  are used by other providers like Fivemanage and can be left empty.
</Note>

***

## Done

After completing both steps, restart your server. All media uploads from mPhone (photos, videos, and audio) will now go through NoCloud storage.
