# 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 %}


---

# 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://instantor.gitbook.io/instantor-api-docs/javascript-api/.frameparam.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.
