Step 2: Deploy
Step 3: Validate the Manifests
Section titled “Step 3: Validate the Manifests”Run validation to catch errors before deploying:
akili validate customer-orders/Expected output:
Validating customer-orders/... product.yaml OK inputs.yaml OK output.yaml OK serving.yaml OK quality.yaml OK compute.yaml OK Cross-references OKRESULT: 7/7 checks passed, 0 errors, 0 warningsIf validation fails, fix the reported issues. Common mistakes:
- Quality check references a column not in
output.yaml - Missing required field in
product.yaml(description must be at least 10 chars) - Classification too low for the inputs (high-water mark violation)
For faster iteration, use the fast mode:
akili validate --fast customer-orders/Step 4: Register with the Platform
Section titled “Step 4: Register with the Platform”Register the product by submitting all manifest files:
akili product create customer-orders/This uploads the 6 YAML files, runs server-side validation, and stores the product in registered status.
Expected output:
Product registered successfully. Name: customer-orders Version: 1.0.0 Domain: commerce Status: registered ID: 019502a4-3b7c-7d8e-9f01-234567890abcNote: If the
commercedomain does not exist for your tenant, it is auto-created during registration. No separate “create domain” step is needed.
Step 5: Deploy to the Execution Engine
Section titled “Step 5: Deploy to the Execution Engine”Deploy the product to the execution engine. This triggers code generation, provisions resources, and starts sensors.
akili deploy customer-orders/The platform:
- Validates classification propagation (output must be at least as classified as the most classified input)
- Generates asset definitions from your manifests
- Registers the product in all serving stores (lookup store, analytics engine catalog, real-time cache keyspace)
- Creates sensors to watch for upstream materializations
- Syncs metadata to the data catalog (lineage, ownership, classification)
Expected output:
Deploying customer-orders v1.0.0... Classification check PASS (internal >= internal) Code generation OK Serving provisioned lookup, analytics, realtime Sensors created watching: cleaned-customers, cleaned-orders Catalog synced data catalog updatedStatus: deployedStep 6: Trigger an Execution
Section titled “Step 6: Trigger an Execution”Since the schedule type is event, the product runs automatically when both inputs are materialized. To trigger manually:
akili run trigger customer-ordersOr via the API:
curl -X POST \ -H "Authorization: Bearer $TOKEN" \ https://api.akili.example.com/api/v1/products/customer-orders/run