--- title: "Integrate CraftGate" slug: "mindbehind-integrate-craftgate" description: "Integrate the Craftgate payment system with MindBehind to manage transactions, refunds and payment flows in one unified interface." tags: ["craftgate integration", "craftgate setup", "mindbehind "] updated: 2026-03-15T08:05:24Z published: 2026-03-15T08:05:24Z canonical: "academy.insiderone.com/mindbehind-integrate-craftgate" --- > ## Documentation Index > Fetch the complete documentation index at: https://academy.insiderone.com/llms.txt > Use this file to discover all available pages before exploring further. # Integrate CraftGate CraftGate is an application that serves as a bridge between companies and banks, enabling seamless management of payment transactions across various POS systems and methods through a unified panel. Currently, MindBehind utilizes its 'Payment by Link' solution. > Refer to [Craftgate](https://craftgate.io/en/) for further information. This guide aims to explain how to integrate CraftGate. You can start with the [MindBehind setup](/v1/docs/integrate-craftgate#how-to-set-up-mindbehind) and then proceed to the [CraftGate setup](/v1/docs/integrate-craftgate#how-to-set-up-craftgate). ## Set up MindBehind 1. After registering in CraftGate or if you have already registered, go to [MindBehind](https://app.mindbehind.com/) and select your company from the “Companies” tab. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/mb1.png) 2. Click the **Integrations** tab and click the **Add** button for the **CraftGate** integration. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/cgcg*.png) 3. Fill in the related fields in the **CraftGate** Integration pop-up. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/cg3.png) 4. You can choose anything you want for the **Integration Name**. You should take the **API Key** and **Secret Key** from Craftgate. You should also check the **Crafgate Setup** section below to continue. 5. If you want to get payment from your website, you need to copy the **script** under the **Payment Website Script** to your website. 6. The **Payment Page URL** is your website where you want to get paid and must contain the **Payment Website Script**. If it does not contain the script, you get an error when submitting the **Add Integration** button. When payment is completed, the client is redirected to the **Payment Callback URL**. If you do not want to copy the script to your website, you do not need to write anything in the **Payment Page URL** section. It will work in "mindbehind.com". 7. Now, you can use CraftGate integration on your bot with the **Payments** module. Click on the **Payments** module you see below. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/cg7.png) 8. Select the integration and fill in the other fields: Total Amount, Currency, and Expiration.![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/cg77.png)Expiration can not be less than 300s in your Payments action. 9. You can select a node for "Payment Succeed" and "Payment Failed". If the payment is successful, the chatbot continues to node "Payment Succeed". Otherwise, it continues to the node of "Payment Failed". At the end, the common payment page will look as follows: ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/cg11.png) 10. When the payment is made, you will be redirected to the **callback URL** you defined in the integration. To see the flow, you can also check the diagram below: ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/how-to-integrate-craftgate-image-jdeo98hm.jpg) ## Set up Craftgate 1. To fill in the "API Key" and the "Secret Key" fields, go to the [CraftGate panel](https://panel.craftgate.io/login). Click the “API Authorization Management” option under the **Management**. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/Screenshot%202024-06-28%20at%2009.56.58.png) 2. If there is no previously created **API authorization** on this page, you can click the **Create API Authorization** button to create a new one. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/Screenshot%202024-06-28%20at%2009.59.16.png) 3. In the pop-up that opens, you should enter a name and give the necessary permissions. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/Screenshot%202024-06-28%20at%2010.01.56.png) 4. When you click the **Create API** **A****uthorization** button, you should see the "API Authorization" section as shown below. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image%20(28)(1).png) 5. Paste the **API key** and **Secret Key** information of the created API authority to the relevant places on the Integration page. 6. Click the **Add Integration** button. After this process, you can see your newly created integration under the Integrations tab. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/cgsu6.png)