Getting started with LHAI
LHAI turns a sentence into a published WordPress page — with real images — in under a minute. This guide gets you from install to live URL.
What is LHAI?
LHAI is a WordPress plugin that builds full pages from a natural-language prompt. You describe what you want ("a landing page for a boutique Italian restaurant, hero + menu + reservation form"), and LHAI generates the HTML, the copy, the layout, and the imagery in one pass.
Under the hood: a frontier language model writes the markup, a dedicated image engine paints the photography, and a built-in Visual Editor lets you refine anything afterward without touching code.
System requirements
| Component | Minimum | Recommended |
|---|---|---|
| WordPress | 5.8 | 6.4+ |
| PHP | 7.4 | 8.1+ |
| Database | MySQL 5.7 / MariaDB 10.3 | Latest stable |
| Browser (editor) | Chrome / Edge / Safari — current | — |
| Memory limit | 128 MB | 256 MB+ |
Your host must allow outbound HTTPS to lhai.app for license checks, and to generativelanguage.googleapis.com / api.anthropic.com when you're in BYOK mode. Most firewalls and security plugins allow this by default.
Installing the plugin
- Download
lhai-plugin-latest.zipfrom your account page. - In WordPress admin, go to Plugins → Add New → Upload Plugin, choose the zip, and click Install Now, then Activate.
- Open LHAI → Settings and paste your license key. It validates immediately against
lhai.app. - LHAI grants every new install a starter credit bucket automatically — you can build without paying anything today.
The dashboard tour
After activation, LHAI → Dashboard is your hub. Three things live here:
- Credits summary — how many plan credits renew this month + how many purchased credits you hold. Purchased credits never expire; plan credits reset on the billing anniversary.
- Recent pages — the last pages you built, each with an "Edit with LHAI" shortcut.
- Quick build input — type a prompt and jump straight into the builder. Shortest path from idea to page.
Your first page in 60 seconds
- In the Dashboard quick-build box, type something specific: "Landing page for a pilates studio in Tel Aviv — hero image, class schedule, trainer bios, reservation form."
- Press Enter. The builder opens and streams HTML in real time.
- When it finishes, a chat card appears with five buttons: Generate Images, Upload, Fix, Preview, Publish.
- Click Generate Images. The image engine paints every
data-lhai-imageplaceholder with a real photo, in parallel. - Click Publish, give the page a name, and it's live.
Replaying the onboarding tour
The five-step tour fires on your first build, then stays out of the way. Re-open it any time from the builder menu → Take the tour, or via the console:
window.LhaiBuilder.replayTour()
The "Edit with LHAI" admin bar button
Whenever you view an LHAI-built page logged in as an administrator, a purple Edit with LHAI button joins the WordPress admin bar (near Elementor's equivalent, if installed). Click it to jump straight into the builder for that page — no going back to Pages → Edit first.
manage_options. Regular visitors never see it.