Skip to main content
The Production License lets you run the full Blnk stack, including Core, Cloud Dashboard, and Watch, in a dedicated environment. You can deploy it in your own infrastructure or run it in a dedicated cloud environment managed by Blnk. Built for teams that need stronger security controls, data residency support, custom tooling, or a closer operational partnership with Blnk. This doc provides a step-by-step guide for deploying the Production License in your own infrastructure. Let’s get started!

Deployment guide

Use this guide to deploy Blnk Production License on AWS, GCP, Azure, or any cloud provider.
1

Get your Production License

When you purchase a Production License, you’ll receive an email with your license key.Use that value as ENTERPRISE_LICENSE_B64 in step 4.
2

Prepare your databases

Set up a managed Postgres instance and a managed Redis instance in your cloud provider before continuing.
Create a managed Postgres instance in your environment, such as Amazon RDS, Google Cloud SQL, or Azure Database for PostgreSQL. Use a recent supported Postgres version and enable TLS for production.Once the instance is ready, create two databases: one for Blnk Core and one for Blnk Cloud.Keeping these databases separate isolates ledger data from Cloud management data.
CREATE DATABASE blnk;
CREATE DATABASE "blnk-cloud";
Save the connection URL for the instance. You will use it as ENTERPRISE_POSTGRES_URL in a later step.
3

Pull the Docker image

Pull the enterprise image from GitHub Container Registry:
Docker
docker pull ghcr.io/blnkfinance/blnk-enterprise:0.1.10
Using a custom image? Use the image name provided in your license email or onboarding instructions.
4

Add primary environment variables

Create an environment file, such as .env or enterprise.env.Add the following variables and replace the placeholder values with your Postgres URL, Redis URL, and license key.
.env
HOSTNAME=127.0.0.1
ENTERPRISE_POSTGRES_URL=postgres://user:password@host:5432/postgres?sslmode=require
ENTERPRISE_REDIS_URL=redis://host:6379/0
ENTERPRISE_LICENSE_B64=your_base64_license_string
Environment variableDescription
HOSTNAMEUse 127.0.0.1 so health checks and internal services communicate through the container loopback interface.
ENTERPRISE_POSTGRES_URLConnection string for your Postgres instance.
ENTERPRISE_REDIS_URLConnection string for your Redis instance.
ENTERPRISE_LICENSE_B64Base64-encoded license key from step 1.
5

Set up public app config

Add these variables to the same environment file. They configure how users access the Cloud Dashboard.
.env
ENTERPRISE_PUBLIC_PORT=8080
ENTERPRISE_PUBLIC_URL=https://ledger.yourdomain.com
Environment variableDescription
ENTERPRISE_PUBLIC_PORTPort exposed by the enterprise launcher for the Cloud Dashboard.
ENTERPRISE_PUBLIC_URLPublic URL where users access the Cloud Dashboard, including https://. Use this value when configuring CORS_ORIGINS in the next step.
6

Set up Plane Environment variables

Plane powers the Cloud Dashboard and stores its data in the blnk-cloud database.Add these variables to the same environment file you created in the previous step.
.env
CORS_ORIGINS=http://localhost:8080,http://localhost:3001,https://ledger.yourdomain.com
BLNK_ENCRYPTION_KEY=0123456789abcdef0123456789abcdef
JWT_SECRET=your_long_random_secret_here
Environment variableDescription
CORS_ORIGINSComma-separated list of browser origins allowed to access the Plane API. Do not include spaces. Make sure ENTERPRISE_PUBLIC_URL is included.
BLNK_ENCRYPTION_KEYA unique 32-character key used to encrypt sensitive data, such as instance connection keys. Do not change this value after deployment, or previously encrypted data may become unreadable.
JWT_SECRETA strong random secret used to sign and verify authentication tokens.
7

Run the enterprise image

Start the stack with the image you pulled earlier. Map the host port to ENTERPRISE_PUBLIC_PORT, e.g. 8080 if you used the value from the public app config step.
Docker
docker run -d \
  --name blnk-enterprise \
  -p 8080:8080 \
  --env-file ./enterprise.env \
  ghcr.io/blnkfinance/blnk-enterprise:0.1.10
Confirm that your deployment is live:
Check deployment status
docker ps
8

Access the Cloud Dashboard

You are ready to use Cloud in your environment. Open ENTERPRISE_PUBLIC_URL in your browser.
  1. Sign up and create your account.
  2. Sign in and set up your workspace.
  3. Start working with the auto-provisioned Core instance, or connect additional instances to manage more environments.

What’s next

Connect instance

Multiple Core instances via Query Agent.

Working with Blnk Core

Quick start and first transaction.

Navigating Cloud

Dashboard tour and daily operations.

Need help?

This guide covers a standard Production License deployment. If you need custom configuration beyond these steps, send us an email.