> ## Documentation Index
> Fetch the complete documentation index at: https://koreai-ai-for-work-dev.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Configuring the Stripe Action

<Badge icon="arrow-left" color="gray">[Back to Actions Integrations](/ai-for-service/integrations/overview#actions)</Badge>

Connect Stripe to accept payments, send payouts, and manage payment-related tasks. See [Stripe Documentation](https://stripe.com/docs) for more information.

***

## Authorizations Supported

The Platform supports basic authentication for Stripe. See [App Authorization Overview](/ai-for-service/app-settings#authorization-profiles) for details.

| Authorization Type                       | Basic Auth |
| ---------------------------------------- | ---------- |
| Pre-authorize the Integration            | Yes        |
| Allow Users to Authorize the Integration | Yes        |

***

## Step 1: Enable the Stripe Action

**Prerequisites:**

* If you don't have Stripe credentials, create a developer account at [Stripe](https://stripe.com/docs).
* Copy the API Key of your Stripe account.

**Steps:**

1. Go to **App Settings** > **Integrations** > **Actions**.
2. Select **Stripe**.

### Pre-authorize the Integration

**Basic Auth**

1. Go to **App Settings** > **Integrations** > **Actions** and select **Stripe**.

2. In **Configurations**, select the **Authorization** tab.

3. Set **Authorization Type** to **Pre-authorize the Integration** > **Basic Auth**.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/hPMflewERfbZ7qP1/ai-for-service/integrations/actions/images/stripe-action-img2.png?fit=max&auto=format&n=hPMflewERfbZ7qP1&q=85&s=781b5c8fef6aff5585b3227e06489a28" alt="Auth type - Basic auth" width="799" height="856" data-path="ai-for-service/integrations/actions/images/stripe-action-img2.png" />

4. Enter your **API Key**.

5. Click **Enable**. The **Integration Successful** pop-up is displayed.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/hPMflewERfbZ7qP1/ai-for-service/integrations/actions/images/stripe-action-img3.png?fit=max&auto=format&n=hPMflewERfbZ7qP1&q=85&s=6ea4cd33cd6e658cc4ef711f49128c62" alt="Integration successful" width="593" height="240" data-path="ai-for-service/integrations/actions/images/stripe-action-img3.png" />

<Note>The Stripe action moves from **Available** to **Configured** after enabling.</Note>

### Allow End User to Authorize

1. Go to **App Settings** > **Integrations** > **Actions** and select **Stripe**.

2. In **Configurations**, select the **Authorization** tab.

3. Set **Authorization Type** to **Allow Users to Authorize the Integration** > **Basic Auth**.

4. Click **Select Authorization** > **Create New**.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/hPMflewERfbZ7qP1/ai-for-service/integrations/actions/images/stripe-action-img4.png?fit=max&auto=format&n=hPMflewERfbZ7qP1&q=85&s=ae8a6754ab9380e7a163cb5afcb381d3" alt="Create new auth" width="790" height="847" data-path="ai-for-service/integrations/actions/images/stripe-action-img4.png" />

5. Select **Basic Auth** as the authorization mechanism. See [App Authorization Overview](/ai-for-service/app-settings#authorization-profiles).

6. Enter the following credentials:

   * **Name** - Name for the Basic Auth profile.
   * **Base URL** - Base tenant URL for the Stripe instance.
   * **Authorization Check URL** - Authorization check URL for your Stripe instance.
   * **Description** - Description of the profile.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/hPMflewERfbZ7qP1/ai-for-service/integrations/actions/images/stripe-action-img5.png?fit=max&auto=format&n=hPMflewERfbZ7qP1&q=85&s=c768594955a7186697fb596075a3e937" alt="Auth credentials" width="1003" height="930" data-path="ai-for-service/integrations/actions/images/stripe-action-img5.png" />

7. Click **Save Auth**.

8. Select the new **Authorization Profile**.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/hPMflewERfbZ7qP1/ai-for-service/integrations/actions/images/stripe-action-img6.png?fit=max&auto=format&n=hPMflewERfbZ7qP1&q=85&s=2dc45a8257bf416bdf3b4263a6c5c5ac" alt="Select auth profile to complete integration" width="787" height="852" data-path="ai-for-service/integrations/actions/images/stripe-action-img6.png" />

9. Click **Enable**.

***

## Step 2: Install the Stripe Action Templates

1. On the **Integration Successful** dialog, click **Explore Templates**.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/hPMflewERfbZ7qP1/ai-for-service/integrations/actions/images/stripe-action-img7.png?fit=max&auto=format&n=hPMflewERfbZ7qP1&q=85&s=a8173337f7964155012a01758bce8b28" alt="Explore Templates" width="587" height="238" data-path="ai-for-service/integrations/actions/images/stripe-action-img7.png" />

2. Click **Install** to begin installation.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/hPMflewERfbZ7qP1/ai-for-service/integrations/actions/images/stripe-action-img8.png?fit=max&auto=format&n=hPMflewERfbZ7qP1&q=85&s=beb7ab849cb69afb64b2fc86e4054ad0" alt="Begin installation" width="584" height="638" data-path="ai-for-service/integrations/actions/images/stripe-action-img8.png" />

3. Once installed, click **Go to Dialog**. A dialog task for each template is auto-created.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/hPMflewERfbZ7qP1/ai-for-service/integrations/actions/images/stripe-action-img9.png?fit=max&auto=format&n=hPMflewERfbZ7qP1&q=85&s=d98363375093225967a99d071f7e0c42" alt="Dialog task for each template" width="1673" height="521" data-path="ai-for-service/integrations/actions/images/stripe-action-img9.png" />

4. Select the desired dialog task and click **Proceed**.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/hPMflewERfbZ7qP1/ai-for-service/integrations/actions/images/stripe-action-img10.png?fit=max&auto=format&n=hPMflewERfbZ7qP1&q=85&s=23db0c27f8e0db47b4744212f9375cc4" alt="Select desired dialog task and proceed" width="785" height="907" data-path="ai-for-service/integrations/actions/images/stripe-action-img10.png" />

5. The dialog task is auto-created and the canvas opens with all required entity nodes, service nodes, and message scripts.

   <img src="https://mintcdn.com/koreai-ai-for-work-dev/hPMflewERfbZ7qP1/ai-for-service/integrations/actions/images/stripe-action-img11.png?fit=max&auto=format&n=hPMflewERfbZ7qP1&q=85&s=134c05c85d8aaba46d013278bd110ade" alt="Dialog task canvas" width="1719" height="895" data-path="ai-for-service/integrations/actions/images/stripe-action-img11.png" />
