Beginner guide for AI-built websites

Add Dyrected to an AI-built website

Use this guide when your website is already built in Lovable, Bolt, v0, Cursor, Replit, Windsurf, or another AI coding tool.

Dyrected lets your client edit website content without asking the AI builder to change the site again. The website keeps its design and behavior. Dyrected only controls the content you choose.

Works with any AI builder that can read and edit your website code.

What this guide helps you do

  • Create a site in Dyrected.
  • Copy one setup prompt.
  • Paste the prompt into your AI builder.
  • Review the plain-language checklist the AI gives you.
  • Give the AI your Dyrected details when it asks for them.
  • Test one real content change before inviting the client.

Before you start

1

The website project

Open the project in the AI builder or code editor that can change the website.

3

Your Dyrected details

Keep the Site ID, Site API key, and Base URL ready. The setup prompt tells the AI when to ask for them.

Copy this prompt

Paste this into your AI builder before you give it your Dyrected details. The prompt manages the setup in stages, uses plain language, protects the current design, and waits for approval before it continues.

Dyrected setup promptCopy and paste this into your AI builder
You are setting up Dyrected on this project.

You will manage this entire process yourself.

Work in strict stages. Do not move to the next stage until you have explicit approval from me.

Only ask plain-language questions. Never ask me to make a technical decision.

Never invent content, pages, sections, collections, fields, features, routes, images, blog posts, interactive flows, or behaviour that do not already exist in this project.

Preserve the current design, layout, styling, components, routes, content order, visual hierarchy, animations, responsive behaviour, and application behaviour exactly as they are throughout every stage.

Do not redesign the website.

Do not rewrite unrelated code.

Do not improve copy unless I explicitly ask.

Do not add new features.

Do not remove existing features.

Do not extract something merely because it is a string.

Your goal is to make the existing website content manageable in Dyrected without changing how the website looks or works.

For the longer operating rules, stage behavior, content architecture defaults, batching guidance, and final verification bar, read and follow this page:

https://docs.dyrected.com/docs/quick-start-guides/coding-agents-and-ai-app-builders/using-the-dyrected-prompt

Before using any Dyrected feature, read the relevant current docs and the installed package types. Start with:

- https://docs.dyrected.com/llms.txt
- https://docs.dyrected.com
- https://docs.dyrected.com/docs/basics/fields/overview
- https://docs.dyrected.com/docs/basics/configuration/overview
- https://docs.dyrected.com/docs/features/upload/storage-adapters
- https://docs.dyrected.com/docs/admin/overview

Use only APIs supported by the installed version and current documentation. If the documentation and installed package differ, explain the mismatch in plain language and use the installed package as the source of truth. Do not invent Dyrected functions, configuration options, hooks, field types, access rules, storage options, preview handlers, or package APIs.

---

# Staged Workflow

## STAGE 1 — INSPECT

Before changing any files, inspect the current site and present a short checklist of editable areas in plain language.

- Identify what the owner can reasonably change without changing the design.
- Classify each item as `Global`, `Collection`, or `Page Section`.
- Classify whether editors will `Edit`, `Add/Remove`, or `Arrange`.
- Do not discuss schemas, databases, field types, or technical implementation details.
- Do not change any files in Stage 1.

Then end with this exact line:

WAITING — Does this list look right? Tell me anything to add, remove, or change. Say "approved" to continue.

Do not proceed until I say "approved."

---

## STAGE 2 — SEPARATE

After I approve the content list:

- Move only the approved content into structured local data first where needed.
- Do not connect Dyrected yet if safe local separation still needs to happen first.
- Keep runtime logic in code.
- Keep the site looking and behaving the same.
- Run the project's available validation commands and fix errors before continuing.

Then end with this exact line:

WAITING — Does the website still look and behave exactly as before? Say "approved" to continue, or describe anything that looks wrong.

Do not proceed until I say "approved."

---

## STAGE 3 — PLAN

After I approve Stage 2:

- Present the editing plan in plain language.
- State what becomes a `Global`, `Collection`, or reusable page section.
- State what editors can edit, add/remove, or arrange.
- State which routable content should support preview and which existing content should seed initial data.
- Do not show raw config or code.

End Stage 3 with this exact line:

WAITING — Does this plan match what your client should be able to manage? Correct anything missing or unnecessary, then say "approved" to continue.

Do not proceed until I say "approved."

---

## STAGE 4 — INSTALL

After I approve Stage 3:

Ask me for the following in one message:

- Site ID
- Site API key
- Base URL

Wait for my reply.

Then proceed.

- Install and connect Dyrected in small verified batches.
- Make Dyrected the real source of truth for approved content.
- Preserve the current routes, design, and behavior.
- Only add hooks for approved client-visible behavior.
- Add safe fallbacks, loading, and error handling where needed.
- Keep private credentials out of browser code.

End Stage 4 with a plain-language summary of what is now editable, what is protected, what previews were configured, what routes now read from Dyrected, and which checks were run.

Then end with this exact line:

WAITING — Open the editor and change one piece of content. Confirm it appears on the website, then say "approved" to continue. If something looks wrong, describe what you changed and what you see.

Do not proceed until I say "approved."

---

## STAGE 5 — HANDOFF

After I approve Stage 4:

Confirm the setup is complete.

Remind me to:

1. Publish normally through my existing host or deploy tool.
2. Invite the client as an Editor in Dyrected under Settings → Team → Invite.
3. Test their account before sending the login.
4. Test one page preview.
5. Test one content edit before sending the login.
6. Test one content-driven feature edit if one was included.

Provide a short handoff message I can send to the client.

The handoff message must be written in plain language.

It should explain:

- What the client can edit
- What the client can add or remove
- Which page sections they can reuse
- Which section styles or variants are available
- Which images they can replace
- Which long-form content they can edit
- Which interactive feature content they can manage, if any
- That they can preview pages before publishing where preview is available
- That design and layout changes outside the approved section system still come through me
- That behaviour changes, scoring logic, submissions, dashboards, and user data are separate from content editing unless already included
- That they should ask before deleting important content
- How to access the editor

Do not include technical setup details in the client handoff message.

End with:

COMPLETE — The handoff is ready.

Paste this in the AI builder or code agent that can edit this website. The prompt manages the staged setup and asks for Dyrected details when it needs them.

The prompt will ask for your Dyrected details at the right time. You do not need to add them before then.

Good content to put in Dyrected

Start with content that clients already ask you to change.

Website typeGood Dyrected content
RestaurantMenu items, prices, opening hours, photos, locations, announcements
AgencyServices, case studies, testimonials, FAQs, team members
SaaS siteFeature copy, pricing notes, changelog posts, help articles
School or local groupNotices, events, documents, staff profiles, contact details
Creator or portfolioProjects, bio copy, press links, gallery images

How to choose what goes into Dyrected

If the client might ask you to change it later, it probably belongs in Dyrected.

Good choices are page text, images, menu items, testimonials, FAQs, events, blog posts, team members, locations, and contact details.

If you are unsure, wait for the first checklist. It should answer this question: "Show me the client-editable content list in plain language."

Step by step

1

Create the site in Dyrected

Keep the Site ID, Site API key, and Base URL ready. The prompt will tell the AI to ask for these details later.

https://app.dyrected.com
2

Paste the prompt into your AI builder

Use the same AI builder that owns the website code. The AI should come back with a short checklist.

3

Approve the checklist

If something is missing or unnecessary, say what to add, remove, or change. If it looks right, approve it.

4

Give the AI your Dyrected details when it asks

The prompt makes the AI wait until the install stage before asking for your Site ID, Site API key, and Base URL.

5

Test one real edit

Open Dyrected and change content you can easily recognize. Try a longer heading, a changed image, an empty optional field, or a new item in a list.

6

Invite the client

Invite the client only after one Dyrected edit appears on the website and the design still looks right.

What the AI sends back

The AI sends a plain list of everything on your website a client could reasonably want to change. Read it top to bottom. If something is missing or wrong, correct it. Say “approved” when it looks right.

Homepage hero — headline, tagline, button text, button link Services — service name, description, icon Testimonials — quote, name, role, photo Footer — contact details, social links, copyright text

Before you invite the client

  • The client can edit only the approved content.
  • The website still looks the same.
  • Long text does not break the layout.
  • Private keys are not visible in browser code.
  • The client knows what they can edit.

If something goes wrong

The website did not update

Tell the AI exactly what you changed in Dyrected and which page still shows the old content. Ask it to check fetching, caching, and field mapping.

The AI changed the design

Ask it to restore the previous layout and styles before continuing.

The AI asks a technical question

Ask it to explain the choice as a client editing decision. For example: should the client be able to add more of these items?

The site has quizzes, forms, or calculators

Put labels, questions, result copy, recommendations, and help text in Dyrected if the client needs to edit them. Keep logic and saved user data in code.

Short version

Create the site in Dyrected. Paste the prompt into your AI builder. Approve the editable content list. Give the AI your Dyrected details when it asks. Test one real edit. Then invite the client.