# Obtaining API Keys

Please navigate to your [Merchant dashboard](https://app.ivpay.io), find the "Points of sale" and click "Add new POS".

<figure><img src="https://2497577073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcBVhxOcdrPvxpPKgzK4h%2Fuploads%2FrT8MpROfmxtMXk5jJ3qk%2Faddpos.png?alt=media&#x26;token=01a28e7f-4c83-4e58-8fcb-920f5783052b" alt=""><figcaption></figcaption></figure>

Choose "Connect to API gateway"

<figure><img src="https://2497577073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcBVhxOcdrPvxpPKgzK4h%2Fuploads%2FUmzSXVnsAgwxCRIAAaj4%2Fselect-pos.png?alt=media&#x26;token=95527914-6f6b-4b20-b443-89f989234850" alt=""><figcaption></figcaption></figure>

Enter API Key name (the website URL, for example)

<figure><img src="https://2497577073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcBVhxOcdrPvxpPKgzK4h%2Fuploads%2Fb9TEo5V93T9adHg02quQ%2Fapiname.png?alt=media&#x26;token=d8525190-4b97-4a50-b7e2-aff2708d0e58" alt=""><figcaption></figcaption></figure>

In next step, copy the API key and use it in the request header to create [payments](https://docs.ivpay.io/start/ivpay-api/api-reference/payments)<br>

<figure><img src="https://2497577073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcBVhxOcdrPvxpPKgzK4h%2Fuploads%2FOAx6J9rj45HoMuMrnmqG%2Fset.jpg?alt=media&#x26;token=8b95426f-f3c5-41fd-81e0-2bf2fc98430a" alt=""><figcaption></figcaption></figure>

\
On this page, you can also set your **Webhook URL**, your endpoint to which we will send a webhook about the status of the payment. You can read more about it [here](https://docs.ivpay.io/start/get-started/webhooks).

## Done!


---

# 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.ivpay.io/start/get-started/guides/obtaining-api-keys.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.
