--- title: "AI Wizard overview" slug: "build-ai-ready-systems-get-started-wizard-basics-ai-wizard-overview" description: "Guided external system generation from OpenAPI or MCP. Practical adoption guidance with checkpoints for platform admins, architects, and operators." tags: ["Integration", "Developer", "Integrator"] updated: 2026-11-30T19:00:23Z published: 2026-11-17T07:08:06Z canonical: "docs.aifabrix.ai/build-ai-ready-systems-get-started-wizard-basics-ai-wizard-overview" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.aifabrix.ai/llms.txt > Use this file to discover all available pages before exploring further. # AI Wizard overview The **AI Wizard** is an **optional accelerator** for external integrations. It parses OpenAPI sources, detects system type, generates external system and datasource configs, and validates against schemas before writing files to `integration/<systemKey>/`. MCP sources support connection checks only; they do not generate an integration. **Primary path:** [Quickstart CLI-first](/docs/build-ai-ready-systems-get-started-quickstart-new-external-system) with **`aifabrix create`** and fixture copy. Use the Wizard when OpenAPI import saves time — not as a substitute for repair, govern, test, and certification work. ## Why it matters Manual JSON authoring is slow and error-prone. The Wizard creates a **verified draft** — system key, datasources, initial field mappings, and validation hooks — so you refine with **`repair`** / **`validate`** instead of empty files. The Wizard does **not** replace business policy configuration or certification. Expect to repair auth method, RBAC, expose flags, and business metadata after first generation. ## Prerequisites - **`aifabrix auth status`** green - OpenAPI file/URL or MCP server reachable from dataplane wizard API - Sandbox **`systemKey`** (lowercase, stable) ## Where it lives Output under `integration/<systemKey>/`: | Artifact | Purpose | | --- | --- | | `<systemKey>-system.json` | Auth, roles, OpenAPI/MCP hints | | `<datasourceKey>.json` | **`entityType`**, initial mappings | | `application.yaml` | Manifest and datasource list | | `env.template` | **`kv://`** secret references | | `wizard.yaml` / `error.log` | Resume diagnostics (when used) | ## How to set **Path B — after CLI scaffold exists (recommended order):** 1. Ensure folder exists or run **`aifabrix create <systemKey> --type external`** first. 2. Run import (interactive or headless): ``` aifabrix auth status aifabrix wizard aifabrix wizard # or headless: aifabrix wizard --config path/to/wizard.yaml ``` 1. **Repair generated drafts** (mandatory for most CRM OpenAPI specs): ``` aifabrix repair --auth apikey aifabrix repair --rbac --expose aifabrix validate ``` 1. **Complete identity bands** on each datasource — root **`key`**, **`displayName`**, **`systemKey`**, **`entityType`**, **`resourceType`**, **`primaryKey`**, indexed **`externalId`**. 2. Continue the [developer journey](/docs/build-ai-ready-systems-get-started-developer-journey) from model → govern → certify. Example post-wizard system fragment (secrets as **`kv://`** only): ``` { "key": "example-crm", "displayName": "Example CRM", "type": "openapi", "authentication": { "authType": "credential", "credential": { "method": "apikey", "variables": { "baseUrl": "https://api.example.com", "headerName": "X-API-Key" }, "security": { "apiKey": "kv://example-crm/apiKey" } } } } ``` ## Defaults and examples Wizard session flow (dataplane API): 1. Create or resume wizard session 2. Parse an OpenAPI URL/file. An MCP source runs a connection check and stops without generation. 3. Select credentials (optional) 4. Detect platform type and generate configs 5. Validate against application, system, and datasource schemas 6. Save files under `integration/<systemKey>/` | Situation | Action | | --- | --- | | CRM OpenAPI → OAuth detected | **`repair --auth apikey`** for private-app labs | | Missing datasource in application.yaml | **`repair --dry-run`** | | Validation fails on auth shape | Nested **`authentication.credential`** (schema 1.7+) | | Empty **`exposed`** after import | **`repair --expose`** | Resume after failure uses `integration/<systemKey>/wizard.yaml` and `error.log`. ## Validate ``` aifabrix validate aifabrix test-integration ``` Wizard output proves draft schema shape, not live vendor authentication, ABAC or certification. Validate locally, upload for qualification, then deploy when promotion is required. Run live integration and E2E against the intended published system. `--probe` is an optional post-publication runtime check. ## Common mistakes | Mistake | Fix | | --- | --- | | Treating wizard as complete integration | Model + govern + cert ladder | | OAuth template for API-key vendor | **`repair --auth apikey`** | | Skipping **`repair --expose`** | Empty MCP/capability surface | | Secrets pasted into JSON | **`kv://`** in env.template | ## Limits MCP tools are not importable in the current Builder wizard flow. After a passing MCP connection check, the command reports `MCP_IMPORT_NOT_SUPPORTED` and exits with status **2**, without generating configuration or creating a system. A failed connection check exits with status **1**. The same limit applies to headless configurations with `source.type: mcp-server`. A passing connection check proves connectivity, not an import or a usable integration. Headless **`wizard --config`** requires YAML your org maintains — labs use interactive wizard or CLI-first fixtures instead. Wizard detection heuristics vary by OpenAPI vendor; always **`validate`** after import. Datasource JSON still requires indexed **`externalId`** and top-level **`resourceType`** — wizard drafts may omit business metadata you must add before **`verify-trust`**. After wizard import, compare generated datasource list with **`application.yaml`** using **`repair --dry-run`** — silent omissions are the top cause of validate failures on multi-entity CRM imports. Headless configs should pin OpenAPI URLs and credential keys explicitly — non-deterministic wizard sessions make CI flaky when **`wizard.yaml`** drift is not version-controlled alongside integration JSON. ## Related - [Create an integration](/build-ai-ready-systems-get-started-wizard-basics-create-integration.md)