# Stripe

**Obtain the Secret Key & Publishable Key**

To connect Stripe with Kuasa, you will need a few keys for the verification process. Some of the required keys are the **Publishable Key** and the **Secret Key**. To initiate the setup process of the Stripe payment gateway, you can follow this tutorial.

1. Visit <https://stripe.com/en-my> if you haven't registered a Stripe account yet, or log in directly if you've already registered. Then, click the **Start Now** button.

<figure><img src="https://4042228131-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjUshnokTPXfX7lwwLXnA%2Fuploads%2FzNEIMqH6JVyALIUNPvht%2FSales%20pg%20stripe%201.png?alt=media&#x26;token=e42d0657-b68d-466e-8668-c355d8ae7cba" alt=""><figcaption></figcaption></figure>

2. Log in to your Stripe dashboard. Then, at the top right corner, click on the **Developer** button.

<figure><img src="https://4042228131-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjUshnokTPXfX7lwwLXnA%2Fuploads%2FLtC7mFoHXyXCzGztVQY5%2FSales%20pg%20stripe%202.png?alt=media&#x26;token=8efb2a15-f919-45f1-9fcf-65753810c9f7" alt=""><figcaption></figcaption></figure>

3. Click on the **API Keys** section on the left sidebar.

<figure><img src="https://4042228131-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjUshnokTPXfX7lwwLXnA%2Fuploads%2F6xOSXlSYPS3MAKvrXGys%2FSales%20pg%20stripe%203.png?alt=media&#x26;token=b0ec2778-e5a6-40c4-b8c4-6d23af7ad917" alt=""><figcaption></figcaption></figure>

4. In the **API Keys** column, you will be provided with 2 types of keys, namely the **Publishable Key** and the **Secret Key**.

<figure><img src="https://4042228131-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjUshnokTPXfX7lwwLXnA%2Fuploads%2FjQIzcGVaNLVJs2ImPnMn%2FSales%20pg%20stripe%204.png?alt=media&#x26;token=4145c92f-a5a8-4398-ab1f-dda028f47fa8" alt=""><figcaption></figcaption></figure>

5\. You need to **SAVE** both of these keys for use in the next steps. The keys you need to save are:

* **Publishable key**
* **Secret key**

### Setting up in Kuasa:

1. Log in to your account via <https://landing-page.kuasa.io/>.
2. Click **Landing Page.**

<figure><img src="/files/Ovk30jipEtJLBHmwHzYT" alt=""><figcaption></figcaption></figure>

3. Click on **Settings**.

<figure><img src="/files/MS7pyzP2n6pxevbFNC14" alt=""><figcaption></figcaption></figure>

4. Click on **Payment Gateway**.

<figure><img src="/files/Jj6TRu0Kk9tyeP4Ak989" alt=""><figcaption></figcaption></figure>

5. Fill in the **Publishable Key** and **Secret Payment** from **Stripe**, and ensure that the toggle button is **ON**. Click **Save Changes** button to save the changes.

<figure><img src="/files/Xly5IoGRGE4MQ9FvvGp1" alt=""><figcaption></figcaption></figure>


---

# 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://tutorials.kuasa.io/getting-started/kuasa-landing-page/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.
