# Getting started

To use our Pay Widget, you must register in our merchant dashboard using the following links:

{% hint style="info" %}
We recommend to start with the Sandbox environment first
{% endhint %}

| Environment | URL                                          |
| ----------- | -------------------------------------------- |
| Sandbox     | <https://sandbox-dashboard.fonbnk.com/login> |
| Production  | <https://dashboard.fonbnk.com/>              |

After registration, go to the Navigation -> API Settings. There you find 2 values that are required for the integration:

* <mark style="color:yellow;">**Source param**</mark>
* <mark style="color:yellow;">**URL signature secret**</mark>

Then go to the Navigation -> Webhooks -> Settings and set a URL you want to receive webhooks to.

{% hint style="info" %}
You can use the URL from <https://webhook.site/> at the first stage, just to see how it works
{% endhint %}

With the parameters and webhook set up, you're ready to configure the Pay Widget for your needs.

#### Widget URLs: <a href="#off-ramp-url" id="off-ramp-url"></a>

| Sandbox    | ​[https://sandbox-pay.fonbnk.com](https://sandbox-pay.fonbnk.com/offramp)​ |
| ---------- | -------------------------------------------------------------------------- |
| Production | ​[https://pay.fonbnk.com](https://pay.fonbnk.com/offramp)​                 |


---

# 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.fonbnk.com/widget-integration/getting-started.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.
