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

# Benchmark Portkey gateway configuration with Narev

> Connect Portkey to Narev to A/B test gateway routing rules, fallbacks, and model configurations against your real production traffic.

<Tip>Test alternative Portkey gateway configurations before deploying to production.</Tip>

## Setup options

<AccordionGroup>
  <Accordion title="Option 1: Import from a tracing platform">
    If you use a tracing platform with your Portkey integration, import traces from
    [Weights and Biases Weave](/platform/benchmark/integration/wandb),
    [LangSmith](/platform/benchmark/integration/langsmith), or
    [Langfuse](/platform/benchmark/integration/langfuse).
  </Accordion>

  <Accordion title="Option 2: Manual file upload">
    If you store Portkey request and response history in files, create a benchmark, go to **Setup**, choose
    **Upload file** in **Data source**, upload your file, and save the project. For formats, see
    [File upload](/platform/benchmark/data-source/file-upload).
  </Accordion>

  <Accordion title="Option 3: Bring your own key (Enterprise)">
    Use your own Portkey API key directly in Narev. This option is available on the enterprise tier.
  </Accordion>
</AccordionGroup>
