# Setup and Configuration

{% hint style="danger" %}

### <mark style="color:red;">Warning</mark>

Complete all steps below before activating payment method :

1. [<mark style="color:blue;">Get your configuration data</mark>](#step-1-get-your-configuration-data)
2. [<mark style="color:blue;">Configure your plugin</mark>](#step-2-configure-your-plugin)
3. [<mark style="color:blue;">Configure your payment processor</mark>](#step-3-configure-your-payment-processor)
4. [<mark style="color:blue;">Optional customizations</mark>](#step-4-optional-customizations)
   {% endhint %}

## Step 1 - Get your configuration data

Once your service is active and your plugin is installed and enabled, you can find configuration in the CoinbarPay Service Management Panel.\
\
For E-COM Plugin version you will get&#x20;

* <mark style="color:blue;">`SERVICE_CLIENT_ID`</mark> (STORE\_ID)\
  -This is your id reference, You can find this detail on your Business Manager.&#x20;
* <mark style="color:blue;">`APIKEY`</mark>\
  -This is you public apy key, this is the first part of a classic api key pair. Also called public key
* <mark style="color:blue;">`SECRETKEY`</mark>\
  \- Second part of api key pair, it is necessary to make correct call with server

## Step 2 - Configure your plugin

Configure your plugin filling the fields :

* <mark style="color:blue;">`SERVICE_CLIENT_ID`</mark>
* <mark style="color:blue;">`APIKEY`</mark>
* <mark style="color:blue;">`SECRETKEY`</mark>

<figure><img src="/files/5R2NXirSgHLXC50HxHZJ" alt=""><figcaption></figcaption></figure>

## Step 3 - Configure your payment processor

{% hint style="danger" %}

### <mark style="color:red;">Warning</mark>

This step is very important to let plugin works regulary
{% endhint %}

Copy <mark style="color:blue;">Back-end Callback URL</mark> from the Plugin Page, and paste it into the <mark style="color:blue;">`CALL_BACK_URL`</mark> in the CoinbarPay Management Panel.&#x20;

## Step 4 - Optional / Customizations

Here below you can see:&#x20;

* <mark style="color:blue;">**Method Title:**</mark> You can change the payment system title.
* <mark style="color:blue;">**Customer Message:**</mark> Any additional message that you want to show below CoinbarPay payment solution
* <mark style="color:blue;">**Make Text Box required:**</mark> you set up as mandatory the text field
* <mark style="color:blue;">**Hide Text box:**</mark> you can hide the text box for customer
* <mark style="color:blue;">**Order Status after the Checkout:**</mark> setup the best order status after checkout if this gateway is used

{% hint style="info" %}
We recommend keeping the variables "as-is"
{% endhint %}

<figure><img src="/files/6dvfG9TFcQPTGyny7Kzk" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.coinbar.io/e-commerce-plugins/setup-and-configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
