{"section":"tutorials","requestedLocale":"en","requestedSlug":"setting-up-pagar-me-gateway","locale":"en","slug":"setting-up-pagar-me-gateway","path":"docs/en/tutorials/payments/payment-settings/setting-up-pagar-me-gateway.md","branch":"main","content":"Pagar.me is a [gateway](/en/docs/tutorials/what-is-a-payment-gateway) that offers several solutions for processing payments in your store.\n\nTo set up Pagar.me, follow the steps below:\n\n1. In the VTEX Admin, go to __Store Settings > Payment > Providers__, or type __Providers__ in the search bar at the top of the page.\n2. On the providers screen, click the `New Provider` button.\n3. Type the name __Pagar.me__ in the search bar and click on the name of the provider.\n4. In the __External Service Url__ field, configure the external URL that will be associated with `/pvt/payments?an={AccountName}`.\n5. Fill in the registration fields with the data provided by Pagar.me (fields __appKey__ and __appToken__).\n6. In __Implements Installments Service__, you must choose whether you want to use external installment services or the one that is configured on the portal. If you choose _yes_, the system will use the URL configured in the __Installments Service Url__ field.\n7. In __External Cancellation Service__, you must define whether or not to use an external cancellation service. If you choose _yes_, the system will use the URL configured in the __External Service Url__ field.\n8. In the __Installments Service Url__ field, configure the external URL that will be associated with `/options`.\n9. In __SoftDescriptor__, indicate the text that will appear to identify the transactions made in your store.\n10. In __Captura de segurança antecipada__ (\"Early security capture\"), choose how long you want the capture to take after the transaction approval and the anti-fraud analysis. You can also disable this function.\n11. In __Use Anti-Fraud__, inform if you wish to use an anti-fraud system.\n12. Click __Save__.\n\n## Setting up the payment condition\nAfter following the steps indicated above, Pagar.me will be configured in your store. Thus, while you're registering a payment condition, it will be available in the __Process with affiliation__ field (provided that the payment method is compatible with the Pagar.me). \n\nTo learn how to set up payment conditions, visit [this Help article](/en/docs/tutorials/how-to-configure-payment-conditions)."}