--- title: "Connect a Spreedly Payment Gateway" slug: "payments-deploy-production-spreedly-create-payment-gateway" updated: 2024-02-14T18:49:21Z published: 2024-02-14T18:49:21Z canonical: "docs.blackthorn.io/payments-deploy-production-spreedly-create-payment-gateway" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.blackthorn.io/llms.txt > Use this file to discover all available pages before exploring further. # Create a Spreedly Payment Gateway 1. Contact [Blackthorn Support](https://community.blackthorn.io/s/support) to obtain a live mode Spreedly Environment Key. *The live mode key is different than the test mode key.* 2. Navigate to the Payment Gateway object. 3. Click **New**. ![deploy_spreedly_create_gateway_1](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/deploy_spreedly_create_gateway_1.png) 4. Enter a **Payment Gateway Name**. ![deploy_spreedly_create_gateway_2](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/deploy_spreedly_create_gateway_2.png) 5. Set **Provider** = “Spreedly”. ![deploy_spreedly_create_gateway_3](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/deploy_spreedly_create_gateway_3.png) 6. Leave the **Test Mode** checkbox unchecked for a live Payment Gateway in production. ![deploy_spreedly_create_gateway_4](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/deploy_spreedly_create_gateway_4.png) 7. Populate the **Default Currency** and **Default Country** fields. ![deploy_spreedly_create_gateway_5](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/deploy_spreedly_create_gateway_5.png) 8. Enter the live mode key provided by Blackthorn Support in the **Spreedly Environment Key** field. ![deploy_spreedly_create_gateway_6](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/deploy_spreedly_create_gateway_6.png) 9. Click **Save**. ![deploy_spreedly_create_gateway_7](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/deploy_spreedly_create_gateway_7.png) 10. Click the **Create Spreedly Gateway** button. 11. Select the Payment Gateway you want to connect (Ex. CardConnect; EBANX). 12. If prompted, add additional information from the selected gateway. 13. Click **Create**. 14. The **Spreedly Configured Gateway** and **Gateway Token** fields will be populated automatically. ### Add a CyberSource Payment Gateway 1. Contact [Blackthorn Support](https://community.blackthorn.io/s/support) to obtain a Spreedly Environment Key. 2. Navigate to the Payment Gateway object. 3. Click **New**. 4. Enter a **Payment Gateway Name**. 5. Set **Provider** = “Spreedly”. 6. Leave the **Test Mode** checkbox blank. Only check if you are setting this up in your sandbox for testing. 7. Populate the **Default Currency** and **Default Country** fields. 8. Enter the key provided by Blackthorn Support in the **Spreedly Environment Key** field. ![Spreedly New PG](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/Spreedly%20New%20PG.png) 9. Click **Save**. 10. Click the **Create Spreedly Gateway** button. 11. Select the CyberSource Payment Gateway. 12. Enter the Transaction Key and Username. - Use the SOAP toolkit key you created in Cybersource as the Transaction Key. - Use the Merchant ID from CyberSource as the Username. (Where do I find the [Merchant ID](https://support.cybersource.com/knowledgebase/Knowledgearticle/?code=000002872)?) 13. Click **Create**. 14. The **Spreedly Configured Gateway** and **Gateway Token** fields will be populated automatically.