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

# Perplexity AI

> Perplexity AI is an AI-powered web search engine and answer engine that uses advanced language models to interpret natural language queries, search the internet in real time, and generate concise, cited answers in a conversational format

<Check>
  This is a free extension available for anyone
</Check>

<Card title="Included Perplexity Models">
  * Perplexity Sonar
  * Perplexity Sonar Pro
  * Perplexity Reasoning
  * Perplexity Reasoning Pro
</Card>

<Card title="Supported features in Davinci AI">
  * Realtime Search API for AI Chat and AI Writer
  * Perplexity AI Models for AI Chat
  * Perplexity AI Models for AI Writer
</Card>

## Extension Configuration

To be able to use Perplexity AI feature, follow these steps to setup Perplexity AI Extension.

<Steps>
  <Step title="Step 1">
    Go to the **Marketplace** in **Admin Panel** and install **Perplexity AI** extension.

    <img src="https://mintcdn.com/magicads/dYFGOqfTWj_LAAnj/images/extensions/perplexity/perplexity-1.png?fit=max&auto=format&n=dYFGOqfTWj_LAAnj&q=85&s=5f95bff3a194dbb26ee8bfc34bf2708f" width="397" height="279" data-path="images/extensions/perplexity/perplexity-1.png" />
  </Step>

  <Step title="Step 2">
    After installation is completed, go to **AI Settings** page in Admin Panel and click on **Extensions** tab there. Click on **Perplexity AI** there.

    <img src="https://mintcdn.com/magicads/dYFGOqfTWj_LAAnj/images/extensions/perplexity/perplexity-2.png?fit=max&auto=format&n=dYFGOqfTWj_LAAnj&q=85&s=a611f4b9b2128786325acaa4f6b67d80" width="539" height="104" data-path="images/extensions/perplexity/perplexity-2.png" />
  </Step>

  <Step title="Step 3">
    Register with Perplexity AI:

    1. Go to <a href="https://www.perplexity.ai/" target="_blank">Perplexity AI</a> website and sign up with them in case if don't have an account with them.
    2. After your are logged into your Perplexity AI account, click on the **API** tab under the Workspace section and click on **Generate** button in the **API Keys** section.
           <img src="https://mintcdn.com/magicads/dYFGOqfTWj_LAAnj/images/extensions/perplexity/perplexity-4.png?fit=max&auto=format&n=dYFGOqfTWj_LAAnj&q=85&s=e152f81abc7d9453d0abf97a83227303" width="318" height="380" data-path="images/extensions/perplexity/perplexity-4.png" />
    3. Also make sure you fill up your credits on that same page in your Perplexity AI account as Perplexity AI does not offer any free credits to use their platform.
       <Note>Store your API key securely and never share it publicly. The key can provide direct access to your account.</Note>
  </Step>

  <Step title="Step 4">
    To control the settings of **Perplexity AI** exension, return to **AI Settings** page in Admin Panel and click on the **Extensions** tab, and select **Perplexity AI** extension.
    Configuration of Perplexity AI is done on this page, there will be no new menu item added in the Admin Panel. Below is the explanation of each field on Perplexity AI page.

    * Enter your **Perplexity API Key**
    * Under **Default Model for Real-Time Data Access** list, you can select which Perplexity model will be default for all internet searches for all users.

    <img src="https://mintcdn.com/magicads/dYFGOqfTWj_LAAnj/images/extensions/perplexity/perplexity-3.png?fit=max&auto=format&n=dYFGOqfTWj_LAAnj&q=85&s=e32f993ff21a4a68233ffad7d3775905" width="795" height="463" data-path="images/extensions/perplexity/perplexity-3.png" />
  </Step>

  <Step title="Step 5">
    You know have completed the Perplexity AI extension configuration. Refer to the How to use section below to learn more.
  </Step>
</Steps>

## How to Use

There are 2 options to use Perplexity AI, first is for real time internet data search, second is to use Perplexity AI Models for text generation.

### Real-Time Data Search

1. Go to **AI Settings** page in Admin Panel and select **General AI Settings** page
2. Scroll to **Real Time Data Access Engine** section and select **Perplexity** among the list as shown on the image below and click **Save** button.

<img src="https://mintcdn.com/magicads/dYFGOqfTWj_LAAnj/images/extensions/perplexity/perplexity-5.png?fit=max&auto=format&n=dYFGOqfTWj_LAAnj&q=85&s=304ed98f1ea8486917a35402f4dfb8af" width="584" height="95" data-path="images/extensions/perplexity/perplexity-5.png" />

3. On that same **AI Settings** page go to **Free Trial Features** and turn on **Realtime Time Data Access** checkbox if you want your non-subscribers to use it and click **Save** button.

<img src="https://mintcdn.com/magicads/dYFGOqfTWj_LAAnj/images/extensions/perplexity/perplexity-6.png?fit=max&auto=format&n=dYFGOqfTWj_LAAnj&q=85&s=b5bf32e669b33679d77f4da5f6722403" width="356" height="83" data-path="images/extensions/perplexity/perplexity-6.png" />

4. Now the **Real-time Data** checkbox automatically will appear on AI Chat and AI Writer features.

### Using Perplexity AI Models

1. Go to **AI Settings** page in Admin Panel and select **Free Trial Features** page
2. Include Perplexity models as needed by simply selecting them and click save button, thus non-subscribers will have access to this models. Or you can enable it only for subscribers by including it in one of your subscription plans.

<img src="https://mintcdn.com/magicads/dYFGOqfTWj_LAAnj/images/extensions/perplexity/perplexity-7.png?fit=max&auto=format&n=dYFGOqfTWj_LAAnj&q=85&s=cec8f546e2b4fee010fee08e31efff5d" width="544" height="235" data-path="images/extensions/perplexity/perplexity-7.png" />

<Check>
  You have successfully comleted the setup process of this extension.
</Check>
