Skip to content

The Lovable Feature AtlasIndependent community catalog

Atlas
Agent

Paste an API key in chat and Lovable saves it as a secret

GAAgentReleased Jun 2026Plan not verifiedSource: docs.lovable.dev

Paste an API key in chat and Lovable saves it as a secret is Lovable's Agent feature: You can now paste an API key or token into chat and Lovable will save it as a project secret automatically.

You can now paste an API key or token into chat and Lovable will save it as a project secret automatically. When Lovable detects a key, it replaces the value with a labeled tag, such as OPENAI_API_KEY, before you send the message. The real value stays out of the message and chat history, while the agent can still use the secret by name when helping you build.

How it works

How Paste an API key in chat and Lovable saves it as a secret works, drawn only from its official release notes.

  1. What it does

    You can now paste an API key or token into chat and Lovable will save it as a project secret automatically.

  2. Who gets it

    The source does not say which plans include it. Check your workspace before relying on it.

Example workflows

Starting points built from this record, not transcripts of a run. Each prompt is written the way it should be sent, as one paragraph, and each is worth editing before you send it.

  1. Stand it up from scratch

    You have read the record and want Paste an API key in chat and Lovable saves it as a secret working in a real project rather than a sandbox.

    Set up Paste an API key in chat and Lovable saves it as a secret in this project — you can now paste an API key or token into chat and Lovable will save it as a project secret automatically. Walk it end to end, tell me exactly what you changed, and flag anything I have to switch on myself before it works.

    Expected outcome

    A working setup, a plain list of what changed, and a short list of anything left for you to switch on. Check that list before assuming it is done.

  2. Decide whether it fits your project

    Worth five minutes before you wire anything in. Paste an API key in chat and Lovable saves it as a secret sits in Agent, and not every project needs it.

    I am building the project in this workspace. Given that Paste an API key in chat and Lovable saves it as a secret you can now paste an API key or token into chat and Lovable will save it as a project secret automatically, tell me honestly whether it fits what I am building, including the cases where I should not use it. If it does fit, give me the single smallest first step.

    Expected outcome

    A direct yes or no with the reasoning, the cases against it, and one first step. Treat a hedged answer as a no.

  3. Brief your team on it

    Someone has to explain the change to the people who will live with it. This produces that note.

    Write a short note for my team about Paste an API key in chat and Lovable saves it as a secret in Lovable — you can now paste an API key or token into chat and Lovable will save it as a project secret automatically. Under 120 words: what it is, what changes for us, and what we should do about it this week. Plain language, no hype, no bullet padding.

    Expected outcome

    A note you can paste into chat as-is. Read it once for anything overstated before you send it.

Capabilities

    The link to lovable.dev uses a referral code. The atlas is otherwise unsponsored.

    Frequently asked

    • What is Paste an API key in chat and Lovable saves it as a secret?

      Paste an API key in chat and Lovable saves it as a secret is Lovable's Agent feature: You can now paste an API key or token into chat and Lovable will save it as a project secret automatically. You can now paste an API key or token into chat and Lovable will save it as a project secret automatically.

    • Is Paste an API key in chat and Lovable saves it as a secret GA or in beta?

      Paste an API key in chat and Lovable saves it as a secret is generally available (GA) on Lovable.

    • What Lovable plan includes Paste an API key in chat and Lovable saves it as a secret?

      The atlas has not verified which Lovable plans include Paste an API key in chat and Lovable saves it as a secret. Check Lovable's pricing page.

    • When did Paste an API key in chat and Lovable saves it as a secret launch?

      Paste an API key in chat and Lovable saves it as a secret launched on Jun 26, 2026.

    Plan not verifiedView on docs.lovable.dev
    Post on XLinkedIn

    What Lovable Shipped

    Get every new Lovable feature by email.

    A curated Monday roundup of every Lovable feature added or promoted to GA in the past week — pulled straight from the atlas.

    No spam. Unsubscribe anytime. Independent, not affiliated with Lovable AB.