# Stripe

## Overview

This guide outlines the steps to integrate Stripe into Gallabox, allowing for streamlined payment processing. It will walk you through linking your Gallabox accounts with Stripe, adjusting your settings, and refining your payment workflows to enhance efficiency.

## Stripe Integration

1. Go to **Integrations** in the left navigation on your Gallabox account and Select **Stripe** Integration from the available applications.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2F9grTtxp8cwPBGBg50IsO%2FGallabox%20Stripe%20Integration.gif?alt=media&#x26;token=595f8888-8b14-4cfa-acc5-f1c6cdb9d5a5" alt=""><figcaption></figcaption></figure>

2. Click on **Connect** and assign the name to this integration and click on **Submit.** It will ask you to Authorize Gallabox.

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FRT6tcmjbNTzDIm7vXpbh%2FStripe%20Connection.gif?alt=media&#x26;token=dbfb98db-6067-48ba-89b8-80423b242864" alt=""><figcaption></figcaption></figure>

3. Select the Channel name (***WhatsApp Number you would like to connect with Stripe***) for which you would like to integrate Stripe.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FoEqjQeT05VKG1YYVLvhk%2FChannel%20selection%20for%20Stripe.gif?alt=media&#x26;token=ac9e0035-f9e5-414c-9f6c-d2cecf1fded5" alt=""><figcaption></figcaption></figure>

4. To get the Stripe API Key, you have to go to your Stripe Dashboard. Click on Developers and scroll down to Restricted keys, select "**+Create Restricted Key**", and click on "*Build your own integration*" to create one.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FGQadA5V5jEOqOs546oMB%2FStripe%20Key.gif?alt=media&#x26;token=b438f40d-a80e-44ee-bc35-4d8c6d4eabac" alt=""><figcaption></figcaption></figure>

5. Provide the permissions for the Restricted Key listed below:

<table><thead><tr><th width="369">Resource</th><th>Permission</th></tr></thead><tbody><tr><td>Customers</td><td>Read</td></tr><tr><td>PaymentIntents</td><td>Read</td></tr><tr><td>Prices</td><td>Read</td></tr><tr><td>Invoices</td><td>Read</td></tr><tr><td>Webhook Endpoints</td><td>Write</td></tr></tbody></table>

After providing the permissions, select "Create Key" button at the bottom. Provide your Stripe account password for confirmation if prompted.

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FXnNL9IXCIfTz2Qrkho7O%2FRestricted%20Key%20Stripe.gif?alt=media&#x26;token=bac889ba-f821-4871-8a36-144785975a6a" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Make sure you have 2FA enabled for your account. If not, the key will not be created.
{% endhint %}

6. When the Key is created, click on Reveal test Key and select the key to copy.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FoYsLWWxGfhW8zpNWi4z7%2FCopy%20the%20Key.gif?alt=media&#x26;token=e4b7fa00-8c2f-43d1-8675-d20d05f31254" alt=""><figcaption></figcaption></figure>

7. Go to your Gallabox dashboard, and paste the key in the Stripe API Key placeholder and update configuration.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2Fkr6pZTaX0TmkMFAOjTzE%2FStripe%20Update%20Configuration.gif?alt=media&#x26;token=8af8a05b-40f3-4053-89e3-7c0b5a847660" alt=""><figcaption></figcaption></figure>

Your Integration is successful when you have been directed to Workflows for Stripe.&#x20;
