Skip to main content

Perplexity

Prefer guided AI setup?

Instead of following these steps manually, you can use the AI Credential Assistant — describe what you want to connect and the AI will walk you through the setup step by step, tailored to your account.

Overview

Connect your Perplexity account to Nirvai to access AI-powered search capabilities. Perplexity combines large language models with real-time web search to provide accurate, cited answers.

Supported Authentication Methods

  • Bearer Token (API Key) - Required

Prerequisites

Setup Instructions

Step 1: Create a Perplexity Account

  1. Go to Perplexity
  2. Sign up for an account or log in

Step 2: Access API Settings

  1. Navigate to your Account Settings
  2. Go to the API section

Step 3: Generate an API Key

  1. Follow the API Getting Started Guide
  2. Generate a new API key
  3. Copy the key immediately

Step 4: Add to Nirvai

  1. In Nirvai, go to create a new Perplexity credential
  2. Paste your API key in the Access Token field
  3. Save the credential

Features

Perplexity API offers:

  • Real-time search: Access to current web information
  • Citations: Responses include source citations
  • Sonar models: Purpose-built for search and research

Available Models

  • sonar-small - Fast, efficient responses
  • sonar-medium - Balanced performance
  • sonar-large - Most comprehensive answers

Troubleshooting

API Key Not Working

  • Verify you copied the complete key
  • Check your account has API access enabled
  • Ensure you have available credits

Response Quality Issues

  • Try using a larger model
  • Refine your prompts for better results

Documentation adapted for Nirvai platform


Next Steps

Got your credential? Connect it to an agent

Use the AI Tool Creator to turn this credential into agent-callable tools. Describe what your agent should be able to do and the AI investigates the API, configures the endpoints, and gives you a reviewable toolkit before saving anything.