Connect your app to Perplexity
Connect Perplexity to your app to search the live web and retrieve source-backed answers. You can use Lovable's built-in managed connection for simple web search, or your own Perplexity key for advanced research and chat models.
Anyone who needs their app to pull up-to-date web information, verify facts, or cite live sources.
Do this, in order
- 1
Open the Connectors page in your Lovable dashboard and click on Perplexity.
This is where you set up and configure external integrations across your workspace.
- 2
Click Connect and give your connection an identifiable name.
Naming your connection helps you distinguish it later if you manage multiple environments.
- 3
Select 'Managed by Lovable' for standard web search, or select 'Use your own credentials' and paste your Perplexity API key for full chat and deep research features.
Managed connections require no external billing setup but are limited to web search, whereas personal API keys unlock all Perplexity models.
- 4
Set your sharing permissions and click Connect.
This verifies your connection and determines whether teammates can use it in their projects.
- 5
Go to your project chat and tell Lovable to link the Perplexity connection and build your desired search or research feature.
Lovable connects the integration to your app and generates the interface and backend calls for you.
Paste this into your project
Use Perplexity and build a sales prep assistant that gathers company context before each call. Pull company overviews, recent news, and leadership changes using live search, and display the results with cited links.
Words decoded
- API key
- A unique secret code that acts like a password, allowing your app to securely talk to an external service.
- Connector
- A pre-built bridge in Lovable that lets your app connect to an outside tool or service without writing setup code from scratch.
Where people get stuck
- A Perplexity Pro subscription does not provide API credits; you must add billing credits separately inside the Perplexity API console if using your own credentials.
- The 'Managed by Lovable' connection only supports basic web search; requests for conversational chat, academic search, SEC filings, or deep research will fail unless you connect your own Perplexity API key.
- Managed connections are limited to 1,000 search requests per 24 hours across the entire workspace.
- You can only create one 'Managed by Lovable' Perplexity connection per workspace.
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.