> 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/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 OKP 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/7aIgg5dys0yN8otrASQq/blobs/9eVwH61x4tG4GtXF5Qps/WooCommerce%20%3E%20Settings.png)

2. Then go to **Payments** and you will see **onekeypayments Checkout** on the method list. Click it to configure <br>

   <div data-full-width="false"><figure><img src="https://1595349702-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7aIgg5dys0yN8otrASQq%2Fuploads%2FI63a7bluqplSVnjyOWo7%2FPayments%20_%20OKP%20Checkout.png?alt=media&amp;token=e95d902a-7b39-437b-af28-190fd0e3e480" alt=""><figcaption></figcaption></figure></div>

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://1595349702-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7aIgg5dys0yN8otrASQq%2Fuploads%2FpaJNupquwE0lUIOVpIA0%2Fplugin%20configuration%20OKP.jpg?alt=media&amp;token=d85e1aaa-38fb-48b8-9047-56c282d960cd" alt=""><figcaption></figcaption></figure>
