# How to connect Midtrans?

Adding Different Payment gateways to your online shop can provide sellers with a competitive advantage. This makes it easier for customers to complete transactions and eventually drives more revenue. Not to mention, multiple payment gateways accommodate customers with different preferences and needs. This is why Windo offers its clients a lot of payment gateways option.

### **How to connect the Midtrans Payment gateway** <a href="#iy361jccbg6j" id="iy361jccbg6j"></a>

* Log in to your Windo account and go to the **Payment** section from the **Dashboard** by clicking on the Payment icon.

![](/files/ZrQlKW4NdPMazQDdADZv)

![](/files/ZM71BervmsyMQi2RTPtL)

* Select the **Midtrans** payment gateway from the online payment mode and click on the **Connect** button.

![](/files/tWu25gUf23hgWJcoo50R)

![](/files/s9buArGBruUnxu8Mgjri)

* If you don't have a Midtrans account, you can easily create with few clicks shown here or simply by logging in to your Midtrans account.

![](/files/wPlqQQG00VSR8v4DxHpr)

* Once the account is created or logged in, go to the **Settings.**

![](/files/9uPlf3NvGmBSDlckTVLT)

* Select **API Keys.**

![](/files/P8BeQwsaRUd7QvgM2YWv)

* Copy/paste the **Client key** and **Secret key** in the given fields of Midtrans on Windo and click on **Connect** button.

![](/files/bPIdT84HKeBslFKtteOG)

![](/files/hL1ld72eOKWAqquELZAi)

* Your Midtrans payment gateway is **connected**.

![](/files/ioiehRWclahm2XtHSCTb)

* Once your customers start paying via the Midtrans Payment gateway, the data will be shown on your Dashboard.


---

# 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.getwindo.com/payments/how-to-connect-midtrans.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.
