- List and retrieve sales conversations and meeting metadata
- Read full meeting transcripts, participants, and timing details
- Surface scorecards, insights, and coaching signals from the Attention API
- Update, archive, or import conversations, and create snippets and scorecard results
- Ask natural-language questions across your conversation history with Attention’s semantic AI endpoint
- Pull and manage organization, team, and user data
- Combine conversation data with the rest of your app’s content (CRM views, internal tools, AI summaries)
Common use cases and example apps
How to connect Attention
Workspace admins and owners can connect Attention. You can create multiple Attention connections using different API keys. This is useful for separating environments (for example, development and production), isolating access for specific apps, or managing usage limits independently. When the connection is created, Attention can be linked to any project in the workspace. Multiple projects can use the same connection.Prerequisites
Before connecting Attention, make sure you have:- An Attention account with admin role permissions in your organization
- An Attention API key
- Lovable workspace owner or admin role
All API requests made through this connector use your Attention API key. Usage counts toward your Attention plan limits and billing is handled directly by Attention, not Lovable.
Step 1: Create an Attention API key
An Attention API key is an organization-level Bearer token that lets your Lovable app authenticate against Attention’s v2 API. You must have Admin role permissions in Attention to create and manage organization-level API keys. To create an Attention API key:1
Log in to Attention
Go to app.attention.tech and sign in with Google, SSO, or your email and password.
2
Open settings
Click your profile avatar in the top-left corner and select Settings from the dropdown menu.
3
Navigate to API keys
In the sidebar, under the Organization section, select API Keys.
4
Create a new API key
Click + Create API Key in the top-right corner and give the key a descriptive name, for example
Lovable integration.5
Copy and store the key
After creation, an API Key Created modal will appear showing your key once. Copy the key and store it securely. Attention will not show it again.
Your API key functions like a password. Keep it secure and never share it publicly. You’ll need it in the next step.
Step 2: Connect Attention to Lovable
You can create multiple connections using different API keys. To connect Attention:1
Open Attention in Connectors
Go to Connectors → App connectors and select Attention.
2
Add a connection
Click Add connection.
3
Configure the connection
- Display name: Name the connection, for example
Attention Prod. - API key: Paste your Attention API key.
- Who can access this connection: Keep access limited to specific people or invite the entire workspace. See Who can manage connections for more information.
4
Connect
Click Connect. Lovable validates the key against Attention before saving the connection. If the key is invalid or has been revoked, the connection will fail and you can paste a new one.
Working with conversation data
The Attention API returns rich conversation objects that include metadata, participants, and full transcripts, and supports updating, archiving, and importing conversations. When prompting Lovable, be specific about what you want. Conversations include sensitive customer information. Plan how the data is displayed in your app and who can see it before sharing the app broadly inside your company.Limitations
The Attention connector cannot:- Receive Attention webhooks or real-time conversation events (poll the API on a schedule instead)
- Support per-end-user Attention login (each end user connecting their own Attention account). All requests use the workspace API key, so every end user of your Lovable app sees the same Attention data.
429 Too Many Requests responses and add retry-with-backoff in your edge functions.
If a request fails because the API key has been revoked or rotated in Attention, you’ll need to generate a new key and reconnect. There is no automatic refresh for API keys.
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:1
Open Connectors
Open Connectors and select .
2
Open the connection
Open the connection you want to manage.
3
Select projects
Under Linked projects, check the projects you want to unlink.
4
Confirm
Click Unlink projects and confirm.
How to delete a connection
Workspace admins and owners can delete connections. Other members can delete a connection if they created it, or if they have been explicitly granted access to it. Before deleting, review the Linked projects section to see which projects are currently using the connection. To delete a connection:1
Open Connectors
Open Connectors and select .
2
Open the connection
Open the connection you want to remove.
3
Review linked projects
Review the Linked projects section.
4
Delete
Under Delete this connection, click Delete and confirm.