> For the complete documentation index, see [llms.txt](https://docs.getmesa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getmesa.com/connect/stripe.md).

# Stripe

Click Connect with Stripe to authorize your account in MESA, then use Stripe steps to react to payments and customer events.

### Authenticate

When you're setting up your first workflow with Stripe, you will need to connect Stripe with MESA. Click on the **Connect with Stripe** button.

![Screenshot of a MESA workflow Stripe authentication step. Spotlight the Connect with Stripe button.](https://docs.getmesa.com/assets/AS-STRIPE-CONNECT.png)

Afterwards, you will be brought back to your current workflow and you are all set! MESA is now connected with your Stripe account.

### Configuration

#### Configure Stripe Triggers

When using any of Stripe's [triggers](https://docs.getmesa.com/workflow-builder/triggers/) (e.g. **Customer Updated**, **Customer Subscription Updated**), you will need to select the necessary variables&#x20;

![Screenshot of a MESA Stripe trigger configuration, select the necessary variables. Spotlight the variable selection.](https://docs.getmesa.com/assets/AS-STRIPE-VARIABLE.png)

Follow these instructions to set up your webhook in the Stripe Dashboard.

1\. In a new tab on your browser, visit the Stripe Dashboard: [https://dashboard.stripe.com/](https://dashboard.stripe.com/)

2\. Sign into your account.

3\. On the right hand side of the top navigation, click on **Developers**.

4\. Click on **Webhooks** under the **Developers** heading.

![Screenshot of the Stripe Dashboard top navigation, click Developers then Webhooks. Spotlight the Webhooks option under Developers.](https://docs.getmesa.com/assets/as-stripe-webhooksdevs.png)

5\. Click on the **Add an endpoint** button.

![Screenshot of the Stripe Dashboard Webhooks page. Spotlight the Add an endpoint button.](https://docs.getmesa.com/assets/as-stripe-addendpoint.png)

6\. Go back to the tab with your MESA workflow open. Locate your workflow's Stripe trigger and click on the Stripe trigger.

7\. Click on **configure**.

8\. Then, click on the Copy icon next to the **Webhook URL** field.

<figure><img src="https://docs.getmesa.com/assets/image%20%28275%29.png" alt="Screenshot of a MESA Stripe trigger configuration, click the Copy icon next to the Webhook URL field. Spotlight the Copy icon next to the Webhook URL."><figcaption></figcaption></figure>

9\. Go back to the tab with the Stripe dashboard open. In the **Endpoint URL** field, paste the copied value.

10\. You can leave the **Description** field blank and leave the option **Events on your account** selected, under **Listen to**.

![Screenshot of the Stripe Add an endpoint page, paste the copied value into the Endpoint URL field with Events on your account selected. Spotlight the Endpoint URL field.](https://docs.getmesa.com/assets/as-stripe-addwebhook.png)

11\. Next, click on the **Select Events** button under **Select events to listen to**.

12\. Select the event that is related to your trigger. For example, if your MESA workflow's trigger is **Customer Updated**, then you would select **Customer > customer.updated**

:::note
Please do not select more than one event for your webhook.
:::

13\. Once you have selected your single event for the webhook, click on **Add events**.

<figure><img src="https://docs.getmesa.com/assets/as-stripe-addevents.png" alt="Screenshot of the Stripe endpoint event selection, choose the single event related to your trigger. Spotlight the Add events button."><figcaption></figcaption></figure>

14\. Finally, click on the **Add endpoint** button. You are all set for that specific MESA workflow with the Stripe trigger. You will want to do this for every workflow that contains a Stripe trigger.

### Technical Notes

While our Stripe integration has extensive possibilities to achieve your workflow goals, there are a few important things to be aware of.

* Our integration **does not** allow you to use Stripe as a third-party payment provider in Shopify.
