> ## Documentation Index
> Fetch the complete documentation index at: https://docs.platform.statista.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect to Perplexity Desktop (Mac)

> Connect the Statista MCP Server to Perplexity Desktop on Mac

## Install Perplexity Desktop

<Steps>
  <Step title="Install Perplexity Desktop" icon="download">
    Install [Perplexity Desktop](https://www.perplexity.ai/platforms) (important that it's the desktop version).
  </Step>

  <Step title="Create an account">
    If you don't already have one, create an account.
  </Step>

  <Step title="Open Perplexity Desktop">
    Launch the app to get started.
  </Step>
</Steps>

## Set up Connector

<Steps>
  <Step title="Open settings">
    In the bottom-right corner, click the cogwheel.

    <Frame>
      <img src="https://mintcdn.com/statista/nprfrGVChHde3xLF/images/perplexity-settings.png?fit=max&auto=format&n=nprfrGVChHde3xLF&q=85&s=4a6e0346eeea09cfc768babfabbc94a0" alt="Open settings" height="100" width="400" className="rounded-lg" data-path="images/perplexity-settings.png" />
    </Frame>
  </Step>

  <Step title="Add a connector">
    Click `Connectors`, then click `+ Add Connector` and choose `Advanced`.

    <Frame>
      <img src="https://mintcdn.com/statista/nprfrGVChHde3xLF/images/perplexity-create-connector.png?fit=max&auto=format&n=nprfrGVChHde3xLF&q=85&s=fdd85b4048cf00b6e885627b7936dd50" alt="Configure connector" height="100" width="400" className="rounded-lg" data-path="images/perplexity-create-connector.png" />
    </Frame>
  </Step>

  <Step title="Paste the configuration" icon="key">
    Copy/paste this into the text-box:

    ```json theme={null}
    {
      "args" : [
        "-y",
        "mcp-remote",
        <STATISTA_MCP_URL>,
        "--transport",
        "http-only",
        "--header",
        "x-api-key: \\${API_KEY}"
      ],
      "command" : "npx",
      "env" : {
        "API_KEY" : <STATISTA_API_KEY>
      },
      "useBuiltInNode" : true
    }
    ```

    <Info>
      Replace `<STATISTA_MCP_URL>` and `<STATISTA_API_KEY>` with provided credentials from Statista.
    </Info>
  </Step>

  <Step title="Save the connector">
    Save your new connector.
  </Step>

  <Step title="Toggle Statista MCP as a source">
    Toggle `Statista MCP` as a source.

    <Frame>
      <img src="https://mintcdn.com/statista/nprfrGVChHde3xLF/images/perplexity-tools.png?fit=max&auto=format&n=nprfrGVChHde3xLF&q=85&s=201dde2f10920be2f74ca8a4321504d6" alt="Toggle connector" height="100" width="400" className="rounded-lg" data-path="images/perplexity-tools.png" />
    </Frame>
  </Step>
</Steps>

You're good to go! Now you can do market research with Statista and Perplexity Desktop on Mac 🎉
