Documentation Index
Fetch the complete documentation index at: https://docs.omi.me/llms.txt
Use this file to discover all available pages before exploring further.
Overview
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.
Setup
Create a Storage Bucket
- Go to the GCS console
- Click Create Bucket
- 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 |
- Click Create
Create a Service Account
- Go to IAM & Admin → Service Accounts in the GCP console
- Click Create Service Account
- Set the name (e.g.
omi-audio-uploader) - Grant the Storage Object User role
- Click Done
Generate a JSON Key
- Click on the service account you just created
- Go to the Keys tab
- Click Add Key → Create new key → JSON
- The key file downloads automatically
Base64 Encode the Key
Convert the key to Base64 for use as an environment variable:Copy the output — this is your
- macOS / Linux
- Windows
GOOGLE_APPLICATION_CREDENTIALS_JSON value.Note Your Bucket Name
Go back to the GCS console and copy your bucket name from the list. This is your
GCS_BUCKET_NAME value.Environment Variables
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 |
Next Steps
Audio Streaming
Stream real-time audio from your device to cloud storage
Build Apps
Create apps that use audio data