> For the complete documentation index, see [llms.txt](https://instantor.gitbook.io/instantor-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://instantor.gitbook.io/instantor-api-docs/javascript-api/.frameparam.md).

# Pre-select a bank

The **frameParam** method is an **optional** method used for altering the behaviour of the Instantor Widget.

```javascript
instantor.frameParam(key, value)
```

| Argument                      | Description              |
| ----------------------------- | ------------------------ |
| **key** (string)              | Widget Information key   |
| **value** (string \| boolean) | Widget Information value |

### Available key-value pairs

| Key                 | Effect                                                                                                                                                                                                                                              |
| ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **debug** (bool)    | If set to true, all events are logged to console. Default is **false**.                                                                                                                                                                             |
| **bankID** (string) | This method is used for loading the Instantor Widget with a bank preselected, omitting the step which requires the customer to choose a bank. Providing an incorrect bankID fails silently and the bank-chooser component is displayed as fallback. |

### Example

```javascript
const instantor = new Instantor('produktKey.de');
  
/* Set user-specific parameters */
instantor.frameParam('bankID', '4242');

instantor.load('#instantor_div');
```

{% hint style="info" %}
Ask our tech support to provide the bankIDs for the banks you require.
{% endhint %}
