Connecting to Perplexity
Perplexity uses API key authentication with Bearer token authorization for secure access to asynchronous chat completions.
Using API Key Authentication
To obtain an API key, visit the Perplexity API dashboard at https://www.perplexity.ai/settings/api and generate a new key. The API key provides access to asynchronous chat completion jobs and results.
After setting the following connection properties, you are ready to connect:
- AuthScheme: Set this to APIKey.
- APIKey: Set this to your API key obtained from the Perplexity dashboard.
API Rate Limits
Perplexity applies rate limits based on your subscription plan. Refer to the Perplexity API documentation for specific rate limit details applicable to your plan.
Example connection string:
Profile=C:\profiles\Perplexity.apip;AuthScheme=APIKey;APIKey=your_api_key;
Connection Properties
The connection string properties are the various options that can be used to establish a connection. This section provides a complete list of the options you can configure in the connection string for this provider.
| Property | Description |
| APIKey | The Perplexity API Key. |
| AuthScheme | The scheme used for authentication. Allowed values are: BASIC, NONE, NTLM, OAUTH, APIKEY, OAUTH_CLIENT |