# Lovable

> Point Lovable at the Build docs and your key, paste one sentence, and let it write the call.

Use Lovable for: a page or an app. It reads the same docs as every other tool.

## Where the key goes

Save the key as a secret in Lovable, never in page code. The prompt says the key is saved as a secret. The key is always named `BUILD_API_KEY`, and the prompt names the variable, never the key.

_To write: the exact steps and a screenshot for putting BUILD_API_KEY into Lovable_

## The prompt

Paste this into Lovable. It points your AI at the docs and at your key, then says what you want.

Prompt for lovable:

```
Read https://build.sellermate.ai/SKILL.md. My key is in BUILD_API_KEY, saved as a secret. Build me a page with profit per SKU after fees, returns and ad spend, red when below zero.
```

## A worked example

_To write: a worked example in Lovable: the prompt, what Lovable writes, the call it makes to Build, and what you check before you run it_

## Expected output

The example above should end with: profit page live, KB-077 in red.

_To write: a screenshot or sample of the real output for this prompt_

## If it breaks

Paste the error back into Lovable. Errors say what to change, and a `429` says when to retry. Reads are safe to run again.
