| title | Cloud Audio Storage |
|---|---|
| sidebarTitle | Cloud Audio Storage |
| icon | cloud-arrow-up |
| description | Set up Google Cloud Storage for saving audio files from your Omi device. |
Store audio files from your Omi device in Google Cloud Storage (GCS). This guide walks you through creating a bucket, setting up credentials, and connecting it to the Audio Streaming feature.
You'll need an active Google Cloud Platform account. If you don't have one, [create one here](https://console.cloud.google.com/).1. Go to the [GCS console](https://console.cloud.google.com/storage/browser) 2. Click **Create Bucket** 3. Configure the bucket:
| Setting | Recommended Value |
|---------|-------------------|
| Name | Something unique, e.g. `omi-audio-files` |
| Location | Multi-region for reliability, or single region for lower cost |
| Storage class | **Standard** (for frequently accessed files) |
| Public access | **Off** (keep audio private) |
| Access control | **Uniform** |
4. Click **Create**
<Warning>
Keep this key file secure. It grants access to your storage bucket.
</Warning>
<Tabs>
<Tab title="macOS / Linux" icon="terminal">
```bash
base64 -i your-key-file.json
```
</Tab>
<Tab title="Windows" icon="windows">
```powershell
[Convert]::ToBase64String([IO.File]::ReadAllBytes("your-key-file.json"))
```
</Tab>
</Tabs>
Copy the output — this is your `GOOGLE_APPLICATION_CREDENTIALS_JSON` value.
You'll need these two values when deploying the audio streaming service:
| Variable | Description |
|---|---|
GOOGLE_APPLICATION_CREDENTIALS_JSON |
Base64-encoded service account key |
GCS_BUCKET_NAME |
Your storage bucket name |
Stream real-time audio from your device to cloud storage Create apps that use audio data