# Enable Custom Gateway

### Via UI:

<figure><img src="/files/9S5YSmjdYpbMvqpHSKxX" alt=""><figcaption></figcaption></figure>

To enable your custom LLM gateway for metric evaluations on RagaAI Catalyst, you need to follow these steps:

1. Navigate to Settings -> API Keys and scroll down to the **Custom Parameters** section.
2. Enter the relevant deployment values for the following two custom key parameters:
   1. api\_base - Your relevant server link
   2. model - Name of the model to be used for metric evaluation
3. Click "Add" to save the variables within your Catalyst instance

You are now ready to run evaluations using this gateway. Simply choose "custom\_gateway" in the dropdown for "Model" when triggering your metric evaluations (learn how to run an evaluation here).

<figure><img src="/files/TvjfhQPdS4pNeuXSDy0K" alt=""><figcaption></figcaption></figure>

### Via SDK:

This action is currently supported on the UI only.


---

# Agent Instructions: 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:

```
GET https://docs.raga.ai/ragaai-catalyst/concepts/enable-custom-gateway.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
