ZuploZuplo
LoginStart for Free
  • Documentation
  • API Reference
Getting Started
    Develop in the portal
      1 - Setup Your Gateway2 - Rate Limiting3 - API Key Auth4 - Deploy5 - Dynamic Rate LimitingDynamic MCP Server - Quickstart
    Develop locally with the CLI
      1 - Setup Your Gateway2 - Rate Limiting3 - API Key Auth4 - Deploy5 - Dynamic Rate LimitingDynamic MCP Server - Quickstart
Concepts
API Management
AI Gateway
MCP Gateway
MCP Server
Developer Portal
Development
    CORSEnvironment VariablesBranch-Based DeploymentsTroubleshootingGitOps vs TerraformCustom Code
    Testing
    Local Development
      QuickstartRoutes DesignerInstalling PackagesZuplo ServicesDebuggingEnvironment variablesTypeScript ConfigTroubleshooting
    Guides
Deploying & Source Control
Analytics
Observability
Networking & Infrastructure
Account Management
Programming API
Build with AI
Zuplo CLI
Migration Guides
Platform LimitsVersion Support PolicySecuritySupportTrust & 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 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 20, 2026
DebuggingTypeScript Config