Skip to main content
In this guide, you’ll learn how to:
  • Connect your Perplexity account to Rocket.
  • Get your API key from Perplexity.
  • Add it securely in Rocket to start using AI-powered search in your app.
What is Perplexity?
Perplexity is an AI-powered search engine that provides real-time answers with citations.
Use it for intelligent Q&A, document search, and knowledge base queries in your applications.
Your API key stays safe with Rocket.
It is encrypted at rest and never exposed, so you can connect with confidence.

Before you begin

You’ll need:
  • A Rocket account - rocket.new.
  • A Perplexity account.

Connect Perplexity to Rocket

1

Get your Perplexity API key

Visit your Perplexity account to create or copy your API key.
API keys control access to Perplexity’s smart search and Q&A models.
Keep your key private and rotate it if you believe it has been exposed.
2

Add your Perplexity API key in Rocket

You can connect Perplexity in two ways:Method 1: Use Rocket Chat (fastest)
  • In any project, open the chat panel and type something like:
    Connect Perplexity AI to:
    • Add a smart search bar.
    • Return AI-generated answers from a knowledge base.
    • Auto-summarize product pages or blog content.
  • A popup will appear where you can paste and save your Perplexity API key instantly.
    Perplexity integration popup in chatPerplexity integration popup in chat

    Perplexity integration popup in chat

This is perfect if you’re already chatting with Rocket while building. No extra clicks needed - just tell Rocket what you want!
Method 2: From your project settings
  • Open any project.
  • Go to Integrations.
    Integrations tabIntegrations tab

    Integrations tab

  • Scroll to Perplexity and click it.
    Perplexity integration cardPerplexity integration card

    Perplexity integration card in Rocket

When you connect Perplexity this way, Rocket won’t automatically create search flows.
After you save your API key, just tell Rocket in chat what you’d like to build, and it will set it up for you!
3

Save your API key

  • In Rocket’s Perplexity integration screen, paste your API key into the input field.
  • Click Save to complete setup.
Success check: You’ll see a green dot next to Perplexity in your integrations list.
Important Security Notice
Never paste your Perplexity API key directly into Rocket chat.
Always use the secure integration flow or the API key input provided in settings to connect your account safely.
4

Change or remove your API key

  • Go back to the Perplexity integration in project settings.
  • You can update your API key anytime or click Remove to disconnect.
    Remove Perplexity integrationRemove Perplexity integration

    Remove Perplexity integration

Perplexity is designed for fast, factual Q&A and document-level search.
Rocket uses it to help your users ask natural-language questions and get real answers.

You did it!

Perplexity is now connected to your Rocket project. You can now ask questions, generate answers, or create custom AI-powered search experiences.
Need help?
Email us at [email protected] or join our Discord community to get help, share ideas, and connect with other creators.