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
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:Next Steps
Audio Streaming
Stream real-time audio from your device to cloud storage
Build Apps
Create apps that use audio data