- Access and manage CRM contacts, companies, and deals
- Create and track pipelines and deal stages
- Support marketing workflows and email-related automation (within what your key and HubSpot plan allow)
- Retrieve reporting and analytics data where exposed by the API
- Work with tickets and customer service objects
Common use cases and example apps
| Example app | Example prompt | Description |
|---|---|---|
| Lead inbox | Build an internal view of new HubSpot contacts created this week with owner and lifecycle stage. | Give teams a focused list without opening HubSpot for every lookup. The app queries contacts and renders filters your team cares about. |
| Deal pipeline board | Build a Kanban-style board of deals by stage for our European pipeline. | Visualize pipeline health from CRM data. The app loads deals and groups them by stage for quick standups. |
| Account lookup | Build a tool where I enter a company domain and see HubSpot company info and related contacts. | Connect account research to CRM records. The app looks up companies and associated contacts in one place. |
| Support snapshot | Build a page that shows open tickets for a customer when I paste their HubSpot company ID. | Tie your app’s workflows to service data. The app fetches tickets (or summaries) for context during calls or reviews. |
| Marketing list sync | Build a workflow that adds a contact to a static list when they submit a form in our app. | Keep marketing lists aligned with product actions. The app calls HubSpot when events happen in your UI (subject to API and consent rules). |
| Sales handoff | When a lead hits MQL in HubSpot, show their full contact card and last five activities in our handoff app. | Prepare sales with CRM context. The app aggregates contact and engagement data for a single view. |
How to connect HubSpot
Workspace admins and owners can connect HubSpot. When a connection is created, HubSpot becomes available across projects in the workspace according to your linked projects settings.Prerequisites
Before connecting HubSpot, make sure you have:- A HubSpot account with permission to create or manage private apps (or otherwise issue a service key)
- The HubSpot portal you want this connection to use
- Lovable workspace admin or owner role
HubSpot API access, rate limits, and product features depend on your HubSpot plan and HubSpot’s fair-use policies. Usage is billed by HubSpot according to your agreement with them, not by Lovable.
Step 1: Create a HubSpot service key
HubSpot authenticates server-to-server API calls with a service key (access token) from a private app (or equivalent in your HubSpot setup).- Open your HubSpot account and go to Development (or Settings → Integrations → Private apps, depending on your HubSpot UI).
- Create a private app (or open an existing one) used for Lovable.
- Assign the scopes your app will need—only grant what you intend to use (for example contacts read/write, deals read, tickets read).
- Create or copy the access token. It must start with
pat-.
Treat the service key like a password. If it leaks, revoke it in HubSpot and create a new one.
Step 2: Connect HubSpot in Lovable
- Go to Settings → Connectors → Shared connectors and select HubSpot.
- Click Add connection.
- In Display name, enter a clear name (for example
HubSpot ProductionorHubSpot Sandbox). - In Service key, paste the HubSpot access token (must match the
pat-…format). - Click Create (or Save).
Limitations
- Scopes are fixed at key creation — if you need new permissions, update the private app in HubSpot and replace the service key in Lovable (or create a new connection).
- End-user HubSpot login (each visitor signing into their own HubSpot) is separate from this shared connector, which represents one portal connection for your workspace.
- Gateway limits and HubSpot’s own rate limits both apply; design high-volume jobs with batching and caching where appropriate.
How to unlink projects from a connection
Editors and above can remove specific projects from a connection without deleting the connection entirely. The connection will remain available for other projects. To unlink projects:
When unlinked, those projects will no longer have access to through this connection. If a project needs again, you can link it to any available connection.