> For the complete documentation index, see [llms.txt](https://apidocs.onekeypayments.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidocs.onekeypayments.com/guides/deposits/solutions/plugins/woocommerce/configuration.md).

# Configuration

If you have installed the plugin, follow this steps and tips to have it up and running!

#### Brief explanation

In OneKey we provide two environments to our clients, **Staging** and **Production**. Each one with its own set of credentials.

* With your **Staging** credentials you will be able to test the different payment methods and flows with mocked information that simulates real payments, risk free.
* With your **Production** credentials, you will be using real-life gateways and payment information, therefore users will be capable to pay!

## Step-by-step

1. &#x20;In the left-hand menu go to **Woocommerce** > **Settings**.\
   ![](https://content.gitbook.com/content/NmmYRmGEpduaZ8YTyKQQ/blobs/q5kAtm1gX80ubR4R3DAb/WooCommerce%20%3E%20Settings.png)
2. Then go to **Payments** and you will see **OneKey Payments Checkout** on the method list. Click it to configure :smile:

<figure><img src="https://2745084985-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNmmYRmGEpduaZ8YTyKQQ%2Fuploads%2FWpLYgPEDtczGZelmaqug%2Fimage.png?alt=media&amp;token=8a7cf163-90e6-467e-b6a8-5c20f40503ab" alt=""><figcaption></figcaption></figure>

3. In the plugin configuration you will find four sections: ***Environment selection***, ***Staging credentials***, ***Production credentials*** and ***Configuration.***

* ***Environment selection:*** in this section you will be capable to select which environment you want to use at your checkout.\
  :warning:Please use Staging for testing purposes ***only***.
* ***Staging credentials***: this are your Staging environment keys, you can fetch them by logging into the [STG Merchant Panel](https://merchants-stg.onekeypayments.com/), and going into **Settings** >**API Access** > **Deposit credentials** \
  :information\_source:*Make sure to whitelist the IPs in which your WooCommerce site is hosted. You can do so by adding the IPs in the list that is below the credentials.*
* ***Production credentials***: instructions are the same as for *Staging credentials* but in our production environment.
* ***Configuration***: finally in this section you get to choose if you want to enable/disable the plugins and the auto-complete functionality.

4. Lastly, make sure to **Save changes** and yo are good to start using OKP's plugin! :rocket:

<figure><img src="https://2745084985-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNmmYRmGEpduaZ8YTyKQQ%2Fuploads%2FYfX8N7QZ9wGmDxm5Di3Y%2Fimage.png?alt=media&amp;token=28f4ba8a-743c-4cac-8faa-73d4eff6bd69" alt=""><figcaption></figcaption></figure>
