> For the complete documentation index, see [llms.txt](https://docs.klai.studio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.klai.studio/engineering-reference-docs/bf-enterprise-documentation/fm-credentials-helper-file.md).

# FM Credentials - Helper file

In order to enter the credentials that will be used to connect to your Helper file, you need to login into the enterprise file and use the UI to download the data from the cloud to your local enterprise file.

Once you have all records saved locally, you should have a connection record for each environment that was downloaded. Find the record that needs to be set the credentials in the <mark style="color:red;">`Connections`</mark> layout. The credentials will be added in the <mark style="color:red;">`serverJSON`</mark> field under the key <mark style="color:red;">`vault`</mark>, now make sure it’s under <mark style="color:red;">`vault`</mark> and not <mark style="color:red;">`oauth.vault`</mark>.

As shown in the image below, you should have a <mark style="color:red;">`vault`</mark> key with an empty object.

<figure><img src="/files/04FYEOsygxzX44nIId9Y" alt=""><figcaption></figcaption></figure>

Add your credentials as an object as follows.

```json
{"username": "FM_USERNAME", "password": "FM_PASSWORD"}
```

If that still returns an error saying that “FileMaker Helper Credentials missing database name or user or password”, then add <mark style="color:red;">`username`</mark> and <mark style="color:red;">`password`</mark> to root path. In this case, the <mark style="color:red;">`serverJSON`</mark> object would look like

```json
{
  "active": true,
  "apiKey": "BFAPI_XXXXXXX",
  "commonHookSetName": "app",
  "database": "BetterForms_Helper",
  "domains": ["your.app.domain"],
  "gateway": "DAPI",
  "hostAddress": "your.host.address",
  "id": "SV_YYYYYYY",
  "isDevMode": true,
  "oauth": {},
  "password": "YOUR-PASSWORD",
  "subDomain": "",
  "user": "BetterForms",
  "vault": {}
}
```
