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

# Perplexity

> Access AI-powered question answering and research

Perplexity API provides advanced question answering and research capabilities powered by AI.

<Warning>
  Perplexity AI's Sonar model requires a paid top-up balance. Please check the pricing [here](https://docs.perplexity.ai/guides/pricing).
</Warning>

## Overview

<CardGroup cols={2}>
  <Card title="Create Account" icon="user">
    Sign up for a Perplexity account
  </Card>

  <Card title="Get API Key" icon="key">
    Generate your Perplexity API key
  </Card>

  <Card title="Copy into Anything" icon="plug">
    Add your API key to Anything's secrets
  </Card>
</CardGroup>

## Account Creation

<Steps>
  <Step title="Visit Perplexity Website">
    Go to [perplexity.ai](https://perplexity.ai/) and click "Sign Up"

    <img src="https://mintcdn.com/create/VE4G9m6I567_bcO7/images/perplexity/homepage.png?fit=max&auto=format&n=VE4G9m6I567_bcO7&q=85&s=fb8be808b5c711059b243d91bb041244" style={{ borderRadius: '0.5rem', width: '624px', height: '303px' }} width="2334" height="1406" data-path="images/perplexity/homepage.png" />
  </Step>

  <Step title="Register for an Account">
    * Fill in your email and password
    * Complete the verification process
  </Step>
</Steps>

## Generate API Key

<Steps>
  <Step title="Access Your Dashboard">
    1. Log in to your Perplexity account
    2. Navigate to the API section

    <img src="https://mintcdn.com/create/VE4G9m6I567_bcO7/images/perplexity/dashboard.png?fit=max&auto=format&n=VE4G9m6I567_bcO7&q=85&s=c7e9c9089f55c3356b7b1fbf5f31c092" style={{ borderRadius: '0.5rem' }} width="2292" height="1468" data-path="images/perplexity/dashboard.png" />
  </Step>

  <Step title="Create API Key">
    1. Click "Generate New Key"
    2. Name your key (e.g., "Anything Integration")

    <img src="https://mintcdn.com/create/VE4G9m6I567_bcO7/images/perplexity/apigen.png?fit=max&auto=format&n=VE4G9m6I567_bcO7&q=85&s=d3cb19c735e23a2525d0f7c8b973498e" style={{ borderRadius: '0.5rem' }} width="2314" height="1474" data-path="images/perplexity/apigen.png" />
  </Step>

  <Step title="Copy Your API Key">
    1. Copy the generated API key

    <Warning>
      Keep your API key secure - it grants access to your Perplexity account and quota
    </Warning>
  </Step>
</Steps>

## Add to Anything project

<Steps>
  <Step title="Add the integration">
    1. In your Anything project, type `/` in the chat
    2. Select "Perplexity" from the menu
  </Step>

  <Step title="Add your API key">
    1. Paste your API key into the "PERPLEXITY\_API\_KEY" field

    <Tip>
      Need a new key? Generate one in your Perplexity dashboard.
    </Tip>
  </Step>

  <Step title="Use it">
    You can now use prompts with the integration to access AI research capabilities.

    Some examples:

    * `Research this topic using /Perplexity`
    * `Answer complex questions with /Perplexity`
    * `Build a research assistant using /Perplexity`

    <Warning>
      The API has rate limits based on your plan. Avoid making too many requests in a short time.
    </Warning>

    Example prompt for optimization:

    ```
    When using /Perplexity, save the research results so I can review them later
    ```
  </Step>
</Steps>

<Tip>
  Your Perplexity integration is now ready! Use the `/Perplexity` command in chat to access AI research capabilities.
</Tip>
