# Perplexity Search

The Perplexity Search plugin allows BoltAI to search for relevant information from the Internet using Perplexity API.

It works similarly to the [Web Search plugin](https://docs.boltai.com/docs/plugins/web-search). Instead of using the Google Programmable Search Engine, it uses Perplexity API instead.

### How to set up the Perplexity Search plugin?

1. Make sure you have generated a Perplexity API key (**paid** account required). Follow [this official guide](https://docs.perplexity.ai/docs/getting-started) to get started.
2. Go to Settings > Plugins > Perplexity Search. Select tab `Settings` then enter your API key.&#x20;

### How to use the Perplexity Search plugin?

It's similar to the Web Search Plugin.

1. Start a new chat. Choose an LLM that supports Function Calling (for example GPT-4o)
2. Enable the Perplexity Search plugin. Optionally, enable the Web Browsing plugin.
3. Enter your prompt. BoltAI should smartly decide if it needs to perform a web search.

<figure><img src="https://3493584844-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FynYW2xZqA52spY7XgWis%2Fuploads%2FCWEGi7MfTseoLW8qHJJn%2FCleanShot%202024-07-12%20at%2023.04.55%402x.png?alt=media&#x26;token=0040ed81-3b9a-43b2-9e3a-ca62e5f06d12" alt=""><figcaption><p>Perplexity Search Plugin on BoltAI</p></figcaption></figure>
