ZuploZuplo
LoginSign Up
  • Documentation
  • API Reference
Introduction
Getting Started
    Develop using the Portal
      1 - Setup Your Gateway2 - Rate Limiting3 - API Key Auth4 - Deploy5 - Dynamic Rate LimitingMCP - Quick start
    Develop Locally
      1 - Setup Your Gateway2 - Rate Limiting3 - API Key Auth
Concepts
Development
    CORSEnvironment VariablesBranch-Based DeploymentsTestingTroubleshootingGitOps vs TerraformCustom Code
    Local Development
      QuickstartRoutes DesignerInstalling PackagesZuplo ServicesDebuggingEnvironment variablesTypeScript ConfigTroubleshooting
    Guides
Policies
Handlers
API Keys
MCP Server
MCP Gateway
AI Gateway
Developer Portal
Monetization
Deploying & Source Control
Observability
Networking & Infrastructure
Account Management
Programming API
Build with AI
Zuplo CLI
Migration Guides
Platform LimitsSecuritySupportTrust & ComplianceChangelog
powered by Zudoku
Local Development

Configuring Environment Variables Locally

For security reasons, your local development doesn't have access to the environment variables that you have configured on the Zuplo Portal. Instead, your local Zuplo API Gateway will load environment variables from a .env file.

  1. Create a .env file in the root of your project.
  2. Follow the following format

As the .env file could contain sensitive information, it shouldn't be committed to your version system. Consider adding .env to your .gitignore file.

Code
KEY1=VALUE1 KEY2=VALUE2
Edit this page
Last modified on August 8, 2025
DebuggingTypeScript Config