> For the complete documentation index, see [llms.txt](https://docs.balkan.id/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.balkan.id/balkanid-mcp/installation-and-setup/perplexity.md).

# Perplexity

Connect [Perplexity](https://www.perplexity.ai) to BalkanID MCP using a [remote custom connector](https://www.perplexity.ai/help-center/en/articles/13915507-adding-custom-remote-connectors).

**OAuth is preferred.** API keys remain available when OAuth is unavailable or you need Read-only access.

{% hint style="warning" %}
Custom remote connectors require a [**Perplexity Pro, Max, or Enterprise**](https://www.perplexity.ai/help-center/en/articles/13915507-adding-custom-remote-connectors) plan. They are **not available on the free tier**. On **Enterprise**, an administrator may need to enable **Allow members to add custom connectors** in Enterprise settings before members can add their own connectors.
{% endhint %}

### One-click (OAuth — recommended)

1. Open <https://mcp.balkanid.app>, sign in, and confirm the correct **tenant**.
2. In **OAuth Connectors**, click **Connect to Perplexity**.
3. Perplexity opens [connector settings](https://www.perplexity.ai/account/connectors).
4. Add a [remote custom connector](https://www.perplexity.ai/help-center/en/articles/13915507-adding-custom-remote-connectors) with URL `https://mcp.balkanid.app/server/mcp`.
5. Complete BalkanID sign-in, pick your **tenant**, and grant consent.

{% hint style="info" %}
OAuth currently requires **both Read and Write** scopes. See Authentication and Permissions.
{% endhint %}

### Manual configuration (OAuth)

1. Open [Perplexity connector settings](https://www.perplexity.ai/account/connectors).
2. Add a [remote custom connector](https://www.perplexity.ai/help-center/en/articles/13915507-adding-custom-remote-connectors).
3. Set the URL to `https://mcp.balkanid.app/server/mcp`.
4. Complete BalkanID OAuth when Perplexity prompts you to authenticate.

### API key fallback

When OAuth is unavailable or you need **Read-only** access:

1. Create an API key in the [MCP UI](https://mcp.balkanid.app) under **Bearer Auth Keys**.
2. Add the connector with `Authorization: Bearer YOUR_TOKEN_HERE` if [Perplexity's connector UI](https://www.perplexity.ai/help-center/en/articles/13915507-adding-custom-remote-connectors) supports custom headers on your plan.

### Verify

Ask Perplexity: “Call whoami on BalkanID MCP.” You should see your email and tenant ID.

### Official documentation

Perplexity documentation for custom remote connectors:

* [Adding custom remote connectors](https://www.perplexity.ai/help-center/en/articles/13915507-adding-custom-remote-connectors) — Perplexity Help Center
* [Account settings (Connectors)](https://www.perplexity.ai/help-center/en/articles/10352993-account-settings) — Perplexity Help Center


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.balkan.id/balkanid-mcp/installation-and-setup/perplexity.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
