# Stripe

### Dapatkan Secret Key & Publishable Key

Untuk menghubungkan Stripe dengan Kuasa, anda memerlukan beberapa key untuk proses pengesahan. Antara key yang diperlukan ialah **Publishable Key** dan juga **Secret Key.** Untuk memulakan proses penetapan payment gateway Stripe anda boleh ikut tutorial ini :

1. Layari[ ](https://stripe.com/en-my)[**https://stripe.com/en-my**](https://stripe.com/en-my) jika anda belum daftarkan akaun Stripe, atau terus login jika sudah daftar. Dan klik button **Start Now.**

![](/files/Ef2gh8Gf92jFws7fiJUa)

2\. Login masuk ke dalam dashboard Stripe, Kemudian pada bahagian atas kanan, Klik button **Developer**.

![](/files/UKP43utIxyqjywoOmhYu)

3\. Klik bahagian kanan sidebar **API Keys**.

![](/files/Jj7tccXLGXqOETpCEYBw)

4\. Pada bahagian column "API Keys" ini, anda akan diberikan 2 Jenis key, iaitu\
**Publishable Key** dan juga **Secret Key.**

![](/files/OCifREN7P3RlUl7dB7uD)

5\. Anda perlu simpan kedua-dua key tersebut untuk kegunaan di langkah seterusnya. Key yang anda perlu simpan ialah :

* Publishable key
* Secret key

### Setup di Kuasa

1. Login ke akaun anda melalui [**https://sales.kuasa.io/**](https://sales.kuasa.io/).
2. Klik **Settings**.

![](/files/Dj9taZvMSgRak3XjHzhN)

3\. Klik **Payment Gateway**.

![](/files/GaqzHrCIHcFHp7G9Ghjg)

4\. Isikan Publishable Key dan Secret Payment daripada Stripe, dan pastikan button toggle telah <mark style="color:green;">**ON**</mark>. Klik **Update** untuk simpan perubahan.

![](/files/9Xgk87FfUmZLtn99hmsS)


---

# 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.kuasa.io/kuasa-sales/payment-gateway/stripe.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.
