Configure Your Environment - Getting Started
Configure Your Environment
Create a .env file in your project root:
KALTURA_PARTNER_ID=your_partner_id
KALTURA_ADMIN_SECRET=your_admin_secret
KALTURA_SERVICE_URL=https://www.kaltura.com/api_v3
KALTURA_USER_ID=your_user_id
KALTURA_PLAYER_ID=your_player_id
KALTURA_VIDEO_PORTAL_BASE_URL=https://your-site.events.kaltura.com
For running curl examples directly, export as shell variables:
export KALTURA_PARTNER_ID=your_partner_id
export KALTURA_ADMIN_SECRET=your_admin_secret
export KALTURA_SERVICE_URL=https://www.kaltura.com/api_v3
export KALTURA_USER_ID=your_user_id
export KALTURA_PLAYER_ID=your_player_id
Add .env to your .gitignore to keep credentials out of version control.