Prerequisites
- A Logo.dev publishable key (
pk_…). Sign up free if you don’t have one; your key is on the dashboard under API keys.
1
Copy the prompt and fill in your key
Replace both
LOGO_DEV_PUBLISHABLE_KEY placeholders with your real key before pasting:2
Paste it into Lovable's chat
Send the prompt as a message in the same chat where you’re building the app. Lovable adds a
CompanyLogo component and swaps it into the views that show companies.3
Check a logo renders
Ask the preview to show a company you recognize. If the image is a plain monogram instead of the real logo, the key is usually still the placeholder: search the generated code for
LOGO_DEV_PUBLISHABLE_KEY and replace it.Keep the key out of the repo
A publishable key is built for client-side code, so shipping it in the generated app is fine. To tidy it away anyway, a follow-up prompt like “move the Logo.dev key into a project secret” moves it into Lovable’s secrets.On the free tier, commercial projects need a visible attribution link back to
Logo.dev; personal projects don’t. Paid plans
remove it. Details on the attribution page.
Next steps
Logo API parameters
Every size, format, theme, and fallback option.
API keys
Publishable vs. secret keys, and domain restrictions.