Lowcoder Documentation
  • Lowcoder overview
    • The "Hello World" walk
  • 🆕Setup and run
    • Cloud & Private Cloud
    • Self-hosting
      • Google Cloud Platform
      • Easypanel
      • Heroku
      • Raspberry Pi
      • Access local database or API
      • Update MongoDB Versions
      • Lowcoder Version Update
      • Traefik loadbalancer
      • SMTP Server
      • Migration from Openblocks
    • Security
    • Lowcoder Enterprise Edition
      • Ordering the Enterprise Edition
      • Installing Enterprise Edition
      • Enterprise Edition Features
        • Environments
          • Setting up an Environment
          • Environment Details
        • Audit Logs
        • App Usage Analytics
        • Branding & Whitelabel
  • 🏨Workspaces & Teamwork
    • Workspaces
      • Multi-Workspace Mode
      • Single Workspace Mode
    • Members and Groups
    • Permissions for Resources
    • OAuth
      • KeyCloak
      • Google
      • GitHub
      • Generic OAuth Provider
    • Query library
    • Lowcoder Marketplace
  • ✨Build Applications
    • Create a new App
      • App(s) Navigation
      • Modules
      • Version and Release Management
    • App Editor
      • Query & Editing Roundtrips
      • Bulk Editing
      • Keyboard shortcuts
      • Data selection & Javascript
      • Layers
      • Visual Components
        • Common Component Settings
        • Messages / Toast
        • Dashboard & Reporting
          • Table
          • Charts and graphs
            • Bar Chart
            • Line Chart
            • Pie Chart
            • Scatter Chart
            • CandleStick Chart
            • Funnel Chart
            • Gauge Chart
            • Graph Chart
            • Heatmap Chart
            • Radar Chart
            • Sankey Chart
            • Suburst Chart
            • Theme River Chart
            • Tree Chart
            • Treemap Chart
            • Mermaid Chart
          • Google Maps
          • Timeline
        • Layout & Navigation
          • List View
          • Drawer
          • Modal
          • Navigation
          • Cascader
          • Tree / Tree Select
          • Link
          • Floating Button
          • Text
          • Step Control
          • Page Layout
          • Content Card
          • Tabbed Container
        • Data Collection & Forms
          • Form
          • Input Field Types
          • JSON Schema Form
          • Dropdown
          • Select & MultiSelect components
          • Rating
          • Checkbox
          • Switch
          • Toggle Button
          • Radio
        • Meeting & Collaboration
          • Avatar & Avatar Group
          • Comment
        • Project Management
          • Kanban
          • Gantt Chart
        • Calendar & Scheduling
          • Calendar
          • Date & Date Range
          • Time & Time Range
        • Document & File Management
          • File upload
          • Transfer
        • Item & Signature Handling
          • QRCode
          • Scanner
        • Multimedia & Animation
          • Image
          • Lottie Animation
          • Image Carousel
          • Video
          • Audio
          • Image Editor
          • Color Picker
        • Integration & Extension
        • Legacy & Deprecated
      • Option lists
      • Date handling
      • Use Markdown
    • App Interaction
      • Event handlers
    • Themes & Styling
      • Design an efficient and user-friendly form
      • Customize Styles
      • Component Styling Possibilities
    • Video Calls in Lowcoder
  • 🚀Connect your Data
    • Data source basics
      • Configure IP allowlists
    • Data sources in Lowcoder
      • APIs as Datasource
        • REST API
        • GraphQL
        • Google Sheets
      • SQL Databases
        • MySQL
        • MariaDB
        • Supabase
          • Supabase PostgreSQL
          • Supabase Assets API
          • Supabase RealTime
          • Supabase OAuth
        • PostgreSQL
        • Microsoft SQL Server
        • Oracle
      • NoSQL Databases
        • MongoDB
        • CouchDB
        • DynamoDB
      • InMemory Databases
        • Redis
      • File Storages
        • S3 File Storage
      • BigData & OLAP
        • Big Query
        • Snowflake
        • ClickHouse
        • Elasticsearch
      • Websocket Datasource
    • Query basics
      • Bind Query Data to Components
      • Query library
  • 🪄Workflows
    • n8n Integration
  • 💫Business Logic in Apps
    • Write JavaScript
      • JavaScript query
      • Temporary state
      • Transformers
      • Data responder
      • Built-in JS functions
  • 🙌Publish Apps
    • Share an App
    • Publish an App
    • Embed an App
      • Embed App in HTML Pages
      • Embed App in WordPress Pages
      • Embed Apps in React
      • Embed Apps in NEXT.JS
      • Native embed SDK
        • Build the SDK from Source
  • 🔥Lowcoder Extension
    • Opensource Contribution
      • Develop UI components for Apps
      • Develop Data Source Plugins
    • Use third-party libraries in Apps
      • Day.js Date handling
      • Import your own JavaScript Library
    • Custom component
    • Lowcoder Open REST API
  • Lowcoder for Enterprise
    • Custom branding
Powered by GitBook
LogoLogo

More to try...

  • Lowcoder Website
  • Free Cloud Platform
  • Github
  • Discord

© Lowcoder Software LTD

On this page
  • Prerequisites for All Environments
  • Option 1: Automatic Registration (Recommended)
  • Option 2: Manual Setup via UI

Was this helpful?

  1. Setup and run
  2. Lowcoder Enterprise Edition
  3. Enterprise Edition Features
  4. Environments

Setting up an Environment

Lowcoder Enterprise Edition supports multiple Environments (or Instances) like Development, Staging, or Production to support structured deployment workflows. Each environment runs as an independent Lowcoder instance but connects to a central PostgreSQL database for coordination and control.

There are two ways to register environments in Lowcoder Enterprise. Via the UI, or better, automatically via plugin bootstrapping.

Prerequisites for All Environments

Before setting up an environment (via either method), ensure the following:

  1. A Central PostgreSQL Database

    • Required and shared across all environments (Dev, Staging, Prod)

    • Used to register metadata, deployment relations, and staging logic

  2. Enterprise Plugin and License

    • You must have the .jar plugin file and .lic license file installed

Option 1: Automatic Registration (Recommended)

The simplest and most robust way to create an environment is via auto-registration at startup.

Steps:

  1. Prepare the Central PostgreSQL

    • Ensure it is accessible to all Lowcoder environments

    • Pre-create a database such as lowcoder_enterprise with the correct user and password

  2. Install Plugin & License

    • Place the plugin .jar file at: /lowcoder-stacks/plugins

    • Place the license file at: /lowcoder-stacks/licenses

  3. Add Enterprise ENV Variables to your docker-compose or environment file for each Instance

LOWCODER_PLUGINS_DIR=/lowcoder-stacks/plugins
PLUGIN_ENTERPRISE_ENV_TYPE=DEV
PLUGIN_ENTERPRISE_DATABASE_URL=postgresql://localhost:5432/lowcoder_enterprise
PLUGIN_ENTERPRISE_DATABASE_USER=lowcoder
PLUGIN_ENTERPRISE_DATABASE_PASSWORD=yourSecurePassword
PLUGIN_ENTERPRISE_LICENSE_LOCATION=/lowcoder-stacks/licenses
PLUGIN_ENTERPRISE_REDIS_URL=redis://localhost:6379
PLUGIN_ENTERPRISE_MAXMIND_ACCOUNT_ID=124
PLUGIN_ENTERPRISE_MAXMIND_LICENSE=yourMaxMindAPIKey
  1. Restart the Target Environment

    • When the Lowcoder instance starts, the Enterprise Plugin detects the config and automatically registers the environment into the central PostgreSQL instance

Option 2: Manual Setup via UI

Steps:

  1. Log in to the Source (Master) Environment (typically your DEV environment)

    • Use an Admin account

    • Navigate to the Environments page

  2. Click “Add Environment” Fill out the form with:

    • Environment Name

    • Stage Type (e.g., Dev, Test, Production)

    • API Service URL (the URL of the instance to connect)

    • API Key (created manually on the target Lowcoder instance)

  3. Set Environment Role

    • Toggle ON if the new environment is to act as a Master (optional)

  4. Click "Create Environment"

    • The environment will now be registered and ready for staging and deployment operations.


📌 Notes for API Key (Manual Setup)

To generate an API key for an instance:

  1. Log in to the target instance

  2. Use an Admin account

  3. Navigate to Your User Profile → API Keys

  4. Generate and copy the API key to use in the manual setup form

PreviousEnvironmentsNextEnvironment Details

Last updated 1 day ago

Was this helpful?

🆕