Infrastructure-as-Prompt
Describe what you want in plain language and emma turns it into a reviewable plan you can preview, execute, and export as code.
Infrastructure-as-Prompt (IaP) is the idea at the heart of emma AI Console. You express intent in plain language; emma turns that intent into a concrete plan, shows you exactly what it will do, executes it only when you confirm, and lets you export the result as infrastructure-as-code. Nothing is a black box — every step is something you can read and keep.
In a nutshell, every change moves through four stages:
- Generate — your prompt becomes a plan
- Preview — you see what will change, where, and what it costs
- Execute — emma applies the plan, but only after you confirm
- Export — take the result with you as Terraform, YAML, or JSON

Generate
You describe an outcome, and emma proposes a plan to reach it. You don't specify provider-specific flavor names, API fields, or resource IDs — emma resolves those from your connected accounts and your intent.
Try this
Give me a small Ubuntu VM in Frankfurt with a 50GB volume
Preview
Before anything happens, emma shows a preview of the plan: the resources it will create, change, or remove; the provider and region; and an estimated cost. This is where you catch surprises — a bigger instance than you meant, the wrong region — while they're still free to fix.
Execute
When the preview looks right, you confirm, and emma applies the plan — streaming progress as it goes. Because execution always waits for that confirmation, IaP is safe to explore: generating and previewing a plan never touches your infrastructure. See Safety & confirmations for how the gate works.
Export
Everything you build through emma is real, portable infrastructure. Ask emma to export a single resource or a whole plan and you get clean infrastructure-as-code — Terraform, YAML, or JSON — that you can commit to a repo or hand to another tool. There's no lock-in: the prompt is a faster way to author infrastructure, not a place your infrastructure gets trapped.
Try this
Export my Frankfurt VM as Terraform
See Export to infrastructure-as-code for the full walkthrough.
Templates
A template is a saved prompt: a known-good starting point you can reuse instead of writing the request from scratch. emma ships built-in templates — LAMP, MERN, Kubernetes with monitoring, GPU inference, a vSphere migration, and a monitoring stack — and your company can add its own.
Page navigation — click IaP → See all
The IaP screen shows a few Example templates; clicking one fills the composer so you can adjust the prompt before sending it. See all opens the full Prompt templates gallery, with category tabs, search across names, prompts, and tags, and sorting. Clicking a template in the gallery sends its prompt straight away — the copilot opens and builds a plan from it, which you preview and confirm like any other. The cost on each card is a rough estimate; the plan preview has the real one.
To save your own:
- Create template in the gallery, or Save as template under the composer once you've typed a prompt. A template has a name, the prompt, and a category (leave it on Auto to have emma classify it).
- From a template's ⋮ menu, Edit or Delete your company's templates. Deleting removes it for the whole company; deployments already made from it aren't affected.
- A built-in template offers Edit (creates a copy): your changes are saved as your company's own template. Keep the name and your copy replaces the built-in for your company; rename it and the two sit side by side.
Templates are shared across your company. Creating, editing, and deleting them needs a role above viewer.
Template policies
A template can carry policies — rules a plan built from it has to meet. When a plan breaks a blocking policy, emma doesn't create the plan: the chat shows a Blocked by policy card listing each violation, with a suggestion to adjust the plan and try again. Policies that are only warnings let the plan through, and the copilot tells you what they flagged.
What's next
- Deploy an app by chatting — IaP in practice
- Safety & confirmations — how execution stays under your control
- The diagram — see the result of a plan on the canvas
Last updated on 24 Sept 2026