Go to ecartpay.com and head to the Integrations section.
Click on Download integration. You will be automatically redirected to the corresponding section in VTEX.

Add your VTEX store URL and click on Continue.
Log in to the admin panel of your VTEX store.
Go to Account Settings > Account.
In the Access Keys section, click on Generate key.
Assign an identifier name and a role, then click Generate to obtain your key and token.
Copy and paste both values into the Ecart Pay form.
Assign an identifier name to the integration and click Create.
. Click on Start setup.
. Log in with your Ecart Pay account.
. Once logged in, you will see your active account. Click on Continue.
You will be redirected back to VTEX to configure the payment provider.
It will prompt you again for an application key and a token, this time from your Ecart Pay account.
To obtain them:
Log in to your Ecart Pay account.
Go to Integrations > API.

Copy your public key and paste it as the application key.
Copy your private key and paste it as the token.
Assign an identifier name to the connection.
Check the option “Use behavior recommended by the payment processor”.
Check the box “Require document” and click Save.
You will see the configured provider information and a notice about the connector installation.
Click Install application → Install → Accept terms of use → Install again.
Once the installation is complete, you will see the application correctly configured.
Go to Store Settings > Configuration.
Click on the “+” symbol to add a new payment condition.
In the Other section, select Ecart Pay.
Choose the provider you just created and change its status to Active.
Click on Save.