# NMI

Adding NMI as a credit card gateway with the Funnelish Pay app is easy. After you create a gateway one time, you use it again on any number of funnels.

{% embed url="<https://www.youtube.com/watch?ab_channel=Funnelish&v=fRG9hBaScEI>" %}
Install an NMI payment gateway
{% endembed %}

## Before you start

Make sure you:

* [Enable **Funnelish Pay**](/start/collecting-payments.md), before you try adding a payment gateway.
* Add a [**payment form**](/start/funnel-builder/editor-forms.md) to a funnel step.

{% hint style="info" %}
After you have created a gateway, you can use it again on any number of funnels.
{% endhint %}

## Create a gateway

1. Open a funnel step.
2. Click the payment form field.
3. In the left settings panel, click on **Edit payment** **options**.
4. Click **Connect a new gateway.**
5. In the pop-up window, click on **Connect new gateway > Credit Card.** A new window will display, where you can choose **NMI.**

<figure><img src="/files/9IhI8wgHRd1Quds1Crzw" alt=""><figcaption><p>NMI gateway.</p></figcaption></figure>

## Connect

On the **New gateway** window:

1. Click the Gateway field.
2. Select **NMI** in the drop-down menu.
3. Enter a unique Gateway name. This name is for internal use, it is not visible in the funnel.
4. Copy and paste your **NMI keys** into the fields.

<figure><img src="/files/yPoOOrlellLvkOM4XImT" alt=""><figcaption><p>Configuring NMI gateway.</p></figcaption></figure>

{% hint style="info" %}
To find your keys, log in to your NMI account.&#x20;

Click **Settings > Public Security Key / Private Security Key.**&#x20;
{% endhint %}

5. Click **Create**.
6. **Save your changes!**&#x20;


---

# 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.funnelish.com/start/collecting-payments/card-payments/nmi.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.
