> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lovable.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect your app to Exa

> Connect your app to Exa, a web search API built for AI, to search the web, read page content, extract structured data, and return cited answers.

[Exa](https://exa.ai/) is a web search engine built for AI applications. The Exa connector lets your Lovable app search the web, read the content of the pages it finds, and answer questions with sources. It's designed for apps that need current information from the internet rather than a static dataset.

Exa is available as an [app + chat connector](https://docs.lovable.dev/integrations/app-connectors.md): one shared connection that works in [Chats](https://docs.lovable.dev/features/chats.md), in the project chat while you build, and in your published apps.

With Exa, your app can:

* Search the web and get ranked results with excerpts that match the query
* Read the content of pages at URLs your app already has
* Extract specific fields, such as a company's industry or headquarters, from the pages a search finds
* Answer a question with citations to the pages it used
* Run multi-step research on a topic

Exa is a good fit for research assistants, news digests, lead and company research tools, and chatbots grounded in current sources.

## Common use cases and example apps

These examples show what you can build with Exa, each with a prompt to start from.

| Example app | Example prompt | Description |
| :- | :- | :- |
| Research paper finder | *Use Exa and build a research paper finder where I describe a topic and the app lists matching papers with a short excerpt from each.* | **Find papers on a topic without exact keywords.** The app searches with a plain-language description of the ideal paper and shows the matching excerpts. |
| News digest | *Use Exa and build a news digest that shows recent articles about the topics I follow, newest first.* | **Follow the news on the topics you care about.** The app searches for recent articles on each topic and caches the results between visits. |
| Company profile builder | *Use Exa and build a tool where I enter a company name and the app fills in its website, industry, and headquarters with a source for each field.* | **Build company profiles from public web pages.** The app extracts the fields from the pages Exa finds and links each field to its source. |
| Cited answer box | *Use Exa and build a question box that answers questions about current events with links to its sources.* | **Answer questions with sources readers can check.** The app sends each question to Exa and shows the answer with its citations. |
| Link reader | *Use Exa and build a page where I paste a list of URLs and the app shows a summary of each page.* | **Read many pages at once.** The app fetches the content of each URL and shows an error next to any page Exa could not read. |

## How to connect Exa

Who can create Exa connections depends on your plan and workspace settings. App + chat connectors are available by default. On Business and Enterprise plans, [Who can create connections and clients](https://docs.lovable.dev/integrations/admin-controls.md#who-can-create-connections-and-clients) starts at **Admins**. Some Enterprise workspaces start at **No one**, which disables the connector. An admin or owner changes it in **Connectors → Admin settings → App + chat connectors**.

You can create multiple Exa connections using different API keys, which is useful for separating environments (for example, development and production).

When the connection is created, you can [link it to the projects](https://docs.lovable.dev/integrations/app-connectors.md#link-a-connection-to-a-project) where you want to use it. Anyone building in a project can ask Lovable in the project chat to link their project to it. Linking follows the connection's access rules.

### Prerequisites

Before connecting Exa, make sure you have:

* An Exa account
* An Exa API key
* Permission to **create connections** in your Lovable workspace (see [Who can create connections and clients](https://docs.lovable.dev/integrations/admin-controls.md#who-can-create-connections-and-clients))

> [!NOTE]
>
> Exa bills each search and content request through this connector to your Exa account. Billing is handled directly by Exa, not Lovable.

### Step 1: Get an Exa API key

An Exa API key lets your Lovable app call Exa on behalf of your Exa account.

To get an Exa API key:

**1. Open your Exa dashboard**

Sign in to the [Exa dashboard](https://dashboard.exa.ai/api-keys) and open the API keys page.

**2. Create a key**

Create a new API key, or use an existing one.

**3. Copy the key**

Copy the key and store it securely.

> [!WARNING]
>
> Your API key functions like a password. Keep it secure and never share it publicly. You'll need it in the next step.

See Exa documentation for more: [Exa API reference](https://docs.exa.ai/reference/getting-started).

### Step 2: Connect Exa to Lovable

Paste the API key into Lovable and choose who can use the connection.

**1. Open Exa in Connectors**

Open [Connectors](https://lovable.dev/dashboard?connectors) and select **Exa**. For the other places to open the catalog from, see [Where to find connectors](https://docs.lovable.dev/integrations/introduction#where-to-find-connectors).

**2. Add a connection**

Click **Connect** on the connector page.

**3. Name the connection**

Lovable fills in a **Display name** for the connection, which you can change. The name is only used inside Lovable to identify the connection.

**4. Enter your API key**

In **API key**, paste your Exa API key. **Get value** next to the field opens the Exa API keys page.

**5. Choose who can use this connection**

The connection is private to you by default. To share it, click **Edit** on the **Who can use it** row, then **Share with others**. Then add workspace members by email, or click **Invite entire workspace** to make the connection available to everyone in your Lovable workspace.

See [Who can use connections and clients](https://docs.lovable.dev/integrations/admin-controls.md#who-can-use-connections-and-clients) for more information.

**6. Connect**

Click **Connect** at the bottom of the form. Lovable verifies the API key against the Exa API before saving the connection.

When connected, anyone building in a project can ask Lovable in the project chat to link their project to Exa. Linking follows the connection's access rules. Your Lovable apps can then search the web, read pages, and answer questions with Exa.

## Limitations

The Exa connector cannot:

* Fetch the next set of results for a search. Each search returns a single set, 10 results by default, so ask Lovable for more results per search when your app needs them.
* Support per-end-user Exa login. Each connection represents a single Exa API key shared across all projects linked to it.

## Manage your Exa connection

Connections are managed from [**Connectors**](https://lovable.dev/dashboard?connectors): select **Exa**, then open the connection.

* **Unlink projects** to remove Exa access from specific projects while keeping the connection available for others. See [Unlink projects from a connection](https://docs.lovable.dev/integrations/app-connectors.md#unlink-projects-from-a-connection) for the steps.
* **Delete the connection** to remove it from the workspace entirely. Deleting is permanent. It removes the credentials from all linked projects, and app features that use Exa stop working until a new connection is added. See [Delete a connection](https://docs.lovable.dev/integrations/app-connectors.md#delete-a-connection) for the steps and who can delete.
