---
page_source: https://juspay.io/in/docs/amazonpay/docs/amazon-pay-balance/papg-set-up
page_title: PA/PG Set Up
---


# Setting up the gateway




### **Step 1:** Procure credentials from Amazonpay



Reach out to Amazonpay and complete the business formalities and procure the credentials.

* Account creation with Amazon Pay; **[Merchant Registration Process](https://docs.amazonpay.amazon.in//content/ap-balance/section1/merchant_registration_process/)**
* The API key generated for the new secure profile created at Amazonpay has to be whitelisted at their end. [Refer for more information.](https://amazonpay.s3.us-west-2.amazonaws.com/HardendSDK/Register+for+Login+with+Amazon.pdf)


### **Step 2:** Setup Amazonpay PG on Juspay Dashboard



* Login to Juspay Dashboard
* Navigate to Payments > PG Control Centre > Click on **Other Gateways**  > Search for Amazonpay.
* Configure credentials  : Access Key, Secret Key, Seller ID, S2S Access Key, S2S Secret Key
* Set the flags 
  
  * `Direct Debit`: true (For Link and Pay flow only)
  * `Pre-Authorization`: false
  * `V2 Integration`: true
* Under payment methods, enable **Amazon Pay Balance**  wallet.
* Save and complete.
  
  [Video](https://dth95m2xtyv8v.cloudfront.net/tesseract/assets/amazonpay/Screen%20Recording%202024-09-25%20at%2012.04.33%20PM.mov)
  
  
  
  > **Warning**
  > * The **Direct Debit**  flag should be set to **true**  only for the Amazonpay Link & Pay flow.
  > * The **Is Pre-Authorisation Enabled**  flag should be set to **true**  only if you have a use case for the pre-authorisation mechanism. If it is set to true, you will need to call the Transaction API/Process Payload to hold the amount and then call the Capture API to release the on-hold funds, after which the actual charge will be processed.