# Getting Started

{% hint style="info" %}
You also can test our API using [our Postman collection](https://documenter.getpostman.com/view/27894063/2sB3dMwVxZ#155ccb69-7bd2-45f7-a3d5-3b29f4263fbe)
{% endhint %}

To use our API, 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;">**API signature secret**</mark>
* <mark style="color:yellow;">**Client ID**</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 API parameters and webhook set up, you're ready to make requests to our API. Each request must be correctly signed using the parameters provided. For instructions, refer to the [Signing Requests](/server-to-server/signing-requests.md) page.


---

# 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/server-to-server/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.
