How to Find Your Perplexity API Key

In this article, we’ll walk through how to generate your Perplexity AI API key so you can quickly integrate Perplexity’s powerful AI search and answer capabilities into your applications.

With your Perplexity API key, you can access real-time, web-connected AI responses through a simple and developer-friendly API.

What You Can Build with the Perplexity API

Your Perplexity API key unlocks a range of use cases:

  • AI Search Assistants – Build chatbots that provide real-time, cited answers using live web data
  • Research Tools – Generate summaries, insights, and answers backed by sources
  • Customer Support Bots – Deliver accurate, up-to-date responses using web knowledge
  • Content Generation – Create articles, summaries, and reports grounded in current information
  • Tool-Integrated Workflows – Combine Perplexity with your apps for smarter automation and decision-making

Perplexity provides a unique AI experience focused on accuracy, citations, and real-time knowledge, all accessible through a single API key.

How to Get Your Perplexity API Key

Step 1. Sign Up for Perplexity or Log In

To get started, create an account or log in here:

Perplexity.ai Home Page

https://www.perplexity.ai/

Once logged in, access the developer or API section from your account.

Step 2. Navigate to API Settings

From your dashboard:

  • Open your account profile menu (bottom-right corner)
  • Go to All Settings scroll to the bottom and select the API Platform link.

This will pull up the https://console.perplexity.ai/ page and is where you’ll manage your API access.

Perplexity API Console Navigation with API Keys

Step 3. Generate a New API Key

Inside the API section:

  • Click Generate API Key (or similar option)
  • Give your key a recognizable name (for example: “Production App” or “Website Chat”)
  • Confirm to generate the key

Perplexity Generate API Key

Step 4. Copy and Store Your API Key Securely

After creating your key:

  • Copy it immediately (you may not be able to see it again)
  • Store it securely in your environment variables or secrets manager

You can now use this key to integrate Perplexity into your apps, chatbots, or internal tools.

Need Help with Perplexity Setup?

Check the official documentation from Perplexity AI for full API usage details, request formats, and best practices.

Want to Add Perplexity AI to Your Website Chat?

You can use your Perplexity API key to power real-time, citation-backed AI assistants directly on your website.

This allows you to:

  • Provide up-to-date answers to visitors
  • Surface trusted sources automatically
  • Create a more intelligent, research-driven chat experience

With just a few steps, you can embed a Perplexity-powered assistant into your live chat and start delivering smarter conversations instantly.