# Nagad

To configure Nagad for use with Takaden, you will need to set the following environment variables in your `.env` file:

1. NAGAD\_MERCHANT\_ID: This is the merchant ID provided by Nagad when you register as a merchant.
2. NAGAD\_MERCHANT\_PHONE: This is the phone number associated with your Nagad merchant account.
3. NAGAD\_PUBLIC\_KEY: This is the Nagad **Payment Gateway Public Key** provided by Nagad after you register as a merchant.
4. NAGAD\_PRIVATE\_KEY: This is the Nagad **Merchant Private Key** provided by Nagad when you register as a merchant.

To set these environment variables in your `.env` file, add the following lines, replacing the placeholder values with your actual Nagad credentials:<br>

```
NAGAD_MERCHANT_ID=YOUR_NAGAD_MERCHANT_ID
NAGAD_MERCHANT_PHONE=YOUR_NAGAD_MERCHANT_PHONE
NAGAD_PUBLIC_KEY=YOUR_NAGAD_PAYMENT_GATEWAY_PUBLIC_KEY
NAGAD_PRIVATE_KEY=YOUR_NAGAD_MERCHANT_PRIVATE_KEY
```


---

# 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://mhsagor.gitbook.io/takaden/configuration/nagad.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.
