Documentation · Quickstart
Deploying Alderline Labs inside your VPC
Install the deterministic scoring engine via Helm or Terraform, post a structured financial payload, and inspect the signed decision response.
1. Helm chart installation
Provision a stateless scoring node connected to your private PostgreSQL audit log database:
helm repo add alderlinelabs https://charts.alderlinelabs.io helm upgrade --install alderlinelabs-core alderlinelabs/decision-engine \ --namespace fintech-risk --create-namespace \ --set resources.requests.cpu="4" \ --set resources.requests.memory="8Gi" \ --set auditLog.postgresUrl="postgres://alderlinelabs_audit@pg-internal:5432/decisions"
2. Terraform module (AWS / GCP private subnet)
module "alderlinelabs_node" {
source = "registry.alderlinelabs.io/infra/vpc-node/aws"
version = "~> 1.4"
vpc_id = var.private_vpc_id
subnet_ids = var.private_subnet_ids
instance_type = "c7g.2xlarge"
enable_privatelink = true
}
3. Score & explain endpoint
Submit a commercial credit or AP verification payload to POST /v1/decisions:
curl -sS https://risk.internal.company/v1/decisions \
-H "Authorization: Bearer $ALDERLINELABS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"workflow": "commercial_credit_v9",
"case_id": "WC-88412",
"features": {
"operating_cash_runway_months": 14.2,
"dso_drift_days_qoq": 11,
"erp_sync_verified": true,
"top3_buyer_concentration_pct": 38.0
}
}'
4. Deterministic decision response
{
"case_id": "WC-88412",
"score": 0.28,
"routing": "APPROVE_WITH_CAP",
"suggested_limit_usd": 180000,
"latency_ms": 11.4,
"model_digest": "sha256:9d4a6f...71c2",
"reasons": [
{ "code": "CR-104", "impact": 0.16, "text": "DSO widened by 11 days QoQ" },
{ "code": "CR-219", "impact": 0.11, "text": "Top-3 buyer concentration above 35%" },
{ "code": "CR-012", "impact": -0.24, "text": "14.2 months verified cash runway" }
]
}