Prototyping for BAs: Lovable and the Coding-Agent Combo
A few years ago, a prototype meant nice screens from a designer for a presentation. Now product managers build prototypes really fast to test their hypotheses. And for us, business analysts, it's just one of the techniques from BABOK. We use it to elicit and validate requirements. I mean, you show something early, you get feedback, and you understand what the stakeholder really meant. And also everyone has the same picture of how the flows should work.
Prototyping is not something new. I did a lot of it in Figma and Axure. But now we have much more advanced tools. I've been experimenting with them a lot, so I want to share what I learned. This is the first part: Lovable, and Lovable combined with a coding agent.
In BABOK, there are two types of prototypes. Throw-away: you build it to discuss, and then you don't keep it. Evolutionary: it grows with every iteration. I'll come back to them in each part, because for me it's the easiest way to explain which tool I use and when.
1. Lovable
Lovable is probably the easiest tool. It's the same type as Figma Make, Manus, and others: you describe what you want, and you get a working app.
How I do it:
1. First I fill in Instructions (earlier it was called Knowledge). This is the context of the project, Lovable reads it before every prompt. I write it as a short brief for a new developer in the team:
what the product is and who uses it
the main user journeys
roles, and what each role can see and do
design: colors, fonts, style
mistakes Lovable keeps making, so it doesn’t repeat them
For me, Instructions are for things that don’t change often. The flows can change many times, especially during the presales and discovery stages. But the goal of the product, why we build it and for whom, changes much less often. It can change too, but it’s less likely. So I don’t describe every step of the flows there. I only write the main user journeys as goals, like Lovable suggests in its docs: “a client books a session in under a minute”. The details go into the prompts.

I also use workspace instructions. They work for all projects in the workspace, so I put there things I repeat in every prototype: clean minimalist design, small animations so it feels alive, realistic demo data instead of lorem ipsum. And project instructions are only about the product itself. If they conflict, Lovable gives priority to the project instructions.
I don’t write this brief from scratch. I generate it with AI from what I already have, like the feature list and notes from calls, and then review it. You can even ask Lovable itself to write it in Chat mode. The limit is 10,000 characters, but honestly, a short brief works better.
2. Then I put the feature list into the prompt. In presales, I almost always have one, because the estimate is based on it. So I just paste it and ask Lovable to build the first version.
Lovable doesn’t build everything at once. It splits the scope by itself, something like “I’ll create 3 pages now and the other 2 later”. At first it was a bit confusing, but it’s fine. I just ask for the next pages until the whole feature list is covered.
3. When the pages are there, I make the main flow work end to end, so the prototype is closer to real life. For this, Lovable uses the browser’s local storage, so you don’t need a database or backend. For example, the client creates a request, it appears in the list, the manager approves it, the status changes. And it really works. So we don’t just look at screens, we check how the flow works.
And I always add a reset button with demo data. Otherwise, after a few demos, the prototype is full of “test test 123,” and you can’t easily go back to a clean state.
Two more things you can try
Lovable has Skills. These are instructions for things you repeat in every prototype, for example, the reset button. You write them once, and Lovable uses them when needed. And if your prototype looks too "AI-generated", have a look at 21st.dev. It's a library of UI components: you copy the prompt of a component and paste it into Lovable. Useful when the product is in a domain where visuals are important.
When I use Lovable
In BABOK terms, what I build in Lovable is a throw-away prototype. And for me, it works best at two stages.
In presales, Lovable gave me the most. Once we had a prototype for a presales review. Usually it's a presentation, some questions, a discussion. But this time it was a really lively conversation. The client said something like: "Now I can imagine how it will look. And now I understand why you asked me all those questions." They clicked through the prototype and started to see by themselves where the idea still had gaps or wasn't thought through.
But in my experience, it never became the product. It's a great artifact for knowledge sharing with the analyst who continues the project, but then something new is built anyway.
In early discovery, I used Lovable a lot too. When we went deeper into details, I updated the prototype step by step, so new requirements appeared on the screen almost right away. And what is really valuable in discovery: you can validate requirements with end users, not only collect them. On one project we did exactly this. We showed the prototype to end users, got feedback, and changed the requirements before development started.
After discovery, the prototype was usually thrown away. A designer joined, used it as input, and continued from there.
2. Lovable + a coding agent
Sometimes you need more freedom than Lovable gives. For example, on one project the contract said we would use something predefined like Material Design to speed up the development. Of course I wanted the prototype to show it, so the client sees exactly what they will get and there are no surprises later. And not only the look. Material has its own controls and their behavior, and these are constraints for the future product.
I asked Lovable, and it gave me something "Material-ish". It looks similar, but these are not real Material components. So I needed a tool that works with the code itself. This is where a coding agent helps.
I usually use Lovable with Claude Code. I run Claude Code in VS Code and start my sessions from there. But it works the same way with Codex or any other coding agent.
How I do it:
I build the first version in Lovable, same as described above.
I connect Lovable to GitHub in the project settings, and Lovable creates a new repository with the code. Lovable can't connect to an existing repository, it always creates a new one (there is a workaround, see P.S.).
I clone this repository to my computer. The coding agent works with files on your computer, not with Lovable in the browser, so you need a local copy. If you have never worked with code, first install Git, you do it once. Then you can ask the coding agent to clone the repository to your local computer.
I open this folder in VS Code, start a session with the agent and write what I want, like in Lovable. For example: "Install the Material UI library and replace the components with real Material components". The difference is that the agent works with the code directly, so it can do what Lovable couldn't.
When I'm happy with the result, I ask the agent to commit and push. Lovable and GitHub sync in both directions, so all changes appear in Lovable. It's nice that you can push the updates to a separate branch, so you don't affect the main prototype. You feel like a bit of a developer 🙂

For me, having Lovable while working in Claude Code is the main benefit. I still shared the same Lovable link with clients, and they left comments directly on the prototype. If you build a prototype only with a coding agent, you need to host it somewhere. Here I didn't need it.
Why I use this combo
My favorite thing is call transcripts. I keep everything for a project in one folder: call transcripts from Teams and the prototype repository. Nothing special, just standard Teams transcripts. The agent works in this folder, so it can read the transcripts, find what the client asked for and apply it to the prototype. No copying notes from one place to another. And the next meeting starts with "this is what we heard, click through it".
I also write requirements with the agent. And requirements always refer to the prototype: how a screen works, what happens when the user clicks something. So instead of describing it, attaching screenshots or sending a Figma link, I asked the agent to go into the prototype's code. The idea is that it doesn't see only pictures, it sees the whole flow. I don't need to explain the flow, it's already in the code. The agent takes the behavior from there and describes it in user stories, a data dictionary and so on.
And of course real component libraries. The agent can install any library and use real components. In my Material case it installed the Material library and rewrote the screens. The same prototype, but now it's real Material, not "Material-ish".

When I use it
Here the prototype is not throw-away anymore. In BABOK terms, it becomes evolutionary: it grows with every iteration, together with the requirements. I use it at two stages.
The first one is discovery, but not when you collect a list of requirements. It's when you need to prepare something the dev team can work with. Especially in waterfall-style discovery, when you need a full specification before development starts. The prototype and the requirements grow together, and the agent keeps them in sync.
The second one is projects without a designer. Here the prototype becomes the source of design, even during development. With real component libraries it's close to the final product, so sometimes you don't even need a designer. But as a design reference, not as the codebase. Developers don't really like this code. Mine say the frontend code Lovable generates is not very good. I can't judge it myself, but I've heard it more than once.
Note to remember: a prototype is not a product
Clients often mix up a prototype and a finished solution. Once a client asked me why some types of notifications were missing. I explained that it's a prototype: we show a few notifications to demonstrate where they are, how they look, what options and behavior they have. And it was ok. But the funny thing is that later almost the same question came from a person in my own team 🙂 So when you work with such prototypes, explain again and again that this is not the final product. The more real it looks, the more often you need to repeat it.
Cheat sheet
Presales, quick demo → Lovable
Early discovery, exploring and validating with users → Lovable
Discovery with a full specification → Lovable + a coding agent
No designer on the project → Lovable + a coding agent
All of this works best for greenfield projects, when you build a new product from scratch and there is no existing code or design you need to follow.
In the next part, I'll write about Claude artifacts and brownfield projects: when the product already exists, with its own code and design system, and the prototype needs to fit into it.
P.S. How to move a prototype from another tool to Lovable. Lovable always creates its own repository, so you can't connect an existing one. But there is a workaround. Once in presales, I had a prototype in Figma Make, and I needed to continue in Lovable. I connected Figma Make to GitHub, so I had a repository with the code, and then moved the code to the repository Lovable created. And the prototype from Figma Make appeared in Lovable. If you don't know how to move code between repositories, just ask your AI, it will give you step-by-step instructions. It should work with any similar tool that can push code to GitHub.
From the editors:
If you want to deepen your BA skills in using AI, pay attention to
Art of Business Analysis training schedule
News and articles on business analysis:


