> For the complete documentation index, see [llms.txt](https://docs.paykun.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.paykun.com/technical-guide/test-environment.md).

# Test Environment

Test mode is a tool which allows you to simulate the actual payment process as if you were using it as live payment gateway.

{% hint style="info" %}
Please note that test mode is only for development and testing purposes do not use it on a production site.
{% endhint %}

In order to activate the test Mode, first, follow the below-given steps for generating test mode credentials.

* [Log In](https://app.paykun.com/login) to your PayKun Dashboard
* ‘Go to’ the Merchant Account under the ‘Payment Gateway’ section (If you are first-time-login then you will see the ‘Become a Merchant’ option.)
* After the merchant account login, click on your profile picture.
* Select ‘Test mode’.
* And click on “Generate Sandbox Account.”(by default it is inactive)

![](/files/-MDtNEB3zi5mFHp5MRmY)

* Copy your password from the generated credential
* Click on the sandbox login.
* And then you will be redirected to the Sandbox Mode, then after you may log in with your generated credentials and log in as it is in live mode.

![](/files/-MDtNK6KvcGmOVQ-R2IZ)

**If already the test mode credentials are generated:**

* [Log In](https://app.paykun.com/login) to your PayKun Dashboard
* ‘Go to’ the Merchant Account under the ‘Payment Gateway’ section (If you are first-time-login then you will see the ‘Become a Merchant’ option.)
* After the merchant account login, click on your profile picture.
* Select ‘Test mode’.
* Fill user credentials like username and password for your sandbox account and click on the sandbox login.

{% hint style="info" %}
If you have already active sandbox account and you have forgotten the password, then you can change your password by clicking on update password button.
{% endhint %}
