> For the complete documentation index, see [llms.txt](https://docs.one-cp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.one-cp.com/integration-and-development/1-cp-corporate-checkout-api/quick-start-guide.md).

# 🏃‍♂️ Quick Start Guide

{% tabs %}
{% tab title="1. Get Credentials" %}

1. Log into your 1-CP dashboard
2. Navigate to **API Settings**
3. Generate or retrieve your:
   * **Widget ID** (your username)
   * **Backend Secret** (your password)
4. Save these credentials securely
   {% endtab %}

{% tab title="2. Test Connection" %}

```bash
curl -X GET "https://api.1-cp.io/status" \
  -H "Authorization: Basic $(echo -n 'widget_id:backend_secret' | base64)"
```

Expected response:

```json
{
    "status": "ready",
    "provider": "your_provider_id"
}
```

{% endtab %}

{% tab title="3. Create Transaction" %}

```bash
curl -X POST "https://api.1-cp.io/initialize" \
  -H "Authorization: Basic $(echo -n 'widget_id:backend_secret' | base64)" \
  -H "Content-Type: application/json" \
  -d @transaction.json
```

See the transaction examples below for sample payloads.
{% endtab %}
{% endtabs %}
