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

Connecting to Zuplo Services Locally

To use Zuplo services such as API keys and rate limiting locally, you must have a Zuplo account and an existing project. You will be using the connections from your remote gateway.

  1. Run npx zuplo link to bring in relevant information from your Zuplo account and project. Follow the prompt to select the right environment. For local development, we recommend selecting the development environment.
  2. At this point, you will see a file called .env.zuplo containing some information about the account, project, and environment that your local gateway is linked to.

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

  1. You can run npm run dev as normal. The Zuplo CLI will automatically pick up the relevant services from the .env.zuplo file.
  2. If you want to switch environments (for example, from development to preview), run npx zuplo link again and select the new environment. You can see which environment you are connected to by looking at the .env.zuplo file.
TerminalContents of .env.zuplo
# This file is auto-generated from zuplo link. Please don't edit it manually. # It will be auto-generated afresh the next time you run zuplo link. # If you wish to add your own environment variables, create a separate .env file. ZUPLO_ACCOUNT_NAME=your-account-name ZUPLO_PROJECT_NAME=your-project-name ZUPLO_ENVIRONMENT_TYPE=your-environment
Edit this page
Last modified on November 17, 2025
Installing PackagesDebugging