> ## Documentation Index
> Fetch the complete documentation index at: https://impossible.sh/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Build your first page

> Walkthrough: select a page, type a prompt, see the preview, and publish your changes.

# Build your first page

This guide walks you through building or editing a page with Impossible.

## Open the builder

1. Go to **Impossible** in the WordPress admin menu.
2. You'll see the three-panel layout:
   * **Left:** Site Explorer — your pages and posts
   * **Center:** Preview — live preview of the selected page
   * **Right:** Chat — where you type prompts

## Select a page

In the Site Explorer, click a page (e.g. **Home**) to select it. The preview loads that page. The agent uses the selected page as context for your prompts.

## Type a prompt

In the Chat panel, type what you want. Examples:

| Goal              | Example prompt                                                            |
| ----------------- | ------------------------------------------------------------------------- |
| Add a hero        | Add a hero section with "Welcome to Our Site" and a short subtitle        |
| Add features      | Add three feature cards with icons: Fast, Secure, Reliable                |
| Create a new page | Create a new "Services" page with a hero and three feature cards          |
| Change text       | Change the heading to "We Build Great Websites"                           |
| Add a CTA         | Add a call-to-action button that says "Get Started" and links to /contact |

Press **Enter** to send. The agent reads your site, makes changes, and the preview refreshes when done.

<Tip>
  Be specific. "Add a hero with headline X and CTA Y" works better than "add a hero." See [Prompting basics](/docs/guides/prompting-basics) for more tips.
</Tip>

## Preview and iterate

* The center panel shows your changes in real time.
* Use the device toggles (desktop, tablet, mobile) to check responsive layout.
* Use the zoom controls to adjust the preview size.
* Type another prompt to refine or add more content.

## Publish or discard

All edits are **staged** until you publish. Your live site does not change until you click **Publish**.

<Steps>
  <Step title="Review changes">
    Check the preview and the Change log (below Site Explorer) to see what was modified.
  </Step>

  <Step title="Publish">
    When ready, click **Publish** in the bottom bar. This publishes all staged changes (pages, CSS, theme files) to the live site.
  </Step>

  <Step title="Or discard">
    To undo everything without publishing, click **Discard**. All staged changes are removed.
  </Step>
</Steps>

## Undo and redo

* Use **Undo** / **Redo** in the chat panel or bottom bar.
* Keyboard shortcuts: **Ctrl+Z** (Windows/Linux) or **Cmd+Z** (macOS) for Undo; **Ctrl+Shift+Z** or **Cmd+Shift+Z** for Redo.
* The **Change log** lists recent changes; use **Revert** on an entry to undo back to that point.

<Note>
  Undo and Redo only affect the staged state. Once you publish, those changes are live and cannot be undone through Impossible.
</Note>
