> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sezzle.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Environments

<Tip>
  Before going live, you may test your integration with Sezzle using the Sezzle sandbox test environment, rather than the live production environment.
</Tip>

<Warning>
  Only one environment's dashboard session can be active at a time. If a user is logged in to production then logs in to sandbox on another tab, the production session will end, and vice versa.
</Warning>

## **Accessing Sandbox Environments**

* A merchant who registers for a Sezzle production account automatically receives a matching sandbox account upon approval
  * Default admin users for the production dashboard are imported to the sandbox dashboard upon creation.

<Tip>
  As with production, sandbox Admin users on can invite additional staff [here](https://sandbox.dashboard.sezzle.com/merchant/invite-user).
</Tip>

* Merchants can create a standalone sandbox account without a production account, ideal for testing production features without becoming a Sezzle merchant (e.g., during system integration)
  1. [Sign up for Sandbox](https://sandbox.dashboard.sezzle.com/merchant/signup)
     * Phone number and email address must be valid, all other information can be fake
  2. Complete email verification and security setup
  3. Complete `Personal Information` and `Business Information` sections of the Setup Checklist, then click `Submit for Approval`
     * This information can also be fake
     * In Production environment, `Credit or Debit Card` and `Bank Account` steps must also be completed before API keys can be generated.
  4. Contact your account manager or [Sezzle Support](https://dashboard.sezzle.com/merchant/contact) for account approval

<Note>
  When starting with a standalone account, you must complete a Production merchant signup separately and manually. The two accounts will not be linked in these cases.
</Note>

## Testing Your Integration

1. Log in to your [sandbox](https://sandbox.dashboard.sezzle.com/merchant) account
   * Production account users: Log in using the same credentials as production Merchant Dashboard
   * OTP will always be `123123` for Sandbox. Emails and text messages will not be sent.
2. In the left toolbar, go to `Settings` > `API Keys`
3. Click the button labeled `create API key`
   * API keys for sandbox and production are not interchangeable:
     * Sandbox API keys cannot be used in the production dashboard.
     * Production API keys cannot be used in the sandbox.
   * The sandbox gateway URL is [https://sandbox.gateway.sezzle.com](https://sandbox.gateway.sezzle.com).
4. Complete the `Add Sezzle as a payment option at your checkout` step of the setup checklist, enabling Test Mode
   * Bank account and currency settings can be skipped
5. Start a checkout on your store website
6. Select `Sezzle` as the payment method
7. Complete the Sezzle checkout using the [test data](/docs/api/test-cards)
8. Verify that the order is successful

<Note>
  Refer to [Postman Setup section](./postman-setup.mdx) on how to programmatically create orders and more leveraging [Sezzle Core API](/docs/api/core).
</Note>

<Warning>
  If you wish to test **on-site messaging widgets** in Sandbox environment, you must use Production URL and merchant UUID. If you do not have a Production account, please contact Sezzle Support for options.
</Warning>
