Gateway Integration
1
2
Create a Perplexity AI account
Log into Perplexity AI or create an account. Once you have an account, you
can generate an API key from your dashboard.
3
Set HELICONE_API_KEY and PERPLEXITY_API_KEY as environment variable
4
Modify the base URL and add Auth headers
Replace the following Perplexity AI URL with the Helicone Gateway URL:
https://api.perplexity.ai/chat/completions
-> https://perplexity.helicone.ai/chat/completions
and then add the following authentication headers: