# Affirm sandbox credentials

> Every administrator on an Affirm account has a pair of sandbox API keys alongside the live ones, in Affirm's sandbox merchant dashboard.

Web page: https://docs.shuttleglobal.com/payment-providers/affirm-sandbox/

Every administrator on an Affirm account has a pair of sandbox API keys alongside
the live ones, in Affirm's sandbox merchant dashboard. See Affirm's
[API keys](https://docs.affirm.com/developers/docs/api-keys) guide for more detail.

1. Log in to Affirm's sandbox merchant dashboard:

   - **United States:** [sandbox.affirm.com/dashboard/apikeys](https://sandbox.affirm.com/dashboard/apikeys)
   - **Canada:** [sandbox.affirm.ca/dashboard/signin](https://sandbox.affirm.ca/dashboard/signin)

   Only administrators can manage API keys. If you don't have access to the
   Merchant Dashboard, ask the owner of your Affirm account for access.

2. Select **API keys**. The section is titled **Sandbox API Keys**, which shows you
   are in the sandbox rather than live.

3. Copy your **Public API Key** and **Private API Key**. Keep the private key
   confidential.

4. In a Shuttle [sandbox account](/platforms/testing/sandbox-accounts/), enter your Merchant Name
   and the two sandbox API keys into the Affirm connection dialog. There is no
   sandbox switch on the dialog: in a sandbox account, payments go to Affirm's
   sandbox. See [Connecting Affirm](/payment-providers/affirm-connect/).

*These steps follow Affirm's own pages and screens as of 20 November 2026. If they no longer match, Affirm's linked pages are the reference.*