KBAISE/ for lovable
Library
Docs

Connect your app to the Lovable API

about 5 minBuildingchecked 5d agoOfficial page
The short version

Connect your Lovable app to the Lovable API so your custom tools can manage workspaces, track deployments, and view analytics. It handles management tasks behind the scenes, but cannot chat with the AI builder or edit code files.

Teams on Business or Enterprise plans who want to build internal dashboards, publish tools, or team directories that interact with their Lovable workspaces.

Do this, in order

  1. 1

    Open the Connectors page in your Lovable dashboard and select Lovable API, then click Connect.

    This starts the setup flow to link your workspace to the official Lovable management tools.

  2. 2

    Enter a Display name to identify this connection inside your workspace.

    Giving it a clear label helps you tell connections apart if you manage multiple workspaces or access levels.

  3. 3

    Generate a new API key with a credit cap, or paste an existing key starting with 'lov_'.

    The key acts as the secure credential your app uses to talk to the Lovable workspace.

  4. 4

    Configure the Sharing settings to keep it Private or share it with specific team members or the entire workspace.

    This controls who else on your team has permission to attach this connection to their own projects.

  5. 5

    Click Connect to verify the key and complete setup.

    Lovable confirms the key is valid and activates the connector so you can link it to your projects.

Paste this into your project

Use the Lovable API to build a dashboard page that lists all the projects in our connected Lovable workspace along with their current publish status and recent activity.

Words decoded

API (Application Programming Interface)
A structured way for two software systems to communicate and share data automatically.
App + chat connector
A shared integration in Lovable that works both while talking to the AI builder and in the live, published app.
IP allowlist
A security list of approved internet addresses allowed to access a system.

Where people get stuck

  • Do not expect this connector to prompt the AI agent or generate new code; it is strictly for workspace management, project settings, publishing, and analytics.
  • If your API key uses an IP allowlist, you must add Lovable's gateway IP addresses, or all requests from the connector will be blocked.
  • Remember that the connector is only available on Business and Enterprise plans and requires proper creation permissions from a workspace admin.

The short version, steps, decoder and prompt on this page are written automatically from Lovable's own documentation and can lag or misread it. The official page is always the authority.