## Configure Affirm
1\. Sign into your KWI eCommerce admin. 2\. Navigate to 3rd party integrations and choose **Affirm**.

3\. Enter the `public_api_key
` and `private_api_key
` you retrieved from your [Affirm Merchant Portal](🔗).
4\. Set Environment to **Sandbox** for testing in our sandbox.
5\. Enter the dollar amount value for **Minimum Order Total** that displays Affirm as a payment option to your customers when checking out (optional).
6\. If your checkout process automatically captures the charge, set **Initial Transaction Type** to **Authorize and Capture**.