# Setting up configuration

{% hint style="info" %}
API crentials can be issued by Ledger support team representatives
{% endhint %}

To set up Ledger integration you will need need to add "ledger" type settings object to an array of settings.

Here is an example of the setting:

```json
[
  {
    "type": "ledger",
    "settings": {
      "env": "environment-in-ledger",
      "scope": "auth/your-tenant-name",
      "tenant": "your-tenant-name",
      "clientId": "your-client-id",
      "clientSecret": "your-client-secret",
      "brokerShortName": "your-broker-name" // optional
    }
  },
  // other existing settings here
]
```

Settings description:

| Setting         | Type   | Description                                                                 |
| --------------- | ------ | --------------------------------------------------------------------------- |
| env             | string | enum; can be either "prod", "demo" or "beta"                                |
| scope           | string | scope is always your tenant name with a prefix of "auth/"                   |
| clientId        | string | issued by Ledger                                                            |
| clientSecret    | string | issued by Ledger                                                            |
| brokerShortName | string | optional; set it only if you wish to create quote under one specific broker |
