This document explains how to properly configure your Gladia API key for development and production use.
-
Get your API key from Gladia
-
Set the environment variable:
Windows (PowerShell):
$env:GLADIA_API_KEY="your-actual-api-key-here"
Windows (Command Prompt):
set GLADIA_API_KEY=your-actual-api-key-here
Linux/macOS:
export GLADIA_API_KEY="your-actual-api-key-here"
-
Run your application - it will automatically use the environment variable
-
Copy the example file:
copy .env.example .env
-
Edit
.envand replace with your actual API key:GLADIA_API_KEY=your-actual-api-key-here