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
- A Perplexity account
- API access enabled
Setup Instructions
Step 1: Create a Perplexity Account
- Go to Perplexity
- Sign up for an account or log in
Step 2: Access API Settings
- Navigate to your Account Settings
- Go to the API section
Step 3: Generate an API Key
- Follow the API Getting Started Guide
- Generate a new API key
- Copy the key immediately
Step 4: Add to Nirvai
- In Nirvai, go to create a new Perplexity credential
- Paste your API key in the Access Token field
- 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
Related Resources
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.